Skip to content

v6.3.0

Compare
Choose a tag to compare
@bmomberger-bitovi bmomberger-bitovi released this 22 Jan 22:08
· 33 commits to master since this release

canjs/canjs v6.3.0 Release Notes

can-connect-ndjson

can-control

  • can-control v5.0.1 - Fix a queued teardown crash with viewModel listeners
    Running can-control teardowns from the dom queue (as can-view-live now does) causes control teardown and rebinding of action listeners to run out of order, which throws an error. This release prevents the error, and also delays teardown to the mutate queue if triggered from the dom queue.

See canjs/can-control#143 for more

can-define-realtime-rest-model

can-define-rest-model

can-dom-mutate

can-map

can-memory-store

can-observable-mixin

class Foo extends ObservableObject() {
    static get props() {
       return {
	 nullProp: { default: null },
	 undefinedProp: { default: undefined }
      };
   }
}

var foo = new Foo();

foo.nullProp // -> null
foo.undefinedProp // -> undefined

and

class Foo extends ObservableObject() {
    static get props() {
       return {
	 nullProp:  null ,
	 undefinedProp: undefined
      };
   }
}

var foo = new Foo();

foo.nullProp // -> null
foo.undefinedProp // -> undefined

canjs/can-observable-mixin#154

can-route

canjs/can-route#256

can-simple-dom

canjs/can-simple-dom#99

can-stache

This enables for loops to loop through numbers:

{{# for(this.count) }}
  {{ scope.index }}
{{/ for }}

can-stache-bindings

can-stache-element

import { StacheElement } from "can/everything"; -> import { StacheElement } from "can";

canjs/can-stache-element#99

can-super-model

can-type

can-view-live

With this PR, all updates in can-view-live are queued on the dom queue and therefore updated in DOM order, whether they are html, text, list, or attribute updates.

See #155 for more.

canjs/can-view-live#154