Skip to content

Releases: Meteor-Community-Packages/meteor-simple-schema

v2.0.0

21 Nov 17:35
bca6908
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.13.1...v2.0.0

v1.13.1

21 Dec 08:55
d4fcfef
Compare
Choose a tag to compare

Attention! 🧐

This package is back under maintenance by the Meteor Community Packages group 🚀
Consider this a hard-fork to ensure a future-proof maintenance with focus on
Meteor-Compatibility (Meteor 2.x; 3.x and beyond)! ☄️

Changelog

  • back under community maintenance!
  • 100% compatibility with Meteor, used the last Meteor-compatible version from NPM
  • moved all code from npm simpl-schema@1.13.1 to this repo
  • updated all tests to use meteortesting:mocha + chai
  • added coverage reporting to the tests!
  • prepare for Meteor 3.0 compatibility migration (will be done in the next version)
  • updated CI
  • publish as Meteor package

Why release 1.13.1 ?

This is the 1:1 copy of the most recent available release that had full Meteor-Compatibility.
While we wanted to move to long-termin include the newer NPM releases it was not possible without huge effort and ongoing maintenance would have been questionable!

Therefore we set a new hard-fork at this level and continue development with 100% Meteor compatibility. By doing so we will be able to mirgate this package towards Meteor 3.0 and thus also migrate dependant packages, like Collection2 or AutoForm.

2.0.0-rc.1

23 Aug 06:18
Compare
Choose a tag to compare

v1.5.3

23 Dec 20:24
Compare
Choose a tag to compare

Removed the old SimpleSchema.prototype.validator

NOTE: There was an accidental breaking change related to this in v1.4.0. Probably only aldeed:collection2 is affected. If you use aldeed:simple-schema v1.4.0 or higher along with aldeed:collection2, be sure to use aldeed:collection2 v2.7.1 or higher.

v1.5.2

22 Dec 15:42
Compare
Choose a tag to compare

The ValidationError thrown by validate now provides a useful error message so that it is clear what the first error is if it is not caught and is printed to console above the stack trace.

v1.3.3

07 May 21:47
Compare
Choose a tag to compare

When using check to validate, the Match.Error that is thrown now explains which field failed to validate and why (only the first error). All errors can be found in an invalidKeys property on the Match.Error object.

v1.3.2

28 Mar 16:45
Compare
Choose a tag to compare

Bug fixes and MongoDB 2.6+ compatibility fixes

v1.3.1

08 Mar 22:29
Compare
Choose a tag to compare
  • Fix "undefined is not allowed by the schema" error message
  • Trim strings before removing empty strings so that " " will be cleaned
  • Don't type convert $unset values when cleaning

v1.3.0

28 Dec 20:21
Compare
Choose a tag to compare

Added built-in regular expression SimpleSchema.RegEx.ZipCode

v1.2.0

10 Dec 18:53
Compare
Choose a tag to compare
  • The clean function now automatically converts a number or string to a Date object. (Thanks @rlora)
  • Fix to makeGeneric handling when a property name starts with a number but also includes non-numeric characters. (Thanks @Nieziemski)
  • New exclusiveMax and exclusiveMin options allow you to specify that the min or max value itself should not be considered valid. (Thanks @sleiber)