Skip to content

Releases: LeonardoVal/sermat.js

sermat.js v0.0.8

13 Jun 15:25
Compare
Choose a tag to compare
  • Major parser overhaul. Now using custom top-down parser.
  • Extended syntax to allow mixing key: value pairs and values. This allows properties for arrays, uses indexes in objects and may have custom treatment in constructions.
  • Prototype chains can now be serialized, using the __proto__ key.
  • Changed allowUndefined modifier to onUndefined, which can be used to set a specific value.
  • Added modifiers argument to the materializer.
  • Added functions clone and hashCode.
  • Added backtick literals, not exactly equal but similar to ES6 backtick literals.
  • Extended test cases and changed benchmarking to run under NodeJS with grunt-benchmark.
  • Minor fixes and changes to the build.

sermat.js v0.0.7

29 Nov 20:11
Compare
Choose a tag to compare
  • Added a pretty-printing capability to the serializer.
  • Removed support for binary typed arrays. It will be added in a separate module.
  • Added support for error types (Error, SyntaxError, TypeError, etc).
  • Optimized serialization in REPEAT_MODE.
  • Fixed type identifiers in IE, and improved checks.

sermat.js v0.0.6

25 Sep 02:35
Compare
Choose a tag to compare
sermat.js v0.0.6 Pre-release
Pre-release
  • Language modification: construction identifier can be quoted (as strings), so they do not have to comply to identifier syntax anymore.
  • Added the type construction, for serializers to be able to encode references to types (constructor functions).
  • Enhancements in registry management, including exclude, autoinclude modifier, better identifier checks.
  • Added partial binary support for one byte typed arrays, using base 64 encoding.
  • Code factorization, documentation enhancements and better testing.

sermat.js v0.0.5

03 Aug 03:52
Compare
Choose a tag to compare
sermat.js v0.0.5 Pre-release
Pre-release
  • Added autoInclude modifier (true by default) that allows to control if the serialize includes missing types automatically.
  • Updated testing framework and added runners for Chrome and Firefox.
  • registry now handles includes in the spec.
  • include now returns the registry entry.
  • serializeWithProperties renamed to serializeAsProperties.
  • Identifiers without arguments now account for the type's function; e.g. 'Date'.

sermat v0.0.4

27 Jul 03:24
Compare
Choose a tag to compare
sermat v0.0.4 Pre-release
Pre-release
  • Reworked registry, adding function include.
  • Optimized parser by changing the format of the parse table.
  • Added default modifiers.
  • Changed flags for serialization to mode of operation.
  • Added AMD library variant, and simplified the build process.

sermat v0.0.3

12 Jul 04:15
Compare
Choose a tag to compare
sermat v0.0.3 Pre-release
Pre-release
  • Optimized parser.
  • Identifier check at registry.
  • Split library in three variants: simple, node (CommonJS) and UMD.
  • Serializers and materializers now execute with Sermat as this.
  • Added checkSignature and serializeWithProperties.
  • Added metaproperties, including the module builder function __init__.

sermat v0.0.2

06 Jul 03:40
Compare
Choose a tag to compare
sermat v0.0.2 Pre-release
Pre-release

First release.