James Burke

RequireJS 2.1.14 Released

Mon, 02 Jun 2014 16:58:52 GMT

RequireJS 2.1.14 is available.

A couple more regression fixes for 2.1.12. One to fix nested plugin ID normalization, like "pluginA!pluginbB!resource", and one for the optimizer incorrectly detecting UMD wrapped code.

RequireJS 2.1.13 Released

Tue, 27 May 2014 16:54:30 GMT

RequireJS 2.1.13 is available.

Version 2.1.12 regressed around ID normalization. 2.1.13 fixes that regression. It is recommended that you do not use 2.1.12, but use 2.1.13 instead.

RequireJS 2.1.12 Released

Tue, 27 May 2014 01:51:28 GMT

RequireJS 2.1.12 is available.

Just a bug fix/maintenance release. Full list of changes:

RequireJS 2.1.11 Released

Mon, 17 Feb 2014 06:28:09 GMT

RequireJS 2.1.11 is available.

Some bug fixes, with the most notable addition is an optimizer option, wrapShim. This will wrap shimmed dependencies in a define() call so that they work better after a build when their upstream dependencies are also AMD modules with dependencies.

The most notable case is probably when using an AMD-aware version of Backbone, but using shim config for scripts that depend on Backbone. If this is your use case, then setting wrapShim: true in the optimizer config will likely fix any post-build problem you might see. More details in the bug ticket.

Full list of changes:

RequireJS 2.1.10 Released

Thu, 09 Jan 2014 00:32:28 GMT

RequireJS 2.1.10 is available.

Mainly a maintenance release, and improves some cases when reusing code that was installed via npm. There are two new config options for the loader too:

And for the optimizer, the mainConfigFile option can now take an array of file paths that have configs in them. Later values take precedent over earlier values.

Full list of changes: