Some notable changes going from 2.x to 3.x
- error.validation is a string if one validation and array if multiple validations.
- Defining a validation for a nested key worked before with {'something.else': ValidationFunc} and now it only works when defining as an object: { something: { else: validationFunc } }.
- Amaury (@AmauryD)
- #655 bug: fix null check in merge-deep (@snewcomer)
- Scott Newcomer (@snewcomer)
- #649 feat: validated changeset (@snewcomer)
- #646 Bump validated-changeset 1.2.0 (@sapryniukt)
- Scott Newcomer (@snewcomer)
- Taras Sapryniuk (@sapryniukt)
- #642 Add v4.0.0-beta.3 to v4.0.0-beta.5 to changelog (@SergeAstapov)
- Sergey Astapov (@SergeAstapov)
- Julien Palmas (@bartocc)
- #638 Bump validated-changeset 1.1.2 (@snewcomer)
- #635 π·οΈ Add more typings to the
ember-changeset
module (@bartocc)
- Julien Palmas (@bartocc)
- Scott Newcomer (@snewcomer)
- Polina (@linainu)
- Sergey Astapov (@SergeAstapov)
- #630 Bump
@embroider/*
packages and addpeerDependencies
info (@SergeAstapov)
- Sergey Astapov (@SergeAstapov)
- #626 ember-cli-update (@snewcomer)
- #622 Update npmignore file (@SergeAstapov)
- #623 Update Build Status badge: Travis -> GH Actions (@SergeAstapov)
- Scott Newcomer (@snewcomer)
- Sergey Astapov (@SergeAstapov)
- #614 Breaking: Upgrade ember-auto-import to v2 (@SergeAstapov)
- #611 Breaking: Drop Node.js v10 support (@SergeAstapov)
- #617 Run ember-cli-update to v3.28.3 and enable Ember v4 scenarios (@SergeAstapov)
- #619 Fix deprecations: missing
this
andid
argument for component (@SergeAstapov) - #620 Add eslint-config-prettier per latest addon blueprint (@SergeAstapov)
- #618 nternal: Fix build for Ember v4 (@SergeAstapov)
- #616 [Internal] Update changelog via lerna-changelog (@SergeAstapov)
- #612 Internal: Upgrade ember-template-lint to v3.10.0 (@SergeAstapov)
- #613 Internal: Upgrade eslint-plugin-ember to v10.5.7 (@SergeAstapov)
- #615 Internal: Upgrade ember-qunit to v5 (@SergeAstapov)
- #610 Add eslint-plugin-qunit per latest addon blueprint (@SergeAstapov)
- #609 CI: Disable Ember.js v4 scenarios, use npm in GH actions and make CI pass (@SergeAstapov)
- Sergey Astapov (@SergeAstapov)
- #608 Ensure async belongsTo ember-data relationships report correct dirty/pristine status (@snewcomer)
- #607 Bump validated-changeset to 1.0 (@snewcomer)
- #608 Ensure async belongsTo ember-data relationships report correct dirty/pristine status (@snewcomer)
- Scott Newcomer (@snewcomer)
- #604 Bugfix: validate on render without backtracking Ember assertion (@snewcomer)
- Scott Newcomer (@snewcomer)
- #606 Bugfix: changesetKeys does not work with proxied options (@snewcomer)
- Scott Newcomer (@snewcomer)
- #603 Fix Ember tracking issue on set (@snewcomer)
- Scott Newcomer (@snewcomer)
- #598 [Bug] Same date comparision dirties changeset (@snewcomer)
- Scott Newcomer (@snewcomer)
- #597 Support setting properties to false (@snewcomer)
- Scott Newcomer (@snewcomer)
- #596 [Bug]: better support for ember-data objects (@snewcomer)
- Scott Newcomer (@snewcomer)
- #593 [Bug]: setDeep does not respect re-setting top level Change object (@snewcomer)
- Scott Newcomer (@snewcomer)
- #590 [Bugfix]: get nested key when doesnt exist in underlying content (@snewcomer)
- #588 fix readme Changeset arg order (@betocantu93)
- #540 Support Embroider (@snewcomer)
- Alberto CantΓΊ GΓ³mez (@betocantu93)
- Scott Newcomer (@snewcomer)
- #583 Support null merging of arrays (@snewcomer)
- Scott Newcomer (@snewcomer)
- #582 validated-changeset 0.14.0 (@snewcomer)
- Scott Newcomer (@snewcomer)
- #580 [Enhancement]: allow
value
key in object (@snewcomer)
- Scott Newcomer (@snewcomer)
- #577 [Bug]: cyclical issues with ember-data models (@snewcomer)
- Scott Newcomer (@snewcomer)
- #569 [Bug]: fix case with empty string validation message not reporting isValid correctly (@snewcomer)
- Scott Newcomer (@snewcomer)
- #567 #unexecute to revert changes to underlying Object from #save (@snewcomer)
- #567 #unexecute to revert changes to underlying Object from #save (@snewcomer)
- Scott Newcomer (@snewcomer)
- #566 validated-changeset 0.10.3 (@snewcomer)
- #566 validated-changeset 0.10.3 (@snewcomer)
- Scott Newcomer (@snewcomer)
- #563 [Bug]: overridable mergeDeep to fix null typeof check (@snewcomer)
- Scott Newcomer (@snewcomer)
- #557 [Bug]: use isArray for better Ember Array detection (@snewcomer)
- Scott Newcomer (@snewcomer)
- #556 [Feature]: add get/set nested support (@snewcomer)
- #555 [Test]: mutating underlying complex objects should not be possible (@snewcomer)
- #550 Add save test (@snewcomer)
- Scott Newcomer (@snewcomer)
- #545 Improve merge-deep (@snewcomer)
- #548 [Bug]: handle hasMany relationships by ensuring we dont handle as object and rather treat as an array (@snewcomer)
- Scott Newcomer (@snewcomer)
- #542 Improve has many test (@snewcomer)
- Scott Newcomer (@snewcomer)
- #536 Rollback changes to model on save error (@snewcomer)
- Milton Castro (@miltonmc)
- Scott Newcomer (@snewcomer)
- #531 Fix nested execute() merging (@snewcomer)
- #525 Add test for changesetKeys to helper (@snewcomer)
- Milton Castro (@miltonmc)
- Scott Newcomer (@snewcomer)
- #522 Fix pathInChanges bug (@snewcomer)
- Scott Newcomer (@snewcomer)
- #520 FEATURE: validator class with validate method support (@snewcomer)
- Scott Newcomer (@snewcomer)
- #510 rm notifyPropertyChange from specific spots (@snewcomer)
- Scott Newcomer (@snewcomer)
- #513 #512 pendingData property to get resulting object with changes applied (@RuslanZavacky)
- #514 Throw error if merging e-d objects (@snewcomer)
- Milo Lee (@oo6)
- Ruslan Zavacky (@RuslanZavacky)
- Scott Newcomer (@snewcomer)
- #509 Add dependentKeyCompat to isValid/isInvalid (@snewcomer)
- Scott Newcomer (@snewcomer)
- #508 Unwrap proxy values before sending value into validation func and when passing through #get (@snewcomer)
- #508 Unwrap proxy values before sending value into validation func and when passing through #get (@snewcomer)
- #505 docs: use
addError
in server errors example (@knownasilya)
- Ilya Radchenko (@knownasilya)
- Scott Newcomer (@snewcomer)
- #506 Fix failing #set and #get for null belongsTo (@snewcomer)
- #506 Fix failing #set and #get for null belongsTo (@snewcomer)
- Scott Newcomer (@snewcomer)
- #503 Add failing test for accessing belongsTo relationship (@snewcomer)
- Scott Newcomer (@snewcomer)
- #501 Protect if no obj passed to template helper (@snewcomer)
- Scott Newcomer (@snewcomer)
- #500 Properly discern undefined key that was wiped out as a result of a change (@snewcomer)
- #496 Update ember (@andreyfel)
- #500 Properly discern undefined key that was wiped out as a result of a change (@snewcomer)
- Andrey Fel (@andreyfel)
- Scott Newcomer (@snewcomer)
- #494 Remove unused util methods (@andreyfel)
- #497 Allow "value" as a key in a changeset object (@snewcomer)
- Andrey Fel (@andreyfel)
- Scott Newcomer (@snewcomer)
- #493 Ensure Ember.get doesnt fail with undefined (@snewcomer)
- Scott Newcomer (@snewcomer)
- #487 New API - enum of keys to set isDirty state (@snewcomer)
- #490 Unwrap Proxy before sending into validatorFun (@snewcomer)
- Scott Newcomer (@snewcomer)
- #482 Failing test case for validating computed property (@andreyfel)
- #482 Failing test case for validating computed property (@andreyfel)
- Andrey Fel (@andreyfel)
- #486 Fix isObject in set-deep (@snewcomer)
- Scott Newcomer (@snewcomer)
- #484 Implement recursive object tree proxy to properly handle sibling keys (@snewcomer)
- #481 Add isDirty tests (@snewcomer)
- #484 Implement recursive object tree proxy to properly handle sibling keys (@snewcomer)
- Scott Newcomer (@snewcomer)
- #479 Validate nested fields validate/0 (@snewcomer)
- Bas Kamer (@basz)
- Scott Newcomer (@snewcomer)
- #471 Safe set for setDeep (@snewcomer)
- Scott Newcomer (@snewcomer)
- #475 Bump 0.4.7 validated-changeset (@snewcomer)
- Scott Newcomer (@snewcomer)
- #473 Ensure dont lose sibling keys when ask for top level object and child⦠(@snewcomer)
- Scott Newcomer (@snewcomer)
- #467 Use Ember.get if key is dot separated (@snewcomer)
- Scott Newcomer (@snewcomer)
- #466 Leaf detection when merging sibling keys (@snewcomer)
- #466 Leaf detection when merging sibling keys (@snewcomer)
- Scott Newcomer (@snewcomer)
- #465 Ensure get doesnt take into account keys in CHANGES (@snewcomer)
- Scott Newcomer (@snewcomer)
- #462 Bump v-c to return primitive from lookup validator (@snewcomer)
- #456 Add form isValid/isInvalid states to button to ensure tracking works (@snewcomer)
- #462 Bump v-c to return primitive from lookup validator (@snewcomer)
- #460 Use lookup-validator from validated-changeset in test (@snewcomer)
- Scott Newcomer (@snewcomer)
- #447 Fix various bugs with validated-changeset (@snewcomer)
- #445 Bump ember-data 3.16 (@snewcomer)
- #447 Fix various bugs with validated-changeset (@snewcomer)
- #446 Improve README and add @tracked to dummy app (@snewcomer)
- Scott Newcomer (@snewcomer)
- #444 Serialize error object to handle circular objects (@snewcomer)
- Scott Newcomer (@snewcomer)
- #443 Fix set Date on Changeset (@snewcomer)
- Scott Newcomer (@snewcomer)
- #433 validated-changeset 0.2.2 (@snewcomer)
- Scott Newcomer (@snewcomer)
- #439 prevent changelist properties from being proxyed to underlying object. (@arenoir)
- #438 3.17 tests (@snewcomer)
- #435 Use function based Changeset in helper (@snewcomer)
- Aaron Renoir (@arenoir)
- Scott Newcomer (@snewcomer)
- #433 validated-changeset 0.2.1 (@snewcomer)
- Scott Newcomer (@snewcomer)
- Oliver Lj (@oliverlj)
- Scott Newcomer (@snewcomer)
- #428 enhancement Add types to app folder as well (@snewcomer)
- #428 enhancement Add types to app folder as well (@snewcomer)
- Scott Newcomer (@snewcomer)
- #427 enhancement declare typings (@snewcomer)
- Scott Newcomer (@snewcomer)
- #425 Moar types (@snewcomer)
- #426 Set up release-it and lerna-changelog (@herzzanu)
- Sabin Hertanu (@herzzanu)
- Scott Newcomer (@snewcomer)
- #423 Reexport validated-changeset types (@snewcomer)
- #423 Reexport validated-changeset types (@snewcomer)
- Scott Newcomer (@snewcomer)
- #391 validated-changeset - exit beta (@snewcomer)
- Scott Newcomer (@snewcomer)
- @bekzod
- #409 Extend test coverage to sync relationships (@andreyfel)
- #409 Extend test coverage to sync relationships (@andreyfel)
- Andrey Fel (@andreyfel)
- #418 Export Changeset class to allow overriding (@snewcomer)
- #419 If argument is null to Changeset check (@snewcomer)
- Scott Newcomer (@snewcomer)
- #414 Bring back changeset-get for nested getter (@snewcomer)
- #417 Fix false values (@snewcomer)
- #416 Ensure key in obj works with dot separated (@snewcomer)
- #415 Add failing test for nested properties with booleans (@josemarluedke)
- Josemar Luedke (@josemarluedke)
- Scott Newcomer (@snewcomer)
- #413 Follow up: Check array type as well (@snewcomer)
- Scott Newcomer (@snewcomer)
- #412 Handle null cases (@snewcomer)
- #412 Handle null cases (@snewcomer)
- Scott Newcomer (@snewcomer)
- #411 PublicErrors type (@snewcomer)
- Scott Newcomer (@snewcomer)
- #408 Fix a bug with unsafe properties (@andreyfel)
- #404 Fix changeset get for nested properties with changes (@josemarluedke)
- #401 Add set test (@snewcomer)
- Andrey Fel (@andreyfel)
- Josemar Luedke (@josemarluedke)
- Scott Newcomer (@snewcomer)
- #406 Failing test for ember data model. (@luketheobscure)
- luke.js (@luketheobscure)
- #402 Properly manage error keys (@snewcomer)
- Scott Newcomer (@snewcomer)
- #399 Collect errors correctly (@snewcomer)
- Scott Newcomer (@snewcomer)
- #397 Another safeSet for Ember happiness (@snewcomer)
- Scott Newcomer (@snewcomer)
- #395 Add safeSet for Ember tracking context (@snewcomer)
- Scott Newcomer (@snewcomer)
- #393 Fix TS type for changeset.errors (@josemarluedke)
- Josemar Luedke (@josemarluedke)
- #392 Node 10 (@snewcomer)
- #388 Update CHANGELOG.md (@SergeAstapov)
- Scott Newcomer (@snewcomer)
- Sergey Astapov (@SergeAstapov)
- #386 Async validate test (@snewcomer)
- #385 [TEST] #get nested error with key path (@snewcomer)
- Josemar Luedke (@josemarluedke)
- Scott Newcomer (@snewcomer)
- #382 Remove changeset-get helper (@snewcomer)
- #380 Bring back skipped tests (@snewcomer)
- Scott Newcomer (@snewcomer)
- lauren (@poteto)
- #379 [MAJOR]: rewrite for v3 (@snewcomer)
- Scott Newcomer (@snewcomer)
- #378 [BUGFIX]: handling multiple validations (@snewcomer)
- Scott Newcomer (@snewcomer)
- #374 Minor cleanup to native JS (@snewcomer)
- #377 Ensure can add array of strings to addError (@snewcomer)
- Scott Newcomer (@snewcomer)
- #373 Ensure closure over validation map accepts objects first (@snewcomer)
- #373 Ensure closure over validation map accepts objects first (@snewcomer)
- Scott Newcomer (@snewcomer)
- #372 [Minor]: Allow changeset to accept validation map (@snewcomer)
- #368 Cleanup ts build (@snewcomer)
- #370 array set test (@snewcomer)
- Scott Newcomer (@snewcomer)
- #366 Keep property descriptors on assign (@snewcomer)
- #367 Update 3.8 (@snewcomer)
- #366 Keep property descriptors on assign (@snewcomer)
- #365 Fix null/falsey results (@snewcomer)
- #362 Update CHANGELOG.md (@SergeAstapov)
- Scott Newcomer (@snewcomer)
- Sergey Astapov (@SergeAstapov)
- #355 Fix push errors to update error property pr (@alexspeller)
- Alex Speller (@alexspeller)
- #352 Fix validationMap type signature (@matteodepalo)
- Matteo Depalo (@matteodepalo)
- #351 Add changeset-get helper (@josemarluedke)
- Josemar Luedke (@josemarluedke)
- #343 Minor updates (@snewcomer)
- #341 Change app helper to ts (@snewcomer)
- #348 Optional key (@snewcomer)
- Scott Newcomer (@snewcomer)
- #338 Update README (@snewcomer)
- Scott Newcomer (@snewcomer)
- #337 2.0 beta (@snewcomer)
- Scott Newcomer (@snewcomer)
- #320 update ember-deep-set dependency (@0xadada)
- #316 Move around tests and use new qunit apis (@snewcomer)
- #313 Change to use native typeof instead (@homeslicesolutions-zz)
- #312 Bring back m2m test (@snewcomer)
- #328 Use deepSet when updating RUNNING_VALIDATIONS for nested key (@SergeAstapov)
- #318 fix when value is relation, but set as null (@chengz)
- #310 Rollback twice bugfix (@snewcomer)
- #330 Fix deprecations related to Ember.merge and ember-native-dom-helpers (@SergeAstapov)
- #329 Fix failing build (@SergeAstapov)
- 0xADADA (@0xadada)
- Cheng Zhu (@chengz)
- Joe Vu (@homeslicesolutions-zz)
- Scott Newcomer (@snewcomer)
- Sergey Astapov (@SergeAstapov)