1.2 KiB
Changelog
2015-08-02 Change the way Bind/Unbind works
This change is potentially breaking, it did break the sample since the supporting struct was wrong for the data we were using.
Lock: The documentation was updated to reflect that the struct value for AttemptNumber is indeed an int64. Unbind: Previously it would scrape the struct for the supported types (string, int, bool, time.Time, sql.Scanner/driver.Valuer) and make them into a map. Now the field list will contain all types found in the struct. Bind: Before this would only set the supported types (described above), now it attempts to set all values. It does check to ensure the type in the attribute map matches what's in the struct before assignment.
2015-04-01 Refactor for Multi-tenancy
This breaking change allows multiple sites running off the same code base to each use different configurations of Authboss. To migrate your code simply use authboss.New() to get an instance of Authboss and all the old things that used to be in the authboss package are now there. See this commit to the sample to see precisely how to make these changes.