Releases: LeonardoVal/sermat.js
Releases · LeonardoVal/sermat.js
sermat.js v0.0.8
- 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 toonUndefined
, which can be used to set a specific value. - Added
modifiers
argument to the materializer. - Added functions
clone
andhashCode
. - 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
- 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
- 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
- Added
autoInclude
modifier (true by default) that allows to control if theserialize
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 toserializeAsProperties
.- Identifiers without arguments now account for the type's function; e.g.
'Date'
.
sermat v0.0.4
- 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
- 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
andserializeWithProperties
. - Added metaproperties, including the module builder function
__init__
.
sermat v0.0.2
First release.