Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 3.07 KB

CHANGELOG.md

File metadata and controls

53 lines (39 loc) · 3.07 KB

Changelog

0.8.1 (Pre Release)

  • Remove need to pass request object as it is an attribute in the model #PR 40

0.8.0 (Pre Release)

  • The data for active models can now automatically initialise #PR 37
  • Assign attributes will create an active model if it does not exist #PR 38

0.7.1 (Pre Release)

  • Add a period to string #PR 34
  • Add a helper to calculate a date period in time #PR 35

0.7.0 (Pre Release)

  • Add the ability to create new models while saving models #PR 30
  • Add the ability to save when there is an array of models #PR 31
  • Change IDs so they are strings for both static and active models #PR 31 & #PR 32

0.6.0 (Pre Release)

  • Add the Request object as an attribute on the active model #PR 28

0.5.0 (Pre Release)

  • Update and add some date helpers #PR 26

0.4.1 (Pre Release)

  • Fix some issues with validations #PR 24

0.4.0 (Pre Release)

  • Add date validations and the ability to assign date attributes #PR 21

0.3.2 (Pre Release)

  • Fix anothor issue with the assign attributes method and the static model validator #PR 19

0.3.1 (Pre Release)

  • Fix issue with the assign attributes method #PR 17

0.3.0 (Pre Release)

  • There are now callback functions available for active models #PR 15

0.2.1 (Pre Release)

  • Small update to improve the cast method #PR 12

0.2.0 (Pre Release)

  • When assigning attributes, you can now pass arrays #PR 10

0.1.1 (Pre Release)

  • While adding tests to the framework, a bug was found in formatDate which was fixed

0.1.0 (Pre Release)

  • First release of CCS Prototype Kit Model Interface. This package can be integrated with GOV.UK Prototype Kit adding features such as:
    • Models
    • Validations
    • A data structure and interface to work with the prototype