Skip to content

Latest commit

 

History

History
180 lines (115 loc) · 4.53 KB

changelog.md

File metadata and controls

180 lines (115 loc) · 4.53 KB

@page changelog Changelog @parent can-validate-plugin @hide

Change log

See the latest releases on GitHub.

[1.0.0.pre]

Removed

  • No longer ships with validate.js shims
  • No longer ships with can.Map plugin
  • validate, one, and isValid methods

Added

  • test method, behaves similarly as isValid but also sets errors
  • errors method to retrieve errors
  • Register validator and library methods
  • Extend method for plugins using can-construct

[0.9.2] - 2015-06-02

Changed

  • Cleaning up code after incorrect merge.

[0.9.1] - 2015-06-02

Changed

  • Fixed Validate all bug where some properties would not get properly validate when undefined in map instance.
  • Fixed overloading of validate list on validate all method.

[0.9.0] - 2015-06-01

Changed

  • #26 Fixed bug that overwrote validate properties for all instances of a Map or Model. Computes are now cached to a dunder property versus overwriting the main validate property.
  • #27 Fixed the validate method so it resolves computes. Computes are created from functions passed as validate options so validation can be triggered when compute change is triggered.
  • Improved validate init. Using a better method for detecting when Map is initing.

[0.8.4] - 2016-06-01

Added

  • Added tests for issue #26
  • Added tests for issue #27

Changed

  • Updated dependencies
  • Switched to Mocha
  • Improved tests

[0.8.3] - 2016-04-21

Changed

  • Fixed bug when errors was blank would cause console error

[0.8.2] - 2016-03-02

Changed

  • Improved handling of validation strings, passes strings through to Validate.JS.

[0.8.1] - 2016-02-03

Added

  • This change log
  • Contributing guide

Changed

  • Changed documentation root to can-validate-plugin, changed from can-validate-library.
  • Improved readme.
  • Improved overall documentation.

Removed

  • Removed CanJS Validations library documentation since it is still a WIP.

0.8.0 - 2015-12-03

Changed

  • Fixed memory leaks.
  • Improved validate object compute handling.
  • Updated to work with CanJS 2.3.x.

0.7.1 - 2015-11-23

Changed

  • Improved build.

0.7.0 - 2015-10-19

Added

  • Added XO for linting.

Changed

  • Cleaned up lint errors in repo.

0.6.0 - 2015-10-19

Added

  • Improved ability to pass functions to validation properties.

Changed

  • Fixed map init bug.

0.5.2 - 2015-10-18

Changed

  • Fixed tests.
  • Fixed merge conflicts/errors.

0.5.1 - 2015-10-01

Changed

  • Fixed require bug.

0.5.0 - 2015-07-16

Added

  • Added "validate all" method to can.Map plugin

0.4.2 - 2015-07-13

Added

  • Published to NPM

0.4.1 - 2015-07-13

Added

  • Inline docs.
  • Added DocumentJS dependency.

0.4.0 - 2015-07-10

Changed

  • Restructured repository.

0.3.0 - 2015-07-10

Added

  • Browserify build.

Changed

  • Overall build improvements.

0.2.0 - 2015-07-09

Changed

  • Made buildable. Using import over Steal syntax.

0.1.0 - 2015-07-08

Added

  • Created can-validate entry point.
  • Created can.Map plugin.
  • Created ValidateJS shim