Skip to content

Releases: Meteor-Community-Packages/meteor-collection2

3.2.2

21 Apr 12:13
Compare
Choose a tag to compare
  • Allow tmeasday:check-npm-versions to use version 1.0.1 as well

3.2.0

05 Sep 10:19
deb963d
Compare
Choose a tag to compare

3.1.0

22 Jun 07:26
Compare
Choose a tag to compare
  • Added pick and omit feature
  • Updated dependencies
  • Updated tests
  • Added GitHub templates for issues and PRs.

2.8.0

30 Dec 04:46
Compare
Choose a tag to compare

No changes, but aldeed:collection2 is now a shell package that installs three component packages: aldeed:collection2-core, aldeed:schema-index, and aldeed:schema-deny

2.7.1

23 Dec 20:35
Compare
Choose a tag to compare
  • Fixed an issue where an accidental breaking change in SimpleSchema v1.4.0 caused denyInsert and denyUpdate to stop working. If using SimpleSchema v1.4.0 or higher, be sure to use Collection2 v2.7.1 or higher.
  • Fix upsert validation when _id is required in the schema
  • Throw a clearer error for when all keys are removed from the document or modifier during filter cleaning

v2.6.0

09 Dec 18:26
Compare
Choose a tag to compare

Even if you skip all validation and cleaning, Collection2 will still do some object parsing that can take a long time for a large document. To bypass this, you can now set the bypassCollection2 option to true when you call insert or update. This works only in server code.

v2.5.0

30 Aug 10:00
Compare
Choose a tag to compare
  • docId is now set in the autoValue and custom contexts for inserts, too, if possible
  • The validationContext option can now be a reference to a context instead of a string name

v2.4.0

27 Aug 06:54
Compare
Choose a tag to compare
  • Validation and cleaning is no longer duplicated when using the upsert method instead of {upsert: true} option.
  • Added sparse option which can be set to true along with index option to force a sparse index

v2.3.3

31 Mar 15:00
Compare
Choose a tag to compare

Use latest simple-schema version

v2.3.2

04 Feb 01:38
Compare
Choose a tag to compare
  • Properly set docId in autoValue and custom contexts when provided as non-object. (Thanks @FatBoyXPC)
  • Update SimpleSchema package dependency version