# Changelog ## Release (2025-03-30) - ember-validators 5.0.0 (major) #### :boom: Breaking Change - `ember-validators` - [#151](https://github.com/adopted-ember-addons/ember-validators/pull/151) Convert addon to v2 format ([@SergeAstapov](https://github.com/SergeAstapov)) - [#152](https://github.com/adopted-ember-addons/ember-validators/pull/152) Drop support for Ember.js versions below 4.8 ([@SergeAstapov](https://github.com/SergeAstapov)) #### :rocket: Enhancement - `ember-validators` - [#154](https://github.com/adopted-ember-addons/ember-validators/pull/154) Convert to TypeScript ([@SergeAstapov](https://github.com/SergeAstapov)) #### :bug: Bug Fix - `ember-validators` - [#138](https://github.com/adopted-ember-addons/ember-validators/pull/138) Fix date time format ([@mkszepp](https://github.com/mkszepp)) #### :memo: Documentation - `ember-validators` - [#147](https://github.com/adopted-ember-addons/ember-validators/pull/147) Update repository url after migration ([@SergeAstapov](https://github.com/SergeAstapov)) - [#144](https://github.com/adopted-ember-addons/ember-validators/pull/144) chore: Update URL for documentation ([@TSenter](https://github.com/TSenter)) #### :house: Internal - `ember-validators` - [#153](https://github.com/adopted-ember-addons/ember-validators/pull/153) Bum release-plan to v0.16 ([@SergeAstapov](https://github.com/SergeAstapov)) - [#148](https://github.com/adopted-ember-addons/ember-validators/pull/148) Setup release-plan and changelog ([@SergeAstapov](https://github.com/SergeAstapov)) #### Committers: 3 - Markus Sanin ([@mkszepp](https://github.com/mkszepp)) - Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov)) - Tyler Senter ([@TSenter](https://github.com/TSenter)) ## v4.1.2 (2022-02-08) #### :rocket: Enhancement - [#120](https://github.com/adopted-ember-addons/ember-validators/pull/120) Fix lint ([@snewcomer](https://github.com/snewcomer)) - [#107](https://github.com/adopted-ember-addons/ember-validators/pull/107) [BUG] Invalidate NaN in a number-typed range ([@frykten](https://github.com/frykten)) #### Committers: 2 - Johan Frykten Gache ([@frykten](https://github.com/frykten)) - Scott Newcomer ([@snewcomer](https://github.com/snewcomer)) ## v4.1.0 (2022-01-26) #### :rocket: Enhancement - [#118](https://github.com/adopted-ember-addons/ember-validators/pull/118) Run `ember-cli-update --to=v4.1.1` to sync with latest addon blueprint ([@SergeAstapov](https://github.com/SergeAstapov)) - [#115](https://github.com/adopted-ember-addons/ember-validators/pull/115) Bump `@embroider/*` packages to v1 ([@SergeAstapov](https://github.com/SergeAstapov)) #### Committers: 1 - Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov)) ## v4.0.1 (2022-01-06) #### :rocket: Enhancement - [#108](https://github.com/adopted-ember-addons/ember-validators/pull/108) Disable Ember.js v4 scenarios, use npm in GH actions and make CI pass ([@SergeAstapov](https://github.com/SergeAstapov)) #### :bug: Bug Fix - [#111](https://github.com/adopted-ember-addons/ember-validators/pull/111) Fix ds-error validator for handling nested objects ([@herzzanu](https://github.com/herzzanu)) #### Committers: 2 - Sabin Hertanu ([@herzzanu](https://github.com/herzzanu)) - Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov)) ## v4.0.0 - [[Major]: Remove Moment and Node 10](https://github.com/offirgolan/ember-validators/pull/100); - Remove Node 10 minimum requirement in favor of Node 12 - removed custom String 'now' argument. - remove momentjs - Remove `precision` argument. If you need to compare based on precision, you can use the Intl.DateTimeFormat [APIs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) to hone in on the comparison - `{ year: 'numeric' }` - Added `locale` option. Defaults to en-us when creating date times using `Intl.DateTimeFormat` API. ## v3.0.0 - Remove node v4 ## v2.0.0 ### Pull Requests - [#67](https://github.com/offirgolan/ember-validators/pull/67) Bump ember-require-module dependency _by [Andrey Fel](https://github.com/andreyfel)_ ## v1.2.3 ### Commits - [d761cb0](https://github.com/offirgolan/ember-validators/commit/d761cb029da53c89ba8faa08f9710367b5135139) Revert Bump ember-require-module dependency _by [Offir Golan](https://github.com/offirgolan)_ ## v1.2.2 ### Pull Requests - [#67](https://github.com/offirgolan/ember-validators/pull/67) Bump ember-require-module dependency _by [Andrey Fel](https://github.com/andreyfel)_ ## v1.2.1 ### Commits - [ef5e5cc](https://github.com/offirgolan/ember-validators/commit/ef5e5cc4cebdbed58cf48073d2c12557716bbaa5) **date**: fix(date): Show correct error message when a date is invalid with a custom format _by [Offir Golan](https://github.com/offirgolan)_ ## v1.2.0 ### Pull Requests - [#64](https://github.com/offirgolan/ember-validators/pull/64) **number**: docfix for positive option _by [Blake Gentry](https://github.com/bgentry)_ - [#63](https://github.com/offirgolan/ember-validators/pull/63) **number**: fix behavior of allowNone _by [Blake Gentry](https://github.com/bgentry)_ ## v1.1.1 ### Pull Requests - [#61](https://github.com/offirgolan/ember-validators/pull/61) Revert license back to yahoo BSD-3 _by [Offir Golan](https://github.com/offirgolan)_ - [#62](https://github.com/offirgolan/ember-validators/pull/62) Move moment assertion to inside validate method _by [Offir Golan](https://github.com/offirgolan)_ ## v1.1.0 ### Pull Requests - [#60](https://github.com/offirgolan/ember-validators/pull/60) Update all the things _by [Offir Golan](https://github.com/offirgolan)_ ## v1.0.4 ### Pull Requests - [#57](https://github.com/offirgolan/ember-validators/pull/57) Update `ember-cli-babel` to v6.9.2 _by [Tobias Bieniek](https://github.com/Turbo87)_ ## v1.0.3 ### Pull Requests - [#54](https://github.com/offirgolan/ember-validators/pull/54) Update minimum version of ember-require-module _by [Jonathan Johnson](https://github.com/jrjohnson)_ ## v1.0.2 ### Pull Requests - [#52](https://github.com/offirgolan/ember-validators/pull/52) Use consistent semver of ember-require-module _by [Lei Zhao](https://github.com/leizhao4)_ ## v1.0.1 ### Pull Requests - [#48](https://github.com/offirgolan/ember-validators/pull/48) [BUGFIX] Remove assert in length validator _by [Offir Golan](https://github.com/offirgolan)_ ## v1.0.0 ### Pull Requests - [#45](https://github.com/offirgolan/ember-validators/pull/45) [FEATURE] Support Ember Changeset Validations _by [Offir Golan](https://github.com/offirgolan)_ ## v0.2.0 ### Pull Requests - [#40](https://github.com/offirgolan/ember-validators/pull/40) Remove unnecessary module caching _by [Offir Golan](https://github.com/offirgolan)_ - [#39](https://github.com/offirgolan/ember-validators/pull/39) [FEATURE] allowNonTld & minTldLength in format validator _by [Offir Golan](https://github.com/offirgolan)_ - [#42](https://github.com/offirgolan/ember-validators/pull/42) Expose parseDate function in the date validator _by [Guillaume Gérard](https://github.com/GreatWizard)_ - [#41](https://github.com/offirgolan/ember-validators/pull/41) [BUGFIX] Use String.match instead of RegExp.test to support g flag _by [Offir Golan](https://github.com/offirgolan)_ ## v0.1.2 - Use ember-require-module ## v0.1.1 - Add Validator documentation ## v0.1.0 - Initial release