Skip to content

Releases: f5devcentral/f5-fast-core

v0.24.0

03 May 18:48
Compare
Choose a tag to compare

Changed

  • template: provide more useful error message on duplicate keys during template rendering

v0.23.0

03 Oct 17:22
Compare
Choose a tag to compare

Fixed

  • cli: Improve JSON output for errors on validateTemplateSet and validate
  • cli: Fix JSON output for validateTemplateSet, packageTemplateSet, and htmlpreview

Changed

  • template: Include Mustache errors in getValidationErrors()
  • template: Make validation errors from failed pattern matches shorter (move expected pattern to "details")
  • template: Make validation errors from failed enum matches shorter (move allowed values to "details")

v0.22.1

16 Aug 21:30
Compare
Choose a tag to compare

Fixed

  • template: Fix "paramters" typo in validateParameters() error

v0.22.0

09 Aug 18:14
Compare
Choose a tag to compare

Added

  • cli: Add --json-output flag to change all output to JSON

Changed

  • template: Change the Error message from validateParameters() to be simpler
  • template: Move validation errors and parameters from the validateParameters() Error message string to validationErrors and parameters properties on the Error object
  • template: Show all validation errors when calling validateParameters()
  • template: Parse the Ajv validation errors from validateParameters() and create easier to read/understand error messages

v0.21.0

26 Apr 18:18
Compare
Choose a tag to compare

Added

  • template: Allow customizing input transform behavior via fast.transformStrategies

Fixed

  • Fix undefined fast.postProcessStrategies
  • template: Fix using an object parameter as input to a section

Changed

  • template: JsonTransformStrategy is now only used for 'application/json' contentType

v0.20.0

15 Mar 18:58
Compare
Choose a tag to compare

Added

  • Add a CompositeTemplateProvider to aggregate results from multiple template providers

Changed

  • Update dependencies

v0.19.0

08 Mar 19:06
Compare
Choose a tag to compare

Added

  • template: Add dataFile parameter property for including arbitrary text from files

Fixed

  • Fix loading sub-templates with GitHubTemplateProvider

v0.18.0

24 Jan 18:26
Compare
Choose a tag to compare

Added

  • Add a GitHubSchemaProvider and GitHubTemplateProvider

Changed

  • Updated dependencies
  • Stop pulling in pkg as a dev dependency
  • Expose BaseTemplateProvider class

v0.17.0

15 Dec 20:59
Compare
Choose a tag to compare

Fixed

  • guiUtils: Prefer defaults from top-level templates when merging allOf templates
  • template: Fix duplicate items in required property when merging sections (issue #23)

v0.16.0

15 Dec 20:58
Compare
Choose a tag to compare

Fixed

  • schema_provider: Fix loading schema files with a '.' in the filename
  • template: Fix parameters from Mustache sections getting listed as required even if they have a default value
  • guiUtils: Fix merging nested mixins