Skip to content

Commit a37a891

Browse files
authored
chore: Add release-please (#94)
* chore: Add release-please * add py3.12
1 parent 0a11db5 commit a37a891

7 files changed

+406
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Pypi Package
1+
name: Publish PyPI Package
22

33
on:
44
push:

.github/workflows/pull-request.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Pull Request
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
conventional-commit:
8+
name: Conventional Commit
9+
runs-on: ubuntu-latest
10+
permissions:
11+
pull-requests: write
12+
steps:
13+
- name: Check PR Conventional Commit title
14+
uses: amannn/action-semantic-pull-request@v5
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
with:
18+
types: | # mirrors changelog-sections in the /release-please-config.json
19+
feat
20+
fix
21+
ci
22+
docs
23+
deps
24+
refactor
25+
test
26+
chore
27+
- name: Auto-label PR with Conventional Commit title
28+
uses: kramen22/conventional-release-labels@v1
29+
with:
30+
type_labels: |
31+
{
32+
"feat": "feature",
33+
"fix": "fix",
34+
"ci": "ci-cd",
35+
"docs": "docs",
36+
"deps": "dependencies",
37+
"perf": "performance",
38+
"refactor": "refactor",
39+
"test": "testing",
40+
"chore": "chore"
41+
}
42+
ignored_types: '[]'

.github/workflows/pytest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run Tests
1+
name: Tests
22

33
on:
44
pull_request:
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
strategy:
14-
max-parallel: 4
14+
max-parallel: 5
1515
matrix:
16-
python-version: ['3.8', '3.9', '3.10', '3.11']
16+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
1717

1818
steps:
1919
- name: Cloning repo

.github/workflows/release-please.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Update release PR
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}
19+
release-type: simple

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "3.7.0"
3+
}

CHANGELOG.md

Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
# Changelog
2+
3+
<a name="v3.7.0"></a>
4+
5+
## [v3.7.0](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.7.0) - 17 Jul 2024
6+
7+
### What's Changed
8+
9+
- Bump black from 23.12.1 to 24.3.0 by [@dependabot](https://github.com/dependabot) in
10+
https://github.com/Flagsmith/flagsmith-python-client/pull/81
11+
- chore: update github actions by [@dabeeeenster](https://github.com/dabeeeenster) in
12+
https://github.com/Flagsmith/flagsmith-python-client/pull/82
13+
- Remove pytz and replace usage with core python modules by [@MerijnBol](https://github.com/MerijnBol) in
14+
https://github.com/Flagsmith/flagsmith-python-client/pull/80
15+
- docs: misc README improvements by [@rolodato](https://github.com/rolodato) in
16+
https://github.com/Flagsmith/flagsmith-python-client/pull/84
17+
- Bump idna from 3.6 to 3.7 by [@dependabot](https://github.com/dependabot) in
18+
https://github.com/Flagsmith/flagsmith-python-client/pull/83
19+
- Bump requests from 2.31.0 to 2.32.0 by [@dependabot](https://github.com/dependabot) in
20+
https://github.com/Flagsmith/flagsmith-python-client/pull/85
21+
- Bump urllib3 from 2.2.1 to 2.2.2 by [@dependabot](https://github.com/dependabot) in
22+
https://github.com/Flagsmith/flagsmith-python-client/pull/87
23+
- Bump certifi from 2024.2.2 to 2024.7.4 by [@dependabot](https://github.com/dependabot) in
24+
https://github.com/Flagsmith/flagsmith-python-client/pull/89
25+
- Bump setuptools from 69.1.1 to 70.0.0 by [@dependabot](https://github.com/dependabot) in
26+
https://github.com/Flagsmith/flagsmith-python-client/pull/90
27+
- fix: Add a custom exception for invalid features by [@tushar5526](https://github.com/tushar5526) in
28+
https://github.com/Flagsmith/flagsmith-python-client/pull/86
29+
- chore: Bump package, fix README by [@khvn26](https://github.com/khvn26) in
30+
https://github.com/Flagsmith/flagsmith-python-client/pull/92
31+
32+
### New Contributors
33+
34+
- [@MerijnBol](https://github.com/MerijnBol) made their first contribution in
35+
https://github.com/Flagsmith/flagsmith-python-client/pull/80
36+
- [@rolodato](https://github.com/rolodato) made their first contribution in
37+
https://github.com/Flagsmith/flagsmith-python-client/pull/84
38+
39+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.6.0...v3.7.0
40+
41+
[Changes][v3.7.0]
42+
43+
<a name="v3.6.0"></a>
44+
45+
## [v3.6.0](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.6.0) - 14 Mar 2024
46+
47+
### What's Changed
48+
49+
- [##61](https://github.com/Flagsmith/flagsmith-python-client/issues/61) SSE streaming manager by
50+
[@bne](https://github.com/bne) in https://github.com/Flagsmith/flagsmith-python-client/pull/73
51+
- chore: remove examples by [@dabeeeenster](https://github.com/dabeeeenster) in
52+
https://github.com/Flagsmith/flagsmith-python-client/pull/75
53+
- feat: Add identity overrides to local evaluation mode by [@khvn26](https://github.com/khvn26) in
54+
https://github.com/Flagsmith/flagsmith-python-client/pull/72
55+
- feat: strict typing by [@tushar5526](https://github.com/tushar5526) in
56+
https://github.com/Flagsmith/flagsmith-python-client/pull/70 and
57+
https://github.com/Flagsmith/flagsmith-python-client/pull/71
58+
- ci: run pytest on push to main by [@matthewelwell](https://github.com/matthewelwell) in
59+
https://github.com/Flagsmith/flagsmith-python-client/pull/78
60+
- fix: Set the environment for local evaluation mode on init by [@zachaysan](https://github.com/zachaysan) in
61+
https://github.com/Flagsmith/flagsmith-python-client/pull/76
62+
- chore: version bump to 3.6.0 by [@matthewelwell](https://github.com/matthewelwell) in
63+
https://github.com/Flagsmith/flagsmith-python-client/pull/79
64+
65+
### New Contributors
66+
67+
- [@tushar5526](https://github.com/tushar5526) made their first contribution in
68+
https://github.com/Flagsmith/flagsmith-python-client/pull/71
69+
- [@bne](https://github.com/bne) made their first contribution in
70+
https://github.com/Flagsmith/flagsmith-python-client/pull/73
71+
- [@zachaysan](https://github.com/zachaysan) made their first contribution in
72+
https://github.com/Flagsmith/flagsmith-python-client/pull/76
73+
74+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.5.0...v3.6.0
75+
76+
[Changes][v3.6.0]
77+
78+
<a name="v3.5.0"></a>
79+
80+
## [Version 3.5.0 (v3.5.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.5.0) - 23 Nov 2023
81+
82+
### Compatibility Notes
83+
84+
Flagsmith Python SDK 3.5.0 brings the new version of Flagsmith engine that depends on Pydantic V2. If you're still using
85+
Pydantic V1 in your project, consider doing one of the following:
86+
87+
- Change your `pydantic` imports to `pydantic.v1`.
88+
- Use the [bump-pydantic](https://github.com/pydantic/bump-pydantic) tool to migrate your code semi-automatically.
89+
90+
Refer to the [Pydantic V2 migration guide](https://docs.pydantic.dev/latest/migration/) for more info.
91+
92+
### What's Changed
93+
94+
- Bump `flagsmith-flag-engine` to 5.0.0 by [@khvn26](https://github.com/khvn26) in
95+
https://github.com/Flagsmith/flagsmith-python-client/pull/69
96+
- Ensure polling thread is resilient to errors and exceptions by [@goncalossilva](https://github.com/goncalossilva) in
97+
https://github.com/Flagsmith/flagsmith-python-client/pull/60
98+
- Bump certifi from 2023.5.7 to 2023.7.22 by [@dependabot](https://github.com/dependabot) in
99+
https://github.com/Flagsmith/flagsmith-python-client/pull/56
100+
- Bump urllib3 from 2.0.4 to 2.0.7 by [@dependabot](https://github.com/dependabot) in
101+
https://github.com/Flagsmith/flagsmith-python-client/pull/64
102+
103+
### New Contributors
104+
105+
- [@goncalossilva](https://github.com/goncalossilva) made their first contribution in
106+
https://github.com/Flagsmith/flagsmith-python-client/pull/60
107+
108+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.4.0...v3.5.0
109+
110+
[Changes][v3.5.0]
111+
112+
<a name="v3.4.0"></a>
113+
114+
## [Version 3.4.0 (v3.4.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.4.0) - 31 Jul 2023
115+
116+
### What's Changed
117+
118+
- Implementation of offline mode (single client class) by [@matthewelwell](https://github.com/matthewelwell) in
119+
https://github.com/Flagsmith/flagsmith-python-client/pull/50
120+
121+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.3.0...v3.4.0
122+
123+
[Changes][v3.4.0]
124+
125+
<a name="v3.3.0"></a>
126+
127+
## [Version 3.3.0 (v3.3.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.3.0) - 27 Jul 2023
128+
129+
### What's Changed
130+
131+
- Update flag-engine by [@matthewelwell](https://github.com/matthewelwell) in
132+
https://github.com/Flagsmith/flagsmith-python-client/pull/49
133+
134+
### New Contributors
135+
136+
- [@khvn26](https://github.com/khvn26) made their first contribution in
137+
https://github.com/Flagsmith/flagsmith-python-client/pull/52
138+
139+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.2...v3.3.0
140+
141+
[Changes][v3.3.0]
142+
143+
<a name="v3.2.2"></a>
144+
145+
## [Version 3.2.2 (v3.2.2)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.2.2) - 07 Jul 2023
146+
147+
### What's Changed
148+
149+
- Use daemon argument to ensure that polling manager is killed by [@matthewelwell](https://github.com/matthewelwell) in
150+
https://github.com/Flagsmith/flagsmith-python-client/pull/47
151+
152+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.1...v3.2.2
153+
154+
[Changes][v3.2.2]
155+
156+
<a name="v3.2.1"></a>
157+
158+
## [Version 3.2.1 (v3.2.1)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.2.1) - 19 May 2023
159+
160+
### What's Changed
161+
162+
- Bump flask from 2.0.2 to 2.2.5 in /example by [@dependabot](https://github.com/dependabot) in
163+
https://github.com/Flagsmith/flagsmith-python-client/pull/44
164+
- Bump certifi from 2021.10.8 to 2022.12.7 by [@dependabot](https://github.com/dependabot) in
165+
https://github.com/Flagsmith/flagsmith-python-client/pull/36
166+
- improvement/general-housekeeping by [@dabeeeenster](https://github.com/dabeeeenster) in
167+
https://github.com/Flagsmith/flagsmith-python-client/pull/43
168+
- chore/bump-version by [@dabeeeenster](https://github.com/dabeeeenster) in
169+
https://github.com/Flagsmith/flagsmith-python-client/pull/45
170+
171+
### New Contributors
172+
173+
- [@dependabot](https://github.com/dependabot) made their first contribution in
174+
https://github.com/Flagsmith/flagsmith-python-client/pull/44
175+
176+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.0...v3.2.1
177+
178+
[Changes][v3.2.1]
179+
180+
<a name="v3.2.0"></a>
181+
182+
## [Version 3.2.0 (v3.2.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.2.0) - 13 Jan 2023
183+
184+
### What's Changed
185+
186+
- Add proxies option to Flagsmith by [@matthewelwell](https://github.com/matthewelwell) in
187+
https://github.com/Flagsmith/flagsmith-python-client/pull/39
188+
- Release 3.2.0 by [@matthewelwell](https://github.com/matthewelwell) in
189+
https://github.com/Flagsmith/flagsmith-python-client/pull/38
190+
191+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.1.0...v3.2.0
192+
193+
[Changes][v3.2.0]
194+
195+
<a name="v3.1.0"></a>
196+
197+
## [Version 3.1.0 (v3.1.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.1.0) - 01 Nov 2022
198+
199+
### What's Changed
200+
201+
- Upgrade engine (2.3.0) by [@matthewelwell](https://github.com/matthewelwell) in
202+
https://github.com/Flagsmith/flagsmith-python-client/pull/34
203+
- Release 3.1.0 by [@matthewelwell](https://github.com/matthewelwell) in
204+
https://github.com/Flagsmith/flagsmith-python-client/pull/33
205+
206+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.1...v3.1.0
207+
208+
[Changes][v3.1.0]
209+
210+
<a name="v3.0.1"></a>
211+
212+
## [Version 3.0.1 (v3.0.1)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.0.1) - 13 Jul 2022
213+
214+
### What's Changed
215+
216+
- Use feature name instead of feature id by [@matthewelwell](https://github.com/matthewelwell) in
217+
https://github.com/Flagsmith/flagsmith-python-client/pull/29
218+
- Release 3.0.1 by [@matthewelwell](https://github.com/matthewelwell) in
219+
https://github.com/Flagsmith/flagsmith-python-client/pull/30
220+
221+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.0...v3.0.1
222+
223+
[Changes][v3.0.1]
224+
225+
<a name="v3.0.0"></a>
226+
227+
## [Version 3.0.0 (v3.0.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.0.0) - 07 Jun 2022
228+
229+
### What's Changed
230+
231+
- Feature/rewrite for client side eval by [@matthewelwell](https://github.com/matthewelwell) in
232+
https://github.com/Flagsmith/flagsmith-python-client/pull/17
233+
- Refactor default flag logic by [@matthewelwell](https://github.com/matthewelwell) in
234+
https://github.com/Flagsmith/flagsmith-python-client/pull/22
235+
- Expose segments by [@matthewelwell](https://github.com/matthewelwell) in
236+
https://github.com/Flagsmith/flagsmith-python-client/pull/24
237+
- Prevent initialisation with local evaluation without server key by [@matthewelwell](https://github.com/matthewelwell)
238+
in https://github.com/Flagsmith/flagsmith-python-client/pull/25
239+
- Update default url to point to edge by [@matthewelwell](https://github.com/matthewelwell) in
240+
https://github.com/Flagsmith/flagsmith-python-client/pull/27
241+
- Release 3.0.0 by [@matthewelwell](https://github.com/matthewelwell) in
242+
https://github.com/Flagsmith/flagsmith-python-client/pull/16
243+
244+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v1.0.1...v3.0.0
245+
246+
[Changes][v3.0.0]
247+
248+
<a name="v3.0.0-alpha.2"></a>
249+
250+
## [Version 3.0.0 alpha 2 (v3.0.0-alpha.2)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.0.0-alpha.2) - 30 May 2022
251+
252+
[Changes][v3.0.0-alpha.2]
253+
254+
<a name="v3.0.0-alpha.1"></a>
255+
256+
## [Version 3.0.0 - Alpha 1 (v3.0.0-alpha.1)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.0.0-alpha.1) - 17 May 2022
257+
258+
First alpha release of v3.0.0
259+
260+
[Changes][v3.0.0-alpha.1]
261+
262+
[v3.7.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.6.0...v3.7.0
263+
[v3.6.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.5.0...v3.6.0
264+
[v3.5.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.4.0...v3.5.0
265+
[v3.4.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.3.0...v3.4.0
266+
[v3.3.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.2...v3.3.0
267+
[v3.2.2]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.1...v3.2.2
268+
[v3.2.1]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.0...v3.2.1
269+
[v3.2.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.1.0...v3.2.0
270+
[v3.1.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.1...v3.1.0
271+
[v3.0.1]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.0...v3.0.1
272+
[v3.0.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.0-alpha.2...v3.0.0
273+
[v3.0.0-alpha.2]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.0-alpha.1...v3.0.0-alpha.2
274+
[v3.0.0-alpha.1]: https://github.com/Flagsmith/flagsmith-python-client/tree/v3.0.0-alpha.1
275+
276+
<!-- Generated by https://github.com/rhysd/changelog-from-release v3.7.2 -->

0 commit comments

Comments
 (0)