v2.0.0
Exclusion Improvements
The main breaking change is the improvement made to exclusions such that a Person's group can be excluded in addition to a Person's name. This brings a new interface structure for an Exclusion and hopefully makes it more clear what the properties mean.
Here's how you would upgrade an exclusion to the new structure
Before (v1.0.0):
const exclusions: Exclusion[] = [{
type: 'name',
subject: 'Brian',
// this always referred to the 'name'
value: 'Freja'
}];
After (v2.0.0):
const exclusions: Exclusion[] = [{
type: 'name',
subject: 'Brian',
excludedType: 'name',
excludedSubject: 'Freja'
}];
Other Breaking Changes
If you imported things outside of the main index file, some refactoring in directory structure was done, so those imports may have changes (models was deleted and merged into utils).