RequireJS 2.1.15 Released

Mon, 08 Sep 2014 01:15:05 GMT

RequireJS 2.1.15 is available.

Mainly fixes a regression from 2.1.14 in the r.js optimizer where some define() calls were not found. The most common manifestations of the bug would be either an extra define('jquery', function(){}) in the build output or namespaced builds not working. The fixes for 2.1.15 are just in the optimizer. Full list of changes:

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: