UNPKG

simplestatemanager

Version:

SimpleStateManager is a library that allows you to enable and disable JavaScript based on the characteristics of the device.

149 lines (140 loc) 4.45 kB
--- layout: default --- <div class="jumbotron hero jumbotron-fluid"> <div class="container"> <h1 class="display-4">Releases</h1> </div> </div> <section id="log"> <div class="container"> <p>SimpleStateManager follows <a href="http://semver.org/">Semantic Versioning 2.0.0</a></p> <h2>4.0.0 - December 2017</h2> <p>In SimpleStateManager 4.0.0 the library is completely rewritten into ES6. I also updated the API so that there is less duplication.</p> <ul> <li>Updated whole codebase to ES6</li>. <li>Seperated out the `utils` into a seperate file</li> <li>Seperated out `state` into a seperate file</li> <li>Use requestAnimationFrame for debounce [Issue #41]</li> </ul> <h2>3.2.0 - August 24th, 2016</h2> <ul> <li>Add method to enable developers to attach multiple callbacks to a state</li> </ul> <h2>3.1.2 - June 17th, 2016</h2> <ul> <li>Fixed a bug where IE11 would reject a media expression that is an empty string, switched to provide a media expersion that is always true as the default.</li> </ul> <h2>3.1.1 - March 8th, 2016</h2> <ul> <li>Fixed bug that prevented removing states correctly removing the listeners</li> </ul> <h2>3.1.0 - February 10th, 2016</h2> <ul> <li>Added isActive method back into library</li> </ul> <h2>3.0.0 - June 8th, 2015</h2> <ul> <li>Rewrite to use the matchMedia API</li> <li>Add support for media queries</li> <li>Major refactor</li> <li>Remove legacy browser (IE 8 and below) support</li> </ul> <h2>2.4.1 - May 17, 2015</h2> <ul> <li>Fix browser width when browser is zoomed</li> </ul> <h2>2.4.0 - December 29, 2014</h2> <ul> <li>Improved release process with version auto updating</li> <li>Implemented proper AMD support</li> <li>Made the site a seperate repository</li> </ul> <h2>2.3.0 - July 25, 2014</h2> <ul> <li>Added onFirstRun callback method to states.</li> </ul> <h2>2.2.6 - June 23, 2014</h2> <ul> <li>Fixed issue where you can apply multiple readies.</li> </ul> <h2>2.2.5 - June 12, 2014</h2> <ul> <li>Fixed issue where it didnt work when you zoom the browser.</li> </ul> <h2>2.2.4 - March 12, 2014</h2> <ul> <li>Fixed issue where respond.js would trick SimpleStateManager into thinking the matchMedia API was fully supported.</li> </ul> <h2>2.2.3 - February 14, 2014</h2> <ul> <li>Fixed issue where the width of the browser would not always match the media query.</li> </ul> <h2>2.2.2 - February 12, 2014</h2> <ul> <li>Fixed issue where config options were required otherwise there would be an error.</li> </ul> <h2>2.2.1 - January 31, 2014</h2> <ul> <li>Fixed build issue</li> </ul> <h2>2.2.0 - January 29, 2014</h2> <ul> <li>Added ssm.isActive to allow us to test if a state is active.</li> </ul> <h2>2.1.0 - December 23, 2013</h2> <ul> <li>Added config option API which allows you to add your own SimpleStateManager config options along with the test to see if they are valid.</li> <li>Rewrote how testing of minWidth and maxWidth is handled to use the new config option API</li> <li>Added new unit tests to improve code coverage</li> </ul> <h2>2.0.3 - October 7, 2013</h2> <ul> <li>Fixed issue where browser width was not updated correctly</li> </ul> <h2>2.0.2 - September 26, 2013</h2> <ul> <li>Fixed issue where leave events fired incorrectly</li> </ul> <h2>2.0.1 - September 18, 2013</h2> <ul> <li>Fixed issue where ssm.js could not be placed in the head of the document</li> </ul> <h2>2.0.0 - September 13, 2013</h2> <ul> <li>Major API changes to all states mangement methods, please read through the new API documention if upgrading</li> <li>Ability to overlap your states</li> <li>Debug mode removed - replaced with a new debug tool (currently early alpha) which will continue to be expanded to allow better responsive debugging</li> <li>Define min-width and max-width values for each state</li> <li>Easier to extend SSM (it is now encouraged)</li> </ul> <h2>1.3.0 - August 10, 2013</h2> <ul> <li>Added .removeStates method</li> <li>Added unit tests using QUnit</li> <li>Integrated Travis CI</li> </ul> <h2>1.2.0 - August 9, 2013</h2> <ul> <li>Added .getState method</li> </ul> <h2>1.1.0 - August 9, 2013</h2> <ul> <li>Added .removeAllStates method</li> </ul> <h2>1.0.2 - August 6, 2013</h2> <ul> <li>AMD Support</li> <li>Replaced Debounce with timeout</li> <li>New Site</li> </ul> <h2>1.0.1 - June 24, 2013</h2> <ul> <li>Added Debounce to SSM (Thanks Kevin)</li> </ul> <h2>1.0.0 - June 22, 2013</h2> <ul> <li>Initial release</li> </ul> </div> </section>