Skip to content

Commit 03683a5

Browse files
committed
v2.1.0
1 parent 5e5dc5f commit 03683a5

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [2.1.0] - 2024-01-24
88
### Changed
99
- Uses flask `before_request` to protect all endpoints rather than protecting routes present at instantiation time
1010
- Allows user to use user-defined authorization python function instead of a dictionary/list of usernames and passwords

CONTRIBUTING.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ password:your_pypi_password
2525
- Check the recent commits and PRs and add anything notable to the `CHANGELOG.md` file
2626
- Bump the version number in `dash_auth/version.py`. Follow [Semantic Versioning 2.0.0](https://semver.org/)
2727
- Create a PR and tag @chriddyp for review
28-
- Once reviewed, merge into master.
28+
- Once reviewed, merge into main.
2929

3030
3. **Create a Python Build**
3131
```
@@ -41,15 +41,14 @@ $ pip install twine
4141

4242
Then, upload to PyPI using Twine.
4343
```
44-
$ twine upload dist/dash_auth-VERSION.tar.gz
44+
$ twine upload dist/*
4545
```
46-
Where `VERSION` refers to the version number of package. This file was created in Step 4.
4746

4847
5. **Git Tag**
4948
Create a Git Tag with the version number:
5049
```
5150
git tag -a 'v0.1.0' -m 'v0.1.0'
52-
git push origin master --follow-tags
51+
git push origin main --follow-tags
5352
```
5453

5554
6. **Test it out**
@@ -58,8 +57,3 @@ Note that sometimes PyPI's servers take a few minutes for installations to be re
5857
```
5958
pip install dash-auth --upgrade
6059
```
61-
62-
7. **Update the version number in `dopsa`**
63-
We fix the version number in [`dash-on-premise-sample-app`](https://github.com/plotly/dash-on-premise-sample-app/).
64-
65-
Create a PR to update that version in https://github.com/plotly/dash-on-premise-sample-app/blob/master/requirements.txt.

dash_auth/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.0.0'
1+
__version__ = '2.1.0'

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
license='MIT',
1717
description='Dash Authorization Package.',
1818
long_description=long_description,
19+
long_description_content_type="text/markdown",
1920
install_requires=[
2021
'dash>=1.1.1',
2122
"flask",

0 commit comments

Comments
 (0)