Releases: matthewhartstonge/storage
Releases · matthewhartstonge/storage
v0.22.0
v0.21.0
v0.21.0 - 2020-07-02
Added
- storage: added support for managing and denying JTIs due to newly added
methods in[email protected]'s interfacefosite.ClientManager. - mongo: added concrete implementation for
DeniedJTIManagerand
DeniedJTIStorerto comply to added methods infosite.ClientManager. - mongo: ensured update time is updated when updates are performed.
- mongo: added config options to adjust mongo connection min/max pool size.
Changed
- deps: upgrades to
[email protected] - readme: added version support information for
[email protected] - readme: added version support information for
[email protected]
Removed
- storage: removed missed entity constants that helped define cache
table/schema/collection. - mongo: removed dead-code index constants resulting from the removal of the
cache collection.
v0.20.0
v0.20.0 - 2020-06-26
Breaking changes
Removes 'Cache' implementation which actually added a level of indirection,
doubling required database calls in some instances.
Changed
- mongo: uses a defined database for testing.
- examples/mongo/authorizationserver: uses a defined database for the demo.
Fixed
- travisci: fixes travis not running tests over the whole code base.
Removed
- cache: removed cache structure, interfaces and db
storage.SessionCache(struct)storage.Cacher(interface)storage.CacheManager(interface)storage.CacheStorer(interface)storage.RequestManager.Cache(interface binding to astorage.CacheStorer)mongo.CacheManager(concrete implementation ofstorage.CacheManager)
v0.19.0
v0.19.0 - 2020-06-26
Breaking changes
This release migrates to the official Go MongoDB driver.
If you have any custom code using mgo that feeds into storage, you will need to migrate these to use mongo-go-driver patterns.
Added
- examples/mongo: added fosite-example featuring mongo integration.
Changed
- deps: updates to
[email protected]. - deps: migrates from
globalsign/mgotomongodb/mongo-go-driver. - readme: references
examples/mongoinstead of having a wad of example code in the readme.
v0.18.9
v0.18.9 - 2020-06-13
Fixed
- mongo:
RevokeAccessTokenattempted to delete the access token twice from the datastore leading tofosite.ErrNotFoundalways being returned. - mongo:
RevokeRefreshTokenattempted to delete the refresh token twice from the datastore leading tofosite.ErrNotFoundalways being returned.
v0.18.8
v0.18.7
v0.18.7 - 2020-05-24
Changed
- travisci: updated to test against
go@{1.14, tip}
Fixed
- mongo: fixed
ineffassignandstaticcheckissues. - mongo: fixed
malignedissues reducing config struct memory allocation from 138 bytes to 127 bytes. - mongo: fixed missed error check.
- mongo: fixed
lintissues where context was not the first parameter. - mongo: fixed user delete test creating a client instead of a user for deletion.
- mongo: fixed create client parameter ordering.
Removed
- travisci: support for go < 1.13
v0.18.6
v0.18.5
v0.18.5 - 2019-09-24
Changed
- deps: updated to
[email protected]
Fixed
- client: fixes
client.Equalby doing a compare on allowed regions.
v0.18.4
v0.18.4 - 2019-09-24
Added
- client: added support for allowed regions. This enables filtering for clients
based on geographic region. - mongo: added tests for
client.list.
Changed
- travis: updated CI testing to test against go versions
1.13.x,1.12.x,
1.11.x. - travis: migrated to go modules for dependency management.
- deps: updated to
[email protected]and[email protected].
Removed
- client: removed redundant type conversions in various return statements.