Skip to content

Commit d859094

Browse files
authored
Merge branch 'main' into jb/enable-full-config-copy
2 parents f31b59d + 5dc4f81 commit d859094

60 files changed

Lines changed: 6544 additions & 1425 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
20+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2121

2222
steps:
2323
- uses: actions/checkout@v4
@@ -40,6 +40,8 @@ jobs:
4040

4141
- name: Run tests
4242
run: make test-all
43+
env:
44+
LD_SKIP_FLAKY_TESTS: true
4345

4446
- name: Verify typehints
4547
run: make lint
@@ -54,10 +56,21 @@ jobs:
5456
- name: start contract test service
5557
run: make start-contract-test-service-bg
5658

57-
- uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
59+
- name: Run contract tests v2
60+
uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
5861
with:
5962
test_service_port: 9000
6063
token: ${{ secrets.GITHUB_TOKEN }}
64+
stop_service: "false"
65+
enable_persistence_tests: "true"
66+
67+
- name: Run contract tests v3
68+
uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
69+
with:
70+
test_service_port: 9000
71+
token: ${{ secrets.GITHUB_TOKEN }}
72+
version: v3.0.0-alpha.3
73+
enable_persistence_tests: "true"
6174

6275
windows:
6376
runs-on: windows-latest
@@ -69,7 +82,7 @@ jobs:
6982
strategy:
7083
fail-fast: false
7184
matrix:
72-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
85+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
7386

7487
steps:
7588
- uses: actions/checkout@v4
@@ -92,3 +105,5 @@ jobs:
92105

93106
- name: Run tests
94107
run: make test-all
108+
env:
109+
LD_SKIP_FLAKY_TESTS: true

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: 3.9
24+
python-version: "3.10"
2525

2626
- name: Install poetry
2727
uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/setup-python@v5
2828
if: ${{ steps.release.outputs.releases_created == 'true' }}
2929
with:
30-
python-version: 3.9
30+
python-version: "3.10"
3131

3232
- name: Install poetry
3333
if: ${{ steps.release.outputs.releases_created == 'true' }}

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "9.12.0"
2+
".": "9.14.1"
33
}

.sdk_metadata.json

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,39 @@
77
"languages": [
88
"Python"
99
],
10-
"userAgents": ["PythonClient"]
10+
"userAgents": ["PythonClient"],
11+
"features": {
12+
"allFlags": { "introduced": "2.0" },
13+
"appMetadata": { "introduced": "7.6" },
14+
"bigSegments": { "introduced": "7.3" },
15+
"contexts": { "introduced": "8.0" },
16+
"eventCompression": { "introduced": "9.5" },
17+
"experimentation": { "introduced": "7.2" },
18+
"fdv2": { "introduced": "9.13" },
19+
"fileDataSource": { "introduced": "6.6" },
20+
"flagChanges": { "introduced": "9.1" },
21+
"hooks": { "introduced": "9.4" },
22+
"inlineContextCustomEvents": { "introduced": "9.10" },
23+
"inlineContextEvaluationEvents": { "introduced": "9.3" },
24+
"migrations": { "introduced": "9.0" },
25+
"offlineMode": { "introduced": "2.0" },
26+
"omitAnonContexts": { "introduced": "9.7" },
27+
"otel": { "introduced": "9.4" },
28+
"pluginSupport": { "introduced": "9.12" },
29+
"pollingResponseCompression": { "introduced": "9.2" },
30+
"privateAttrs": { "introduced": "4.1" },
31+
"relayProxyDaemon": { "introduced": "2.0" },
32+
"relayProxyProxy": { "introduced": "2.0" },
33+
"secureMode": { "introduced": "2.0" },
34+
"storingData": { "introduced": "2.0" },
35+
"storingDataConsul": { "introduced": "2.0" },
36+
"storingDataDynamodb": { "introduced": "6.7" },
37+
"storingDataRedis": { "introduced": "2.0" },
38+
"testDataSource": { "introduced": "7.4" },
39+
"track": { "introduced": "2.0" },
40+
"variationDetail": { "introduced": "6.4" },
41+
"webProxy": { "introduced": "2.0" }
42+
}
1143
}
1244
}
1345
}

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,62 @@
22

