Skip to content

Releases: matthewhartstonge/storage

v0.22.0

02 Jul 10:50
e2dc188

Choose a tag to compare

v0.22.0 Pre-release
Pre-release

v0.22.0 - 2020-07-02

Changed

v0.21.0

02 Jul 05:42
5baa0e4

Choose a tag to compare

v0.21.0 Pre-release
Pre-release

v0.21.0 - 2020-07-02

Added

  • storage: added support for managing and denying JTIs due to newly added
    methods in [email protected]'s interface fosite.ClientManager.
  • mongo: added concrete implementation for DeniedJTIManager and
    DeniedJTIStorer to comply to added methods in fosite.ClientManager.
  • mongo: ensured update time is updated when updates are performed.
  • mongo: added config options to adjust mongo connection min/max pool size.

Changed

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

02 Jul 05:41
6f0e32c

Choose a tag to compare

v0.20.0 Pre-release
Pre-release

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 a storage.CacheStorer)
  • mongo.CacheManager (concrete implementation of storage.CacheManager)

v0.19.0

25 Jun 23:32
8a40b94

Choose a tag to compare

v0.19.0 Pre-release
Pre-release

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

Changed

  • deps: updates to [email protected].
  • deps: migrates from globalsign/mgo to mongodb/mongo-go-driver.
  • readme: references examples/mongo instead of having a wad of example code in the readme.

v0.18.9

13 Jun 10:29
d4f5623

Choose a tag to compare

v0.18.9 Pre-release
Pre-release

v0.18.9 - 2020-06-13

Fixed

  • mongo: RevokeAccessToken attempted to delete the access token twice from the datastore leading to fosite.ErrNotFound always being returned.
  • mongo: RevokeRefreshToken attempted to delete the refresh token twice from the datastore leading to fosite.ErrNotFound always being returned.

v0.18.8

13 Jun 10:28
34949dc

Choose a tag to compare

v0.18.8 Pre-release
Pre-release

v0.18.8 - 2020-06-11

Fixed

  • mongo: auth codes should be set to active by default on creation.

v0.18.7

24 May 05:26
2190b23

Choose a tag to compare

v0.18.7 Pre-release
Pre-release

v0.18.7 - 2020-05-24

Changed

  • travisci: updated to test against go@{1.14, tip}

Fixed

  • mongo: fixed ineffassign and staticcheck issues.
  • mongo: fixed maligned issues reducing config struct memory allocation from 138 bytes to 127 bytes.
  • mongo: fixed missed error check.
  • mongo: fixed lint issues 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

25 Sep 05:17

Choose a tag to compare

v0.18.6 Pre-release
Pre-release

v0.18.6 - 2019-09-25

Added

  • client: added published to enable filtering clients by published state.

v0.18.5

24 Sep 02:56

Choose a tag to compare

v0.18.5 Pre-release
Pre-release

v0.18.5 - 2019-09-24

Changed

Fixed

  • client: fixes client.Equal by doing a compare on allowed regions.

v0.18.4

24 Sep 02:30

Choose a tag to compare

v0.18.4 Pre-release
Pre-release

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.