Skip to content

Releases: matthewhartstonge/storage

v0.11.1

30 May 12:27
Compare
Choose a tag to compare
v0.11.1 Pre-release
Pre-release

v0.11.1 - 2018-05-14

Changed

  • readme: updated latest version

Fixed

  • user: Equal() now supports comparisons including personID

Removed

  • legal: Removed mergo, now not in use

v0.11.0

30 May 12:25
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release

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

13 Apr 11:59
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

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 configure config.Port as well.
  • Configuration now allows passing a custom tls.Config to the Config. This
    requires manual initialization of a tls.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

13 Apr 11:58
Compare
Choose a tag to compare
v0.9.1 Pre-release
Pre-release
  • Fixes AllowedPeopleAccess filtering.

v0.9.0

13 Apr 11:57
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

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 to AllowedTenantAccess to better represent the underlying data.
    • The bson/json/xml tags have also been updated from tenantIDs to allowedTenantAccess
  • 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 to EnableTenantAccess
  • User RemoveTenantIDs method conformed to DisableTenantAccess

Client

  • Client TenantIDs have been changed to conform to AllowedTenantAccess, same as user.
  • Client AddScopes method has been changed to EnableScopeAccess
  • Client RemoveScopes method has been changed to DisableScopeAccess
  • Client AddTenantIDs method has been changed to EnableTenantAccess
  • Client RemoveTenantIDs method has been changed to DisableTenantAccess

v0.8.0

13 Apr 12:02
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release
  • Makes users filterable with user.Filter via the GetUsers(filters user.Filter) function

v0.7.5

13 Apr 12:02
Compare
Choose a tag to compare
v0.7.5 Pre-release
Pre-release
  • Adds PersonID to the client record to enable foreign key lookups

v0.7.4

13 Apr 12:02
Compare
Choose a tag to compare
v0.7.4 Pre-release
Pre-release
  • Adds TenantIDs to the client record to enable client_credentials for multi-tenant applications

v0.7.3

13 Apr 12:01
Compare
Choose a tag to compare
v0.7.3 Pre-release
Pre-release
  • Adds better error checking support for clients

v0.7.2

13 Apr 12:01
Compare
Choose a tag to compare
v0.7.2 Pre-release
Pre-release
  • Adds support for disabling clients via the model