[2.0.0] - August 27, 2020
- Add SDK key validation configuration
- Reject request with invalid host (excluding port)
- Block content type other than application/json
- Introducing support for authenticated datafiles
Breaking Changes
- Reject requests with invalid hosts, and introduce server.allowedHosts
configuration property
- Agent will now reject the request if the content-type is not specified from the clients
- Add Host as a configurable item
- Previously, Agent was listening on all interfaces, and did not allow configuring the network interface that it listens on. NewServer allowed specification of a port to listen on, but not an address.
- Now, we have added configurable HOST, with the default value set to the localhost (127.0.0.1)
- If there is a need to deploy Agent in docker, then the Host needs to be set to 0.0.0.0. This can be achieved by setting variable OPTIMIZELY_SERVER_HOST=0.0.0.0
, or setting server.host
to 0.0.0.0 in config file.
https://github.com/optimizely/agent/releases/tag/v2.0.0
Article is closed for comments.