Skip to content

Commit

Permalink
Merge pull request #187 from nezhar/prepare_release_140
Browse files Browse the repository at this point in the history
Updated CHANGELOG.md and workflows for 1.4.0 release
  • Loading branch information
nezhar authored Feb 9, 2024
2 parents 33dc8ca + 4874cd4 commit 1c69aea
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 53 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.10'
architecture: 'x64'

- name: Install dependencies
Expand Down
33 changes: 11 additions & 22 deletions .github/workflows/test-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,48 +22,37 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
django-version:
- "3.2"
- "4.0"
- "4.1"
- "4.2"
- "5.0"
drf-version:
- "3.12"
- "3.13"
- "3.14"
exclude:
- python-version: "3.7"
django-version: "4.0"
- python-version: "3.7"
django-version: "4.1"
- python-version: "3.7"
django-version: "4.2"
- drf-version: "3.12"
django-version: "4.0"
- drf-version: "3.12"
django-version: "4.1"
- drf-version: "3.12"
django-version: "4.2"
- drf-version: "3.13"
django-version: "4.2"
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"
- drf-version: "3.14"
python-version: "3.8"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install psycopg2-binary
python -m pip install psycopg2-binary setuptools
- name: Install Django version
run: |
Expand Down
33 changes: 11 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,37 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
django-version:
- "3.2"
- "4.0"
- "4.1"
- "4.2"
- "5.0"
drf-version:
- "3.12"
- "3.13"
- "3.14"
exclude:
- python-version: "3.7"
django-version: "4.0"
- python-version: "3.7"
django-version: "4.1"
- python-version: "3.7"
django-version: "4.2"
- drf-version: "3.12"
django-version: "4.0"
- drf-version: "3.12"
django-version: "4.1"
- drf-version: "3.12"
django-version: "4.2"
- drf-version: "3.13"
django-version: "4.2"
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"
- drf-version: "3.14"
python-version: "3.8"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 codecov
pip install flake8 codecov setuptools
- name: Lint with flake8
run: |
Expand Down
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,22 @@ PyPi: [https://pypi.org/project/django-rest-passwordreset/](https://pypi.org/pro

## [Unreleased]

## [1.4.0]

### Added
- `pre_password_reset` and `post_password_reset` signals now provide `reset_password_token
- Updated README test instructions
- Add translations to Brazilian Portuguese
- Possibility to return the username and email address when validating a token
- Generating and clearing tokens programmatically
- Support for Python 3.11, 3.12
- Support for Django 4.2, 5.0
- Support for DRF 3.14

### Changed
- Increase max_length of user_agent to 512
- Dropped support for Django 4.0, 4.1
- Dropped support for DRF 3.12, 3.13
- Dropped support for Python 3.7

## [1.3.0]

Expand Down Expand Up @@ -61,6 +75,7 @@ PyPi: [https://pypi.org/project/django-rest-passwordreset/](https://pypi.org/pro
## [0.9.0]
- Initial Release

[1.4.0]: https://github.com/anexia-it/django-rest-passwordreset/compare/1.3.0...1.4.0
[1.3.0]: https://github.com/anexia-it/django-rest-passwordreset/compare/1.2.1...1.3.0
[1.2.1]: https://github.com/anexia-it/django-rest-passwordreset/compare/1.2.0...1.2.1
[1.2.0]: https://github.com/anexia-it/django-rest-passwordreset/compare/1.1.0...1.2.0
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,11 @@ a matrix showing the guaranteed and tested compatibility.
django-rest-passwordreset Version | Django Versions | Django Rest Framework Versions | Python |
--------------------------------- |---------------------| ------------------------------ | ------ |
0.9.7 | 1.8, 1.11, 2.0, 2.1 | 3.6 - 3.9 | 2.7
1.0 | 1.11, 2.0, 2.2 | 3.6 - 3.9 | 2.7
1.1 | 1.11, 2.2 | 3.6 - 3.9 | 2.7
1.2 | 2.2, 3.0, 3.1 | 3.10, 3.11 | 3.5 - 3.8
1.3 | 3.2, 4.0, 4.1, 4.2 | 3.12, 3.13, 3.14 | 3.7 - 3.11

1.0 | 1.11, 2.0, 2.2 | 3.6 - 3.9 | 2.7
1.1 | 1.11, 2.2 | 3.6 - 3.9 | 2.7
1.2 | 2.2, 3.0, 3.1 | 3.10, 3.11 | 3.5 - 3.8
1.3 | 3.2, 4.0, 4.1 | 3.12, 3.13, 3.14 | 3.7 - 3.10
1.4 | 3.2, 4.2, 5.0 | 3.13, 3.14 | 3.8 - 3.12

## Documentation / Browsable API

Expand Down

0 comments on commit 1c69aea

Please sign in to comment.