- Fix use of
observeChanges
toobserveChangesAsync
- Updated
zodern:types
to v1.0.13
- Added option to depend on the latest v2 of
aldeed:simple-schema
as well as v1.13.1
- Minimum Meteor version is now
2.8.1
, compatible withv3.0
- All collection calls have been migrated to async
- Removed
aldeed:schema-index
as its functionality has been replaced by Meteor defaultcreateIndexAsync
method. - Added
aldeed:simple-schema
- Upgraded
aldeed:collection2
tov4.0.3
- Upgraded
aldeed:schema-deny
tov4.0.1
- Replace eslint with Biome
- Update
zodern:types
to v1.0.11 - Added Meteor
3.0-beta.0
as a supported target to make it easy to perform the initial upgrade, functionality wise it is not yet supported.
- Make
createdAt
optional in type for proper insert type
- Added
zodern:types
- Exported types into
legal.d.ts
- Updated dev dependencies
- Updated
@types/meteor
to v2.0.2
- Ensure that when calling
freedombase:legal.agreements.agreeBy
that user agrees to the current legal document
- Fix a bug in method
freedombase:legal.addTranslation
- New publication
freedombase:legal.getDocument
- Fix bug where hooks were not exposed
- Fix schema for agreements
- Bumped minimum Meteor version to 2.3
- Added hooks to agreements methods
- Added
canAddLegalHook
to check if a user is allowed to add a legal document
- Fixed schema where it would only accept object when in documentation it could accept both object and string.
- Rewrote code into Typescript
- Updated dev dependencies to the latest versions
- Updated
aldeed:collection2
to v3.5.0
- Add additional check for i18n checking so that it doesn't throw errors when a language is missing.
- Updated
aldeed:collection2
to v3.3.0
- Add missing
aldeed:schema-index
andaldeed:schema-deny
packages to dependencies
- Updated dev dependencies
- Remove all contributors script from pre-commit hook as it failed to run
- When legal document is not found while calling
freedombase:legal.agreements.agreeBy
, it will throw an error instead of failing.
- Bumped minimum Meteor version to
v1.9
- Updated
aldeed:collection2
tov3.0.6
- Updated dev dependencies
- Bumped minimum Meteor version to
v1.8.1
- Updated
aldeed:collection2
tov3.0.3
- Added GitHub templates and other related stuff
- Code re-formatted according to Standard.js rules
- Added All Contributors
- Updated
aldeed:collection2
tov3.0.2
. - Made error messages more clear.
- Bumped minimum Meteor version to
v1.4.2.7
which the minimal feature version and latest patch version (of that feature version) to actually support this package.
- In case a document is not available in the requested language, default to the primary language of the document. Fixes a bug where document would return empty on subscription if it did not exists in the requested language.
- Make
createdAt
optional parameters so that they can be auto created. - Added optional parameter
userId
tofreedombase:legal.agreements.agreeBy
method to allow usage inMeteor.users.after.insert
hook when user might be still logging in and theuserId
is not yet set.Meteor.userId()
will take precedent before this variable.
- Methods
freedombase:legal.agreements.agreeBy
andfreedombase:legal.agreements.revokeBy
now also accept array input.
- Limiting and sorting for better Oplog support and performance.
- An issue in agreement where user would be undefined, resulting in an innconsitency between MiniMongo and Mongo.
- Initial release 🎉