File tree Expand file tree Collapse file tree 4 files changed +6
-11
lines changed
Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
55and 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
Original file line number Diff line number Diff 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
30303 . ** Create a Python Build**
3131```
@@ -41,15 +41,14 @@ $ pip install twine
4141
4242Then, 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
48475 . ** Git Tag**
4948Create a Git Tag with the version number:
5049```
5150git 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
55546 . ** Test it out**
@@ -58,8 +57,3 @@ Note that sometimes PyPI's servers take a few minutes for installations to be re
5857```
5958pip 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 .
Original file line number Diff line number Diff line change 1- __version__ = '2.0 .0'
1+ __version__ = '2.1 .0'
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments