- Moving Supertype to @havenlife/supertype in NPM
- Adding a statsd client property on base object template.
- Add amorphic context to the SupertypeLogger
- Making sure logging method can be customized
- Adding a public api to allow customization of supertype's logging functionality.
- Converted to typescript, added classes for Supertype, ObjectTemplate, added compilation step
- Added prepublish hook for compilation
- Updated Circle CI for tests
- Reverted cleanup for @supertypeClass({}) in index.js
- Removed unused function _injectIntoObject.
- Removed unused property templateProps.
- copyProperties function should be available on Supertype.
- Fix to controller name lookup to support minification.
- Fixed deserialization to preserve order of POJO
- Fixed injection issue
- Numerous fixes for typescript
- Added some missing typings like amorphicClass, amorphicClassName
- Updated several TypeScript tests.
- Support for minified code.
- Support for TypeScript.
- Added feature to allow
toClient
andtoServer
properties on an extended template.
- Fix to support IE with lazy template loading
- Support for lazy template loading.
- Fixed problem with multiple applications on toClient
- Noop refactor
- Fixed problem with list of app names for toClient rules
- Added objectTemplate.usageMap for list of instantiated templates
- Fixed problem in clone where subtypes not being cloned properly
- Carry over toClient and toServer in intropected properties
- Reduced duplicate template names to warning rather than an error
- For new template scheme mixin duplicate extends or scream if they are different
- staticMixin capability
- Leave sourceTemplate on prototype[prop].templateSource and defineProperty[prop].sourceTemplate
- Support for mixing in templates
- Handle definitions of naked array values and undefined object types due to template files not being present in the browser (e.g. toClient: false)
- Bug in handling of toClientRuleSet
- Record createProps in template for introspection purposes
- Record creation properties (.e.g. body, on, etc) for function definitions
- template.props was incorrect
- Fixed toClient setting which was incorrect
- Fixed clone to allow not cloning sclars and arrays
- Allow values and descriptions to be available in init functions
- Added isVirtual
- Added obj.descriptions obj.values and template.props
- Added bunyan style logging
- Abstract function for semotus
- toClient toServer now setup correctly on browser as well
- Added objectTemplate.templateInterceptor("extend"/"create"/"mixin", name, properties);
- No change
- Better support for excluding from the browse
- Allow functions for isLocal on templates
- Handle overriding of values in extended classes
- Allow pojo to be passed into creator callback
- Was converting null to init value when reconstituting objects
- Don't copy version on copyObject to avoid update conflicts
- fixed a problem where getters were getting called as templates were being defined
- support for getters and setters
- restore changed internal property
- Allow replacer in toJSONSTring
- Allow mixin to override properties
- fromJSON string was not handling references properly when using an id prefix
- createCopy() now prevents calling init on cloned objects
- Fixes to createCopy()
- Added createCopy() to intelligently clone a portion of an object graph
- Handling of transient for semotus
- When de-serializing include version if present in pojo
- Added some additional error detail
- Support for encoding toServer/toClient properties for the benefit of semotus
- Added an id qualifier from .fromJSON so as not to have id conflicts when restoring "copies" of objects
- Don't call init when an object is created that already has an id since init was at some point called
- !! Naming convention changed such that collection:name is replaced by just name
Added ObjectTemplate.getTemplateByName(name)