Release 0.15.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Release 0.15.1

Herby Vojčík
Hello!

The new release is out which has a few breaking changes under the hood.

* From this version on, Amber will fully comply to semver:
   * Any breaking change will result in increase of first non-zero number.
   * If first non-zero number is not changed, no breaking changes are
present in release.
* Changed how ST globals are implemented, resulting in shorter and
faster code.
* Not working any more on IE8 (b/c of changed globals).
* amber.initialize(...) returns a promise.
* JS global Promise must be present.
   * If missing, you can polyfill with `bower install
amber-compat-es2015 --save`.
* JS Promise is wrapped in ST class Promise.

The main change is, you now must change this code:

   amber.initialize({...options...});
   // Other code

into

   amber.initialize({...options...}).then(function () {
     // Other code
   });

If you are not sure your app / lib will only be run in modern browsers,
do also `bower install amber-compat-es2015 --save`.

And of course, as usual, first update cli with `npm -g install amber-cli`.

To update a project, you need to update all parts, as nearly everything
bumped version (the best way is to run `amber init` with new cli on
different directory, then copy the skeleton changes), then, of course,
`grunt` to recompile your code. There were some changes on how code is
compiled (the globals, as mentioned above).

Herby

P.S.: 0.15.1 because I forgot to implement Promise class >> all: and
Promise class >> any: so I did a quick amendment release.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Release 0.15.1

philippe.back@highoctane.be

Great. Will try that one out.

Phil

On Feb 6, 2016 3:22 AM, "Herby Vojčík" <[hidden email]> wrote:
Hello!

The new release is out which has a few breaking changes under the hood.

* From this version on, Amber will fully comply to semver:
  * Any breaking change will result in increase of first non-zero number.
  * If first non-zero number is not changed, no breaking changes are present in release.
* Changed how ST globals are implemented, resulting in shorter and faster code.
* Not working any more on IE8 (b/c of changed globals).
* amber.initialize(...) returns a promise.
* JS global Promise must be present.
  * If missing, you can polyfill with `bower install amber-compat-es2015 --save`.
* JS Promise is wrapped in ST class Promise.

The main change is, you now must change this code:

  amber.initialize({...options...});
  // Other code

into

  amber.initialize({...options...}).then(function () {
    // Other code
  });

If you are not sure your app / lib will only be run in modern browsers, do also `bower install amber-compat-es2015 --save`.

And of course, as usual, first update cli with `npm -g install amber-cli`.

To update a project, you need to update all parts, as nearly everything bumped version (the best way is to run `amber init` with new cli on different directory, then copy the skeleton changes), then, of course, `grunt` to recompile your code. There were some changes on how code is compiled (the globals, as mentioned above).

Herby

P.S.: 0.15.1 because I forgot to implement Promise class >> all: and Promise class >> any: so I did a quick amendment release.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.