From 3f96319f103d1e9dc4a6de220d2a9934e00df0b6 Mon Sep 17 00:00:00 2001 From: kpdecker Date: Sat, 12 Oct 2013 16:21:52 -0500 Subject: [PATCH] Update compat notes for es6-modules --- release-notes.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/release-notes.md b/release-notes.md index e7f5ca0f..786761bc 100644 --- a/release-notes.md +++ b/release-notes.md @@ -8,8 +8,10 @@ - [#544](https://github.com/wycats/handlebars.js/issues/544) - Push travis builds to build server ([@fivetanley](https://github.com/fivetanley)) Compatibility notes: -- The client-code has been wrapped in a hybrid AMD/CommonJS loader. - This may cause unexpected issues with different build/loading mechanisms so this change is being made early in the 1.1 lifecycle. +- The project now includes separate artifacts for AMD, CommonJS, and global objects. + - AMD: Users may load the bundled `handlebars.amd.js` or `handlebars.runtime.amd.js` files or load individual modules directly. AMD users should also note that the handlebars object is exposed via the `default` field on the imported object. This [gist](https://gist.github.com/wycats/7417be0dc361a69d5916) provides some discussion of possible compatibility shims. + - CommonJS/Node: Node loading occurs as normal via `require` + - Globals: The `handlebars.js` and `handlebars.runtime.js` files should behave in the same manner as the v1.0.12 / 1.0.0 release. [Commits](https://github.com/wycats/handlebars.js/compare/v1.0.12...master)