33
All notable changes to the LaunchDarkly Python SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [9.14.1](https://github.com/launchdarkly/python-server-sdk/compare/9.14.0...9.14.1) (2025-12-15)
6+
7+
8+
### Bug Fixes
9+
10+
* Remove all synchronizers in daemon mode ([#388](https://github.com/launchdarkly/python-server-sdk/issues/388)) ([441a5ec](https://github.com/launchdarkly/python-server-sdk/commit/441a5ecb3d3f1428801c44b875b32ef396df2fa3))
11+
12+
## [9.14.0](https://github.com/launchdarkly/python-server-sdk/compare/9.13.1...9.14.0) (2025-12-04)
13+
14+
15+
### Features
16+
17+
* adding data system option to create file datasource intializer ([e5b121f](https://github.com/launchdarkly/python-server-sdk/commit/e5b121f92a09fcaf717f88b426348798961ab62e))
18+
* adding file data source as an intializer ([#381](https://github.com/launchdarkly/python-server-sdk/issues/381)) ([3700d1d](https://github.com/launchdarkly/python-server-sdk/commit/3700d1ddd9ef6c7a505ec24783c71753cea89abb))
19+
20+
21+
### Bug Fixes
22+
23+
* Add warning if relying on Redis `max_connections` parameter ([#387](https://github.com/launchdarkly/python-server-sdk/issues/387)) ([e6395fa](https://github.com/launchdarkly/python-server-sdk/commit/e6395fa5316bef1c0d2829b4cc4b655fece8b8ea)), closes [#386](https://github.com/launchdarkly/python-server-sdk/issues/386)
24+
* modified initializer behavior to spec ([064f65c](https://github.com/launchdarkly/python-server-sdk/commit/064f65c76135c385a6fdcb0209caa0e7a8cf872c))
25+
26+
## [9.13.1](https://github.com/launchdarkly/python-server-sdk/compare/9.13.0...9.13.1) (2025-11-19)
27+
28+
29+
### Bug Fixes
30+
31+
* Include ldclient.datasystem in docs ([#379](https://github.com/launchdarkly/python-server-sdk/issues/379)) ([318c6fe](https://github.com/launchdarkly/python-server-sdk/commit/318c6fea0738d296713768afc8e08ee9b2360dc2))
32+
33+
## [9.13.0](https://github.com/launchdarkly/python-server-sdk/compare/9.12.3...9.13.0) (2025-11-19)
34+
35+
36+
### Features
37+
38+
* **experimental:** Release EAP support for FDv2 data system ([#376](https://github.com/launchdarkly/python-server-sdk/issues/376)) ([0e7c32b](https://github.com/launchdarkly/python-server-sdk/commit/0e7c32b4df12daef25e9b2e9b637225c3e74a2dd))
39+
40+
## [9.12.3](https://github.com/launchdarkly/python-server-sdk/compare/9.12.2...9.12.3) (2025-10-30)
41+
42+
43+
### Bug Fixes
44+
45+
* Fix overly generic type hint on File data source ([#365](https://github.com/launchdarkly/python-server-sdk/issues/365)) ([52a7499](https://github.com/launchdarkly/python-server-sdk/commit/52a7499f7cf1d4311f89fa98e65bca670e127aa6)), closes [#364](https://github.com/launchdarkly/python-server-sdk/issues/364)
46+
47+
## [9.12.2](https://github.com/launchdarkly/python-server-sdk/compare/9.12.1...9.12.2) (2025-10-27)
48+
49+
50+
### Bug Fixes
51+
52+
* Fix incorrect event count in failure message ([#359](https://github.com/launchdarkly/python-server-sdk/issues/359)) ([91f4163](https://github.com/launchdarkly/python-server-sdk/commit/91f416329bd3e53a622ce58caa63cdd6cdcc8896))
53+
54+
## [9.12.1](https://github.com/launchdarkly/python-server-sdk/compare/9.12.0...9.12.1) (2025-09-30)
55+
56+
57+
### Bug Fixes
58+
59+
* Add validation format check for SDK key ([#351](https://github.com/launchdarkly/python-server-sdk/issues/351))
60+
561
## [9.12.0](https://github.com/launchdarkly/python-server-sdk/compare/9.11.1...9.12.0) (2025-07-11)
662

763

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ test-all: install
3838
.PHONY: lint
3939
lint: #! Run type analysis and linting checks
4040
lint: install
41+
@mkdir -p .mypy_cache
4142
@poetry run mypy ldclient
4243
@poetry run isort --check --atomic ldclient contract-tests
4344
@poetry run pycodestyle ldclient contract-tests

PROVENANCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To verify SLSA provenance attestations, we recommend using [slsa-verifier](https
99
<!-- x-release-please-start-version -->
1010
```
1111
# Set the version of the SDK to verify
12-
SDK_VERSION=9.12.0
12+
SDK_VERSION=9.14.1
1313
```
1414
<!-- x-release-please-end -->
1515

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## Supported Python versions
1616

17-
This version of the LaunchDarkly SDK is compatible with Python 3.9+.
17+
This version of the LaunchDarkly SDK is compatible with Python 3.10+.
1818

1919
## Getting started
2020

0 commit comments

Comments
 (0)