Skip to content

Releases: BladeRunnerJS/topiarist

topiarist v0.1.4

14 Sep 09:59
Compare
Choose a tag to compare

Topiarist is now more compatible with the more advanced compilation levels within closure compiler.

IE8 Support

07 Aug 07:03
Compare
Choose a tag to compare

IE8 is now working again, and we now have our automated test suite running against IE8 on every check-in so we can ensure continued compatibility in the future.

Library Standardization

31 Jul 11:20
Compare
Choose a tag to compare

Made a number of changes to make the library more consistent with other typical NPM libraries:

  1. Use karma, mocha & expectations instead of jasmine for testing.
  2. Use browserify instead of webbuilder for building.
  3. Use eslint for linting.
  4. Use npm instead of Grunt as our build tool.
  5. Use standard directory names: lib -> src, spec -> test & target -> dist.
  6. Use npm test for running all tests, including a locally run browser test against Firefox, and SauceLab tests against various other browsers.
  7. Stop using jsdoc, and use example driven README.md based documentation only.
  8. Stop creating browser-modules compatible distributions of our libraries, that even we don't use.
  9. Use a master branch instead of a gh-pages branch for simplicity, and get rid of the extra styling, and links to the different presentations of the exact same content.
  10. Use : as a delimiter to indicate sub-tasks.
  11. Stop using browser detection guards within code and tests, and instead let browserify provide a consistent environment.

Better isA() performance

25 Oct 21:06
Compare
Choose a tag to compare

Improved the performance of the isA() method for typeof() and instanceof() style checks. Although Topiarist would benefit from optimization of all of it's methods, isA() is by far the most commonly invoked, and therefore in greatest need of optimization.

Stable API Naming

16 Oct 20:00
Compare
Choose a tag to compare

As part of this release, we've made the following improvements:

  • topiarist.implement() has now been renamed to topiarist.hasImplemented().
  • A new topiarist.implement() method has been created that works the same as the old one, but which can be invoked immediately after the constructor — it instead becomes a signal of intent, allowing isA() checks to immediately pass, where verification is delayed until after a class has had a chance to implement any interface methods.
  • topiarist.isAssignableFrom() was renamed to topiarist.classIsA(), but is also still available under
    the old name.
  • topiarist.export() was renamed to topiarist.exportTo(), but is also still available under
    the old name.