Skip to content
This repository was archived by the owner on Mar 15, 2023. It is now read-only.

v0.4.0

Latest
Compare
Choose a tag to compare
@dillonredding dillonredding released this 07 Oct 19:59

Added

  • stringify and parse functions for generating and parsing Siren JSON

Changed

  • Object creation now done via static factory methods (e.g., Entity.of({...}))
  • Validation is now done via class-validator
  • Renamed Entity's and Action's get* methods to find*

Removed

  • Query methods:
    • Entity.prototype.getActionsByClass()
    • Entity.prototype.getEntitiesByClass()
    • Entity.prototype.getLinksByClass()