Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 7.5.0 release #177

Closed
wants to merge 450 commits into from
Closed

prepare 7.5.0 release #177

wants to merge 450 commits into from

Conversation

LaunchDarklyReleaseBot
Copy link
Contributor

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot commented Jun 15, 2022

[7.5.0] - 2022-06-15

Changed:

  • Removed upper version restriction on expiringdict. This was originally necessary to allow compatibility with older Python versions which are no longer supported.

eli-darkly and others added 30 commits October 28, 2019 13:48
fix broken indirect/patch request, add tests for feature requestor
fix autodoc options to exclude magic methods
(re)implement setting proxy URL by environment variable
add Python 3.8 CI build, and make syntax warnings fatal
eli-darkly and others added 26 commits February 14, 2022 10:42
…-types

misc fixes to test data docs + add type hints
# Conflicts:
#	ldclient/integrations/test_data.py
…ate-methods

remove some methods from the public test_data API
update CONTRIBUTING.md and provide make targets
…n start to avoid delays in TestData initialization
Our contract tests depend on flask v1, which in turn depends on Jinja 2.
Both of these are terribly dated and no longer supported.

Jinja depends on markupsafe. markupsafe recently updated its code to no longer provide
soft_unicode which in turn broke Jinja.

Updating to the latest flask keeps all transitive dependencies better
aligned and addresses this mismatch.
…-rule-builder-op-bugfix

Bugfix for FlagRuleBuilder evaluation internals
The test harness may send explicit None values which should be treated
the same as if the value was omitted entirely.
When we return a `('', 204)` response from the flask handler, [Werkzeug
intentionally removes the 'Content-Type' header][1], which causes the
response to be created as a chunked response.

The test harness is likely seeing a 204 response and isn't trying to
read anything more from the stream. But since we are re-using
connections, the next time it reads from the stream, it sees the
`0\r\n\r\n` chunk and outputs an error:

> 2022/04/20 14:23:39 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>

Changing this response to 202 causes Werkzeug to return an empty
response and silences the error.

[1]: https://github.com/pallets/werkzeug/blob/560dd5f320bff318175f209595d42f5a80045417/src/werkzeug/wrappers/response.py#L540
When calculating a bucket, we get the bucketable value from the
specified bucket by attribute. If this value is a string or an int, we
can use it. Otherwise, we return None.

Python considers a bool an instance of an int, which isn't what we want.
So we need to add an explicit exclusion for this.
…dardize-relay-proxy-in-daemon-mode-in

Adds link to Relay Proxy docs
Originally this was pinned to a max version to deal with the
incompatibility of Python 3.3 and the `typing` package. See [this
PR][1].

Now that we now only support >=3.5, we can safely relax this restriction
again.

[1]: launchdarkly/python-server-sdk-private#120
@keelerm84 keelerm84 requested a review from eli-darkly June 15, 2022 21:29
Copy link
Contributor

@eli-darkly eli-darkly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made an edit to the changelog text for clarity, but I also have another question I'd like to discuss internally.

@keelerm84 keelerm84 closed this Jun 16, 2022
@keelerm84 keelerm84 deleted the release-7.5.0 branch June 16, 2022 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.