Skip to content

Releases: matthewhartstonge/storage

v0.34.0

21 Feb 23:38
e2f3fb2
Compare
Choose a tag to compare

v0.34.0 - 2024-02-22

Added

  • user: adds support for regions.

Changed

Full Changelog: v0.33.0...v0.34.0

v0.33.0

25 Aug 00:47
1c7db6a
Compare
Choose a tag to compare

v0.33.0 - 2023-08-25

Fixed

  • user: aligns bson, json and xml marshalling to the name of the mfaFactors property.

v0.32.0

18 Jul 04:42
dc6b990
Compare
Choose a tag to compare

v0.32.0 - 2023-07-18

Added

  • user: Adds support for MFA factors.

Changed

v0.31.0

09 Jan 11:43
7e9c30f
Compare
Choose a tag to compare

🚢 v0.31.0 - 2023-01-10

Changed

Fixed

  • examples/mongo/authorizationserver: sets session subject and username. fixes #65.
  • examples/mongo/authorizationserver: properly logs out the generated user id.
  • mongo/mongo: reduces read errors occurring in a mongo replica set. fixes #68. Thanks to @qkrgksqkr for the original reports, debugging and solution!

Changes: v0.30.1...v0.31.0

v0.30.1

08 Aug 03:19
fe22a27
Compare
Choose a tag to compare
v0.30.1 Pre-release
Pre-release

🚢 v0.30.1 - 2022-08-08

Added

  • user_manager: adds support for filtering users given a list of people ids.
  • mongo/user_manager: adds support for filtering users given a list of people ids.

Changed

Changes: v0.30.0...v0.30.1

v0.30.0

08 Aug 03:17
fc8bd03
Compare
Choose a tag to compare
v0.30.0 Pre-release
Pre-release

🚢 v0.30.0 - 2022-07-28

Changed

Changes: v0.29.0...v0.30.0

v0.29.0

08 Aug 03:14
3b7a4ad
Compare
Choose a tag to compare
v0.29.0 Pre-release
Pre-release

🚢 v0.29.0 - 2022-07-28

Breaking Change:
If you are running on Mongo<4.0, please update as the indices will now build in the foreground. Mongo>4.0 has changed to a new indexing engine and this option is now deprecated.

Removed

  • mongo: deprecates SetBackground due to MongoDB 4.0 EOL.

Changes: v0.28.0...v0.29.0

v0.28.0

18 Oct 02:02
4a142a2
Compare
Choose a tag to compare
v0.28.0 Pre-release
Pre-release

🚢 v0.28.0 - 2021-10-18

Added

  • mongo: adds support for mongodb+srv connection strings.
  • mongo: binds in a default TLS Config if ssl=true and a TLS config has not been provided.
  • storage: adds Expirer interface to enable stores to add support for configuring record expiration.
  • mongo: implements storage.Expirer interface to enable TTL based expiry on tokens.

Changed

  • mongo: migrated internal use of isDup(err) to mongo.IsDuplicateKeyError(err).

Removed

  • mongo: removed internal isDup(err) function.

Changes: v0.27.0...v0.28.0

v0.27.0

24 Sep 04:15
2b859b6
Compare
Choose a tag to compare
v0.27.0 Pre-release
Pre-release

v0.27.0 - 2021-09-24

This release will add a new hashed index on signature for the accessTokens collection. This makes the old accessTokens.idxSignatureId index redundant and can be removed.

Added

  • mongo: migrates to using a hashed index for the signature index on access tokens.
    • The signature for an access token could grow quite large, leading to a large index. By migrating to using a hashed index, the size can be reduced to 2% of the original indices size. In our testing we went from 2.8GB -> 57MB.

Fixed

  • examples/mongo/authorizationserver: removes mongo-features example.

Changes: v0.26.0...v0.27.0

v0.26.0

05 Aug 03:00
be57688
Compare
Choose a tag to compare
v0.26.0 Pre-release
Pre-release

v0.26.0 - 2021-08-05

Added

  • utils: adds functions to help with adding and removing items from string sets.
  • user: adds test cases for enabling and disabling person access.
  • user: adds tests for user.FullName().
  • user: adds test cases to check create time and update time equality.
  • user: adds test cases to check equality of allowed person ids, person id and extra fields in user record.
  • user: adds support for storing user roles.
  • storage: adds a benchmark for user.Equal().

Changed

  • user: refactors enable and disable functions to use util append/remove functions.
  • examples/mongo: updates go.mod to [email protected] and tidies go.sum.

Fixed

  • mongo: SetClientAssertionJWT now logs unknown errors if deleting expired JTIs fails.
  • mongo: fixes do not pass a nil Context (staticcheck)
  • user: fixes whitespace issues when returning a user's full name.

Removed

  • deps: removed support for dep.

Changes: v0.25.1...v0.26.0