Skip to content

Releases: canjs/steal-stache

Synchronous support for can-import

04 Oct 13:50
Compare
Choose a tag to compare

New: support for synchronous imports via <can-import> like so:

<can-import from="./my-module" module:to="myModule"/>

{{ console.log(myModule) }}

This adds a new LetContext to each template, which constitutes a breaking change for steal-stache.

Object.assign polyfill for IE11 support

03 Jul 21:40
Compare
Choose a tag to compare

This adds can-assign in place of using Object.assign to allow for graceful fallback for browsers that don't support Object.assign.

QUNIT2 upgrade

28 May 20:25
Compare
Choose a tag to compare

This updates the tests to use QUnit@2.x.x.
#78

4.1.3

06 May 12:12
Compare
Choose a tag to compare

This updates the can-view-import version so that we use can-dom-data rather than can-dom-data-state.

4.1.2

09 Jun 17:37
Compare
Choose a tag to compare

Fixes a regression where helpers passed to the renderer function were not being called.

var template = require("./template.stache");

template(data, {
  someHelper: function(){
    return "this works again";
  }
});

4.1.1

08 Jun 21:52
Compare
Choose a tag to compare

Fixes issue with can-import not loading relative modules

In some scenarios, steal-stache would not add the module metadata needed by can-view-import to be able to load relative imports (the parent module address). This patch release makes sure the module metadata is added to the property read can-view-import during when is processing the imports.

Improved 404 error messaging

01 Mar 15:01
Compare
Choose a tag to compare

This improves error messaging for developers using steal 1.7.0.

screen shot 2018-03-01 at 9 22 27 am

Pull Requests

Enable Greenkeeper, and update docs

01 Nov 23:27
Compare
Choose a tag to compare
  • Update dependencies to enable Greenkeeper 🌴 #31
  • Update docs with new @parent & @collection #48
  • provide filename to intermediate_and_imports call (fixes #45) #46

Use Latest Stache

13 Oct 17:36
Compare
Choose a tag to compare

Update to latest Stache, to include filename in parser call.

removed can-* pre-releases

15 Aug 20:45
Compare
Choose a tag to compare