⚠ Releases

Note: This page is no longer being updated. It remains here for posterity.

Modernizr 1.5

The fourth release of Modernizr adds detection support for:

Additional small updates:

  • There are now unit tests on the GitHub repository
  • IE can now print HTML5 elements
  • More browsers supported: Opera 10.5, older Safari versions, Nokia and Blackberry mobile browsers, and Konqueror via the -khtml- prefix

Lastly, Modernizr is dual-licensed MIT-BSD as of version 1.5.


Modernizr 1.1

The third release of Modernizr adds detecting support for:

  • localStorage
  • sessionStorage
  • Web Workers
  • applicationCache
  • All new HTML5 input properties
  • HTML5 Audio and Video formats (supported codecs)

Another new feature in 1.1 is that Modernizr now has an addTest() method which allows you to hook in your own feature detection tests. See the documentation for more info.

Other changes between 1.0 and 1.1:

  • Version number: Modernizr now contains its own version number via the property Modernizr._version.
  • CSS Gradients: we've added support for Mozilla Firefox's new CSS Gradients syntax. Please refer to Mozilla's documentation on linear-gradient and radial-gradient for syntax and usage notes.
  • File size: The new filesizes are 7.49 kb for the compressed version, and 25 kb for the uncompressed one. Despite this increase and the ~20% new features being tested, performance has been kept equal to 1.0, so you can still rely on Modernizr to be lean and fast.

Modernizr 1.0

In the first major milestone release, Modernizr adds the following feature detections to the 0.9 release:

  • @font-face
  • HTML5 Audio
  • HTML5 Video
  • Canvas Text
  • Geolocation API
  • 13 new HTML5 Input types
  • CSS 3D Transforms

Other changes between 0.9 and 1.0:

  • File size: the 1.0 release is more compact in code, but due to many added features still weighs in slightly bigger: 16 kb uncompressed, 7 kb compressed and minified.
  • Backwards compatibility: Modernizr 1.0 (and going forward) adds the CSS classes to the html element as opposed to the body element. This change could break some CSS files. To fix, simply use .featurename as class selector in your CSS, as opposed to the old (now outdated and incompatible) body.featurename.

Modernizr 0.9

This is the intiial public release of Modernizr. It features detection for:

  • Canvas
  • rgba()
  • hsla()
  • border-image:
  • border-radius:
  • box-shadow:
  • Multiple backgrounds
  • opacity:
  • CSS Animations
  • CSS Columns
  • CSS Gradients
  • CSS Reflections
  • CSS Transforms
  • CSS Transitions

Canvas and CSS Columns support is very rudimentary, in that they both only check for one specific part as the test. This means that while that particular subset of the overall feature works, other components of it may not work in the browser. Future releases of Modernizr will include more extensive testing for these features to make the outcome of the tests for Canvas and CSS Columns more reliable.