Meteor Collection2 Versions Save

A Meteor package that extends Mongo.Collection to provide support for specifying a schema and then validating against that schema when inserting and updating.

4.0.1

1 month ago

4.0.0

1 month ago

What's Changed

Breaking

  • You no longer need to install simpl-schema as we from now on use the Meteor package aldeed:simple-schema again, which is now under our maintenance. While the npm package works, there will be no Meteor support in the future and we decided for a hard fork in order to remain compatible.
  • Collection2 is now optionally dynamic OR static imported. This allows to reduce client bundle size.

In order to import it dynamically you need to run:

import 'meteor/aldeed:collection2/dynamic'

Collection2.load() // returns a promise!!!!

In order to import it statically you need to run:

import 'meteor/aldeed:collection2/static'
Collection2.load() // no promise

New Contributors

Full Changelog: https://github.com/Meteor-Community-Packages/meteor-collection2/compare/3.5.0...4.0.0

3.5.0

2 years ago

Add the ability to override in-built schema clean options.

3.4.1

2 years ago
  • Make compatible with Meteor 2.3

3.4.0

2 years ago
  • Code modernization in few places
  • You can now set packages.collection2.disableCollectionNamesInValidation in your Meteor settings to disable showing Collection name in errors from server, this is set to false by default to preserve the original behavior. (fixes #422)
  • Moved from CircleCI testing to GitHub actions

3.3.0

3 years ago

3.2.2

3 years ago
  • Allow tmeasday:check-npm-versions to use version 1.0.1 as well

3.2.0

3 years ago

3.1.0

3 years ago
  • Added pick and omit feature
  • Updated dependencies
  • Updated tests
  • Added GitHub templates for issues and PRs.