Skip to content

Releases: dchambers/typester

Hotspotting improvements

Choose a tag to compare

@dchambers dchambers released this 18 Nov 08:14

We no longer enable hot-spotting for functions where type verification has recently failed.

Fast Performant Typester

Choose a tag to compare

@dchambers dchambers released this 17 Nov 00:05

Typester v1.0.0 introduces a new backwardly incompatible API that is significantly faster than the old one because:

  1. It removes the need to refer to the arguments keyword, which degrades performance.
  2. It no longer requires an anonymous function to be created each time a method is invoked.
  3. It makes it possible to provide a hotspotting mechanism that works with all type-safe methods.

Performance Enhancements

Choose a tag to compare

@dchambers dchambers released this 05 Nov 22:52

Under halved the time required to run the performance tests.

Better Fail-Fast Feedback

Choose a tag to compare

@dchambers dchambers released this 24 Oct 21:12

The following fail-fast features were added:

  • Typester now verifies the arguments for it's own methods, to provide fast feedback to developers that incorrectly use the API.
  • Typester now fails-fast if any arguments remain unverified after invoking a method, so that consumers of an API know when they have provided redundant arguments, and so that producers of an API know when they need to add additional verifications for any newly added method parameters.

Object Verifier Added

Choose a tag to compare

@dchambers dchambers released this 23 Oct 08:02

A new object() verifier is now provided that enhances isA(Object) by ensuring typeof(obj) == true.

Optional Argument Support

Choose a tag to compare

@dchambers dchambers released this 22 Oct 19:52

Added support for non-mandatory arguments, via the optionally modifier.

Non-NPM bug-fix.

Choose a tag to compare

@dchambers dchambers released this 22 Oct 07:46

You can once again use typester in non-NPM environments.

Initial Release

Choose a tag to compare

@dchambers dchambers released this 22 Oct 07:29

Initial version of the library.