diff --git a/.versions b/.versions index 57f726c..b0f487d 100644 --- a/.versions +++ b/.versions @@ -1,5 +1,5 @@ -aldeed:collection2@2.7.0 -aldeed:simple-schema@1.3.2 +aldeed:collection2@2.7.1 +aldeed:simple-schema@1.5.3 babel-compiler@5.8.24_1 babel-runtime@0.1.4 base64@1.0.4 @@ -23,8 +23,9 @@ html-tools@1.0.5 htmljs@1.0.5 id-map@1.0.4 jquery@1.11.4 -local-test:aldeed:collection2@2.7.0 +local-test:aldeed:collection2@2.7.1 logging@1.0.8 +mdg:validation-error@0.2.0 meteor@1.1.10 minimongo@1.0.10 mongo@1.1.3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 441eed3..61b579d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ A smart package for Meteor that extends Mongo.Collection to provide support for ## Change Log +### 2.7.1 + +* 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 + ### 2.7.0 In preparation for splitting some features into separate packages, a `Collection2` object is now exported and emits a 'schema.attached' event whenever a schema is attached to a collection.