- Allow overriding default
Meteor.apply
options viaapplyOptions
option. #46
- Relax
versionsFrom
constraint so that it works with 1.3 beta 16. #42
- Added error handling when a mixin doesn't return any options, thanks to PR #24.
- Added mixins, which are functions that transform incoming Method options.
this.name
is now accessible if the Method is called via_execute
.
- You can now access the Method name through
this.name
insiderun()
.
- Throw errors if a callback is not passed, just like normal Methods do.
- Renamed from
mdg:method
tomdg:validated-method
andMethod
toValidatedMethod
- Removed
schema
option, the way to use SimpleSchema now is by passingSimpleSchema#validator()
into thevalidate
option - Added a special meaning to
validate: null
to allow people to intentionally skip validation if they need to, for example when a method has no arguments
Initial version