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

chore: Add release-please #94

Merged
merged 3 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Pypi Package
name: Publish PyPI Package

on:
push:
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Pull Request

on:
pull_request:

jobs:
conventional-commit:
name: Conventional Commit
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Check PR Conventional Commit title
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: | # mirrors changelog-sections in the /release-please-config.json
feat
fix
ci
docs
deps
refactor
test
chore
- name: Auto-label PR with Conventional Commit title
uses: kramen22/conventional-release-labels@v1
with:
type_labels: |
{
"feat": "feature",
"fix": "fix",
"ci": "ci-cd",
"docs": "docs",
"deps": "dependencies",
"perf": "performance",
"refactor": "refactor",
"test": "testing",
"chore": "chore"
}
ignored_types: '[]'
6 changes: 3 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Tests
name: Tests

on:
pull_request:
Expand All @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest

strategy:
max-parallel: 4
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- name: Cloning repo
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Update release PR

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}
release-type: simple
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "3.7.0"
}
276 changes: 276 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
# Changelog

<a name="v3.7.0"></a>

## [v3.7.0](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.7.0) - 17 Jul 2024

### What's Changed

- Bump black from 23.12.1 to 24.3.0 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/81
- chore: update github actions by [@dabeeeenster](https://github.com/dabeeeenster) in
https://github.com/Flagsmith/flagsmith-python-client/pull/82
- Remove pytz and replace usage with core python modules by [@MerijnBol](https://github.com/MerijnBol) in
https://github.com/Flagsmith/flagsmith-python-client/pull/80
- docs: misc README improvements by [@rolodato](https://github.com/rolodato) in
https://github.com/Flagsmith/flagsmith-python-client/pull/84
- Bump idna from 3.6 to 3.7 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/83
- Bump requests from 2.31.0 to 2.32.0 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/85
- Bump urllib3 from 2.2.1 to 2.2.2 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/87
- Bump certifi from 2024.2.2 to 2024.7.4 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/89
- Bump setuptools from 69.1.1 to 70.0.0 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/90
- fix: Add a custom exception for invalid features by [@tushar5526](https://github.com/tushar5526) in
https://github.com/Flagsmith/flagsmith-python-client/pull/86
- chore: Bump package, fix README by [@khvn26](https://github.com/khvn26) in
https://github.com/Flagsmith/flagsmith-python-client/pull/92

### New Contributors

- [@MerijnBol](https://github.com/MerijnBol) made their first contribution in
https://github.com/Flagsmith/flagsmith-python-client/pull/80
- [@rolodato](https://github.com/rolodato) made their first contribution in
https://github.com/Flagsmith/flagsmith-python-client/pull/84

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.6.0...v3.7.0

[Changes][v3.7.0]

<a name="v3.6.0"></a>

## [v3.6.0](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.6.0) - 14 Mar 2024

### What's Changed

- [##61](https://github.com/Flagsmith/flagsmith-python-client/issues/61) SSE streaming manager by
[@bne](https://github.com/bne) in https://github.com/Flagsmith/flagsmith-python-client/pull/73
- chore: remove examples by [@dabeeeenster](https://github.com/dabeeeenster) in
https://github.com/Flagsmith/flagsmith-python-client/pull/75
- feat: Add identity overrides to local evaluation mode by [@khvn26](https://github.com/khvn26) in
https://github.com/Flagsmith/flagsmith-python-client/pull/72
- feat: strict typing by [@tushar5526](https://github.com/tushar5526) in
https://github.com/Flagsmith/flagsmith-python-client/pull/70 and
https://github.com/Flagsmith/flagsmith-python-client/pull/71
- ci: run pytest on push to main by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/78
- fix: Set the environment for local evaluation mode on init by [@zachaysan](https://github.com/zachaysan) in
https://github.com/Flagsmith/flagsmith-python-client/pull/76
- chore: version bump to 3.6.0 by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/79

### New Contributors

- [@tushar5526](https://github.com/tushar5526) made their first contribution in
https://github.com/Flagsmith/flagsmith-python-client/pull/71
- [@bne](https://github.com/bne) made their first contribution in
https://github.com/Flagsmith/flagsmith-python-client/pull/73
- [@zachaysan](https://github.com/zachaysan) made their first contribution in
https://github.com/Flagsmith/flagsmith-python-client/pull/76

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.5.0...v3.6.0

[Changes][v3.6.0]

<a name="v3.5.0"></a>

## [Version 3.5.0 (v3.5.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.5.0) - 23 Nov 2023

### Compatibility Notes

Flagsmith Python SDK 3.5.0 brings the new version of Flagsmith engine that depends on Pydantic V2. If you're still using
Pydantic V1 in your project, consider doing one of the following:

- Change your `pydantic` imports to `pydantic.v1`.
- Use the [bump-pydantic](https://github.com/pydantic/bump-pydantic) tool to migrate your code semi-automatically.

Refer to the [Pydantic V2 migration guide](https://docs.pydantic.dev/latest/migration/) for more info.

### What's Changed

- Bump `flagsmith-flag-engine` to 5.0.0 by [@khvn26](https://github.com/khvn26) in
https://github.com/Flagsmith/flagsmith-python-client/pull/69
- Ensure polling thread is resilient to errors and exceptions by [@goncalossilva](https://github.com/goncalossilva) in
https://github.com/Flagsmith/flagsmith-python-client/pull/60
- Bump certifi from 2023.5.7 to 2023.7.22 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/56
- Bump urllib3 from 2.0.4 to 2.0.7 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/64

### New Contributors

- [@goncalossilva](https://github.com/goncalossilva) made their first contribution in
https://github.com/Flagsmith/flagsmith-python-client/pull/60

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.4.0...v3.5.0

[Changes][v3.5.0]

<a name="v3.4.0"></a>

## [Version 3.4.0 (v3.4.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.4.0) - 31 Jul 2023

### What's Changed

- Implementation of offline mode (single client class) by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/50

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.3.0...v3.4.0

[Changes][v3.4.0]

<a name="v3.3.0"></a>

## [Version 3.3.0 (v3.3.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.3.0) - 27 Jul 2023

### What's Changed

- Update flag-engine by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/49

### New Contributors

- [@khvn26](https://github.com/khvn26) made their first contribution in
https://github.com/Flagsmith/flagsmith-python-client/pull/52

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.2...v3.3.0

[Changes][v3.3.0]

<a name="v3.2.2"></a>

## [Version 3.2.2 (v3.2.2)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.2.2) - 07 Jul 2023

### What's Changed

- Use daemon argument to ensure that polling manager is killed by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/47

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.1...v3.2.2

[Changes][v3.2.2]

<a name="v3.2.1"></a>

## [Version 3.2.1 (v3.2.1)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.2.1) - 19 May 2023

### What's Changed

- Bump flask from 2.0.2 to 2.2.5 in /example by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/44
- Bump certifi from 2021.10.8 to 2022.12.7 by [@dependabot](https://github.com/dependabot) in
https://github.com/Flagsmith/flagsmith-python-client/pull/36
- improvement/general-housekeeping by [@dabeeeenster](https://github.com/dabeeeenster) in
https://github.com/Flagsmith/flagsmith-python-client/pull/43
- chore/bump-version by [@dabeeeenster](https://github.com/dabeeeenster) in
https://github.com/Flagsmith/flagsmith-python-client/pull/45

### New Contributors

- [@dependabot](https://github.com/dependabot) made their first contribution in
https://github.com/Flagsmith/flagsmith-python-client/pull/44

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.0...v3.2.1

[Changes][v3.2.1]

<a name="v3.2.0"></a>

## [Version 3.2.0 (v3.2.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.2.0) - 13 Jan 2023

### What's Changed

- Add proxies option to Flagsmith by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/39
- Release 3.2.0 by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/38

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.1.0...v3.2.0

[Changes][v3.2.0]

<a name="v3.1.0"></a>

## [Version 3.1.0 (v3.1.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.1.0) - 01 Nov 2022

### What's Changed

- Upgrade engine (2.3.0) by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/34
- Release 3.1.0 by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/33

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.1...v3.1.0

[Changes][v3.1.0]

<a name="v3.0.1"></a>

## [Version 3.0.1 (v3.0.1)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.0.1) - 13 Jul 2022

### What's Changed

- Use feature name instead of feature id by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/29
- Release 3.0.1 by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/30

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.0...v3.0.1

[Changes][v3.0.1]

<a name="v3.0.0"></a>

## [Version 3.0.0 (v3.0.0)](https://github.com/Flagsmith/flagsmith-python-client/releases/tag/v3.0.0) - 07 Jun 2022

### What's Changed

- Feature/rewrite for client side eval by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/17
- Refactor default flag logic by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/22
- Expose segments by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/24
- Prevent initialisation with local evaluation without server key by [@matthewelwell](https://github.com/matthewelwell)
in https://github.com/Flagsmith/flagsmith-python-client/pull/25
- Update default url to point to edge by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/27
- Release 3.0.0 by [@matthewelwell](https://github.com/matthewelwell) in
https://github.com/Flagsmith/flagsmith-python-client/pull/16

**Full Changelog**: https://github.com/Flagsmith/flagsmith-python-client/compare/v1.0.1...v3.0.0

[Changes][v3.0.0]

<a name="v3.0.0-alpha.2"></a>

## [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

[Changes][v3.0.0-alpha.2]

<a name="v3.0.0-alpha.1"></a>

## [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

First alpha release of v3.0.0

[Changes][v3.0.0-alpha.1]

[v3.7.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.6.0...v3.7.0
[v3.6.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.5.0...v3.6.0
[v3.5.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.4.0...v3.5.0
[v3.4.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.3.0...v3.4.0
[v3.3.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.2...v3.3.0
[v3.2.2]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.1...v3.2.2
[v3.2.1]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.2.0...v3.2.1
[v3.2.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.1.0...v3.2.0
[v3.1.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.1...v3.1.0
[v3.0.1]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.0...v3.0.1
[v3.0.0]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.0-alpha.2...v3.0.0
[v3.0.0-alpha.2]: https://github.com/Flagsmith/flagsmith-python-client/compare/v3.0.0-alpha.1...v3.0.0-alpha.2
[v3.0.0-alpha.1]: https://github.com/Flagsmith/flagsmith-python-client/tree/v3.0.0-alpha.1

<!-- Generated by https://github.com/rhysd/changelog-from-release v3.7.2 -->
Loading