Skip to content

Releases: adopted-ember-addons/ember-changeset

v3.10.3

06 Dec 01:40
Compare
Choose a tag to compare
3.10.3

v3.10.2

21 Nov 05:31
Compare
Choose a tag to compare
3.10.2

v3.10.1

16 Oct 02:47
Compare
Choose a tag to compare
3.10.1

v3.9.0

10 Sep 05:18
Compare
Choose a tag to compare
3.9.0

v3.0.0

15 Oct 17:56
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.5...v3.0.0

A nice release

04 Nov 16:52
Compare
Choose a tag to compare

This release contains a bunch of bug fixes and updates the changeset helper to accept a ValidationMap instead of only a validation function. This adds the functionality from ember-changeset-validations.

Going from here, we will be working on a native Proxy solution to see if we can fix the ever present bugs with nested keys while also simplifying the support code that exists to buffer changes on a model until validation that occurs.

It's happening

03 Feb 20:39
Compare
Choose a tag to compare

Can't thank @dorilla enough for his work to get us to 2.0! Most of this work involved converting the addon to TypeScript and removing an implementation for nested key setters that was causing problems in other situations detailed here. Converting to TypeScript really improved our ability to understand the codebase and refactor existing methods to smaller, more understandable forms. Given we override changeset.set to handle nested keys, we also added a changeset-set template helper to be used in templates that gets around the implicit set(changeset invocation. However, we need to improve the ergonomics of that helper as I'm not sure it works in all cases I've seen in the issues.

Now for breaking changes, I'm not necessarily sure you will see breaking changes for your apps. There was just lots of moving around and improving existing methods. Luckily, we have a phenomenal test suite to back up those changes so 🙇to everybody before me. For those that already had issues, hopefully those are fixed. If not, let's collaborate!

  • Update README #338
  • Nested setters and getters improvement #335
  • Add tslint #334
  • Belongs-To set to null or undefined #333
  • Fix deprecations related to Ember.merge and ember-native-dom-helpers #330
  • Fix failing build #329
  • Use deepSet when updating RUNNING_VALIDATIONS for nested key #328
  • Convert addon to typescript #327
  • Remove Relay Implementation #326
  • Fix typo in assertion message for the error property. #325
  • update ember-deep-set dependency #320
  • fix when value is relation, but set as null #318
  • Move around tests and use new qunit apis #316

Release

29 Aug 04:51
Compare
Choose a tag to compare

This follows months of hard work by many people. Most importantly, includes nested keys getter and setters.

v1.5.0-beta.0

22 Feb 02:05
Compare
Choose a tag to compare
v1.5.0-beta.0 Pre-release
Pre-release

Thanks to @makepanic, this release adds support for fetching a Changeset's underlying source data. Example:

const c = new Changeset(content);
c.get('data') === content; // => true

We mark this release as beta because there are likely still some bugs between nested keys and ED relationships from the 1.4.x releases.