Releases: matthewhartstonge/storage
Releases · matthewhartstonge/storage
v0.7.1
- Adds functions to enable sorting Clients by Name and Owner
- Adds functions to enable sorting Users by Username, FirstName and LastName
v0.7.0
- Adds support for mongo connections over SSL
ConnectionURI
has been dropped in favour ofConnectionInfo
to enable SSL connections
v0.6.0
- Removes
request.PersistRefreshTokenGrantSession
fromrequest.Storer
interface as per required fosite v0.11.x breaking changes - Removes
request.PersistAuthorizeCodeGrantSession
fromrequest.Storer
interface as per required fosite v0.11.x breaking changes - Uses the new interfaces that were brought in to simplify storage with fosite v0.11.x
v0.5.3
- Added omitempty for marshaling json tags
v0.5.2
- Added returning
fosite.ErrNotFound
if unable to find a user record to delete
v0.5.1
- Added omitempty for marshaling User Attributes
v0.5.0
- Opened the user model up to accept passwords via JSON/XML payloads.
Ensure that on all API routes, if using the model directly, to either cast attributes to a response struct that does
not contain a password attribute or clear out the password field before sending the response.
v0.4.4
- Added error for conflicting user accounts on creation based on username
v0.4.3
- Fixed a filtering case where organisation_id had not been changed to tenantIDs
- Fixes a couple of testcases
v0.4.2
- Adds user account disabled boolean.
- Adds user methods to check for equality and emptiness.