File tree 4 files changed +6
-11
lines changed
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.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
- ## [ Unreleased ]
7
+ ## [ 2.1.0 ] - 2024-01-24
8
8
### Changed
9
9
- Uses flask ` before_request ` to protect all endpoints rather than protecting routes present at instantiation time
10
10
- 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
25
25
- Check the recent commits and PRs and add anything notable to the ` CHANGELOG.md ` file
26
26
- Bump the version number in ` dash_auth/version.py ` . Follow [ Semantic Versioning 2.0.0] ( https://semver.org/ )
27
27
- Create a PR and tag @chriddyp for review
28
- - Once reviewed, merge into master .
28
+ - Once reviewed, merge into main .
29
29
30
30
3 . ** Create a Python Build**
31
31
```
@@ -41,15 +41,14 @@ $ pip install twine
41
41
42
42
Then, upload to PyPI using Twine.
43
43
```
44
- $ twine upload dist/dash_auth-VERSION.tar.gz
44
+ $ twine upload dist/*
45
45
```
46
- Where ` VERSION ` refers to the version number of package. This file was created in Step 4.
47
46
48
47
5 . ** Git Tag**
49
48
Create a Git Tag with the version number:
50
49
```
51
50
git tag -a 'v0.1.0' -m 'v0.1.0'
52
- git push origin master --follow-tags
51
+ git push origin main --follow-tags
53
52
```
54
53
55
54
6 . ** Test it out**
@@ -58,8 +57,3 @@ Note that sometimes PyPI's servers take a few minutes for installations to be re
58
57
```
59
58
pip install dash-auth --upgrade
60
59
```
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 16
16
license = 'MIT' ,
17
17
description = 'Dash Authorization Package.' ,
18
18
long_description = long_description ,
19
+ long_description_content_type = "text/markdown" ,
19
20
install_requires = [
20
21
'dash>=1.1.1' ,
21
22
"flask" ,
You can’t perform that action at this time.
0 commit comments