v0.9.0
Features
- now uses alembic to up- or downgrade the database scheme
Please run the following after every update to make sure your database scheme is uptodate
alembic upgrade head
- #55 instead of one time token you can now set arbitrary amounts of usage per token via
-m, --maximum INTEGER times token can be used
- #38 new option in the config file to log IPs to the database
these are viewable by checking the status of individual token via the cli or web api
Fixes
- #58 by renaming
shared_secret
toregistration_shared_secret
and
admin_secret
toadmin_api_shared_secret
Changes
- addresses #16 by changing the web api:
- every endpoint is now under the
/api/
subdirectory - added a version endpoint
/api/version
that respons with e.g.{"version":"0.9.0.dev0"}
- PUT -> PATCH for
/api/token
- every endpoint is now under the
- renaming the following properties
valid
->active
one_time
->max_usage
ex_date
->expiration_date