Releases: matthewhartstonge/storage
Releases · matthewhartstonge/storage
v0.11.1
v0.11.0
v0.11.0 - 2018-05-10
Changed
- user: Removed use of lib mergo. Please move to passing through a full update,
instead of partials. This caused issues where fields were required to be
blanked out, for example, disabling a user account. - client: Removed use of lib mergo. Please move to passing through a full update,
instead of partials. This caused issues where fields were required to be
blanked out, for example, disabling a client. - changelog: to be changelog compliant!
- glide: unpinned fosite version. Please ensure it works with your version of
fosite, please see readme disclaimers.
Removed
- glide: mergo
v0.10.0
v0.10.0 - 2018-04-13
Changed
- Configuration now allows passing hostnames with included ports, for example:
[]string{"mongo.example.com:123456", "mongo.example.com:234567"}
allowing
developers to bypass having to configureconfig.Port
as well. - Configuration now allows passing a custom tls.Config to the Config. This
requires manual initialization of atls.Config
struct, but enables users
to use their own TLS certs for connecting to mongo. - Cleaned up the Readme
- Started using Keep a Changelog style for logging changes
v0.9.1
- Fixes AllowedPeopleAccess filtering.
v0.9.0
v0.9.0 makes a few under the hood changes in order to conform method and attribute naming to make the API cleaner.
Mongo Driver
First of all, big shout out to @niemeyer for his amazing effort and continued support through the years to the mgo Go driver!! It's no small feat, with the driver in use today in many production stacks.
We have decided to move to the community supported fork of mgo as it has a couple of extra github issues tidied up and is moving to add support for Mongo 3.6 features which make some aggregation pipelines easier internally for us. As such, this repo is also moving to use the community fork of [mgo][mgo].
Big shoutout to @domodwyer + contributors past and future!
User
AllowedAccess
has been changed toAllowedTenantAccess
to better represent the underlying data.- The
bson
/json
/xml
tags have also been updated fromtenantIDs
toallowedTenantAccess
- The
AllowedPeopleAccess
has been added to the user model support enabling and disabling explicit access to people accounts.- Added
EnablePeopleAccess
method to user - Added
DisablePeopleAccess
method to user - User
AddTenantIDs
method conformed toEnableTenantAccess
- User
RemoveTenantIDs
method conformed toDisableTenantAccess
Client
- Client
TenantIDs
have been changed to conform toAllowedTenantAccess
, same as user. - Client
AddScopes
method has been changed toEnableScopeAccess
- Client
RemoveScopes
method has been changed toDisableScopeAccess
- Client
AddTenantIDs
method has been changed toEnableTenantAccess
- Client
RemoveTenantIDs
method has been changed toDisableTenantAccess
v0.8.0
- Makes users filterable with
user.Filter
via theGetUsers(filters user.Filter)
function
v0.7.5
- Adds
PersonID
to the client record to enable foreign key lookups
v0.7.4
- Adds
TenantIDs
to the client record to enableclient_credentials
for multi-tenant applications
v0.7.3
- Adds better error checking support for clients
v0.7.2
- Adds support for disabling clients via the model