Changelog History
Page 2
-
v6.2.4 Changes
November 03, 2019๐ https://github.com/canjs/can-observable-bindings/releases/tag/v1.3.2 - fixes property initialization to use converter.
-
v6.2.3 Changes
October 31, 2019๐ canjs/canjs v6.2.3 Release Notes
๐ can-connect-feathers
- ๐ can-connect-feathers v6.0.0-pre.0
- ๐ can-connect-feathers v6.0.0 - Upgrade to support Feathers 4
โฌ๏ธ This is an upgrade to can-connect-feathers to make it compatible with Feathers 4. Now can-connect-feathers can be used with CanJS 4, CanJS 5 and Feathers 4 apps.
โฌ๏ธ A future version will upgrade for CanJS 6 compatibility.
- ๐ can-connect-feathers v7.0.0 - Support for CanJS 6
โก๏ธ This updates can-connect-feathers for support for CanJS 6.
๐ can-observable-array
- ๐ can-observable-array v1.0.4 - Implement
can.getOwnEnumerableKeys
symbol
๐ This patch release fixes #71
-
v6.2.2 Changes
October 28, 2019 -
v6.2.1 Changes
October 23, 2019๐ canjs/canjs v6.2.1 Release Notes
๐ can-observable-array
๐ Make sure
for...in
works with can-observable-array instances๐ This patch release fixes an issue where
ownKeys
returned an array with duplicated keys causing the following code to throw an exceptionimport { ObservableArray } from "//unpkg.com/can@6/core.mjs";class List extends ObservableArray {}let list = new List();for (var name in list) { console.log(name); }
๐ can-observable-mixin
- ๐ can-observable-mixin v1.0.4 - Get update and updateDeep to work on list-like objects
๐ This patch release fixes.update
andupdateDeep
behavior when called on list-like objects.
โก๏ธ The following code was throwing an exception due to both methods always calling
canReflect.updateMap
andcanReflect.updateDeepMap
under the hood even if the caller was an array.class MyArray extends mixinMapProps(Array) {}let arr = new MyArray();arr.push(1, 2, 3, 4);assert.equal(arr.length, 4);arr.updateDeep([]); // throws an exceptionassert.equal(arr.length, 0);
- ๐ can-observable-mixin v1.0.4 - Get update and updateDeep to work on list-like objects
-
v6.2.0 Changes
October 22, 2019๐ canjs/canjs v6.2.0 Release Notes
๐ This is a minor release with several error message improvements.
๐ can-attribute-observable
๐ can-observable-array
๐ can-observable-array v1.0.2 - Run properties set by index through the Array.items converter
When setting an item by index, it should run through theArray.items
converter. This will do so now:class MyArray { static items = type.convert(Number); }let arr = new MyArray(); arr[0] = "4";console.log(arr[0]); // 4
๐ can-observable-bindings
โ Add
fromAttribute
to can-namespace๐ This patch release adds
fromAttribute
tocan-namespace
so it is available on the globalcan
object.๐ can-observable-bindings v1.3.0 - The ability to pass a object to fromAttribute
๐ This makes possible to pass a conversion object tofromAttribute
, the object must haveparse
andstringify
methods:person: { type: Object, bind: fromAttribute( JSON ) }
Or
person: { type: Object, bind: fromAttribute( 'attribute-name' , JSON ) }
๐ can-observable-mixin
- ๐ can-observable-mixin v1.0.3 - Enhance type error message
โจ This enhance type error message by adding the value type in the message:
Before:
farah.age = '4'; // -> Uncaught Error: 4 is not of type Number. Property age is using "type: Number". Use "age: type.convert(Number)" to automatically convert values to Numbers when setting the "age" property.
`Now:
farah.age = '4'; // -> Uncaught Error: "4" (string) is not of type Number. Property age is using "type: Number". Use "age: type.convert(Number)" to automatically convert values to Numbers when setting the "age" property.
-
v6.1.3 Changes
October 18, 2019๐ canjs/canjs v6.1.3 Release Notes
๐ can-observable-array
๐ can-observable-array v1.0.2 - Run properties set by index through the Array.items converter
When setting an item by index, it should run through theArray.items
converter. This will do so now:class MyArray { static items = type.convert(Number); }let arr = new MyArray(); arr[0] = "4";console.log(arr[0]); // 4
-
v6.0.0-pre.9
September 05, 2019 -
v6.0.0-pre.8
August 27, 2019 -
v6.0.0-pre.7
August 20, 2019 -
v6.0.0-pre.6
August 15, 2019