James Burke

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:

RequireJS 2.1.9 Released

Mon, 14 Oct 2013 22:19:45 GMT

RequireJS 2.1.9 is available.

Mainly a maintenance release to fix bugs. There is a new skipDataMain option in require.js to avoid the data-main work, which can be useful for browser extensions that should let the main content page's requirejs handle the data-main.

Full list of changes:

RequireJS 2.1.8 Released

Tue, 09 Jul 2013 06:55:25 GMT

RequireJS 2.1.8 is available.

A small release to fix an optimizer issue with parsing config calls for modifications.

RequireJS 2.1.7 Released

Mon, 08 Jul 2013 05:27:58 GMT

RequireJS 2.1.7 is available.

The main changes for this release:

Full list of changes: