- Upgraded
aldeed:collection2
to v4.0.1
- Methods are now async
- Added delete method with associated hooks
- Added missing dependency list of
aldeed:simple-schema
- Added missing indexes
- Replaced
simpl-schema
withmeteor/aldeed:simple-schema
- Fix common display issues
- Added version range for Meteor
3.0-rc.0
- Add
ddp
dependency which is needed for properly working with Meteor 3.0
- Removed
aldeed:schema-index
as its functionality has been replaced by Meteor defaultcreateIndexAsync
method. - Minimum Meteor version is now
2.8.1
- Added version range for Meteor
3.0-beta.0
- Added more granular index creation to account for the default publications and methods.
currentFlashNewsSelector
has been updated to function
- Fixed use of
userId
instead ofcreatedBy
in hook object. - Throw if user is not signed in when calling
freedombase:flashnews-create
- Updated test app
- Add missing limit and sort to
freedombase:flashnews-getFor
publication
- Removed
onlyDisplayIn
as these values can be taken fromcontent
and what languages are defined there. As such all the methods, hooks, etc. have this property removed.
FlashNewsType
is now exported on server as well
- Fix type definition
- Fixed typo in error
- Moved tests into their own testing app and re-structured the repository for this
- GitHub Actions for running test has been added
- Added JSDocs to more functions for better documentation
- Updated README with documentation
- Copied
onlyDisplayOn
logic tofreedombase:flashnews-getFor
subscription
- Fix a switched
$gte
and$lte
incurrentFlashNewsSelector
- Added
onlyDisplayIn
andonlyDisplayOn
to the schema and updated thegetContent
method on document and publications to allow showing flashnews only in designated language or for a particular language. These are arrays to allow for multiple languages to be specified. - Added
defaultLanguage
tofreedombase:flashnews-create
that existed previously, but now supplementsonlyDisplayIn
when the display language does not equals any of the defined languages by showing content in the default language. - Added some initial tests
- Sorting of news according to date start
- Added option to make news localized
- Now includes
socialize:base-model
- Initial testing release