Skip to content

Releases: f5devcentral/f5-fast-core

v0.17.0

15 Dec 20:59

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

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

v0.15.0

03 Aug 17:07

Choose a tag to compare

v0.15.0

Changed

  • template: Merge duplicate section definitions instead of overwriting

v0.14.0

24 Jun 16:22

Choose a tag to compare

Fixed

  • template: Fix merging array items definitions with custom types
  • template: Fix over-aggressive cleaning of definitions referenced in "items" keyword
  • template: Fix losing definitions from merged in templates
  • template: Fix missing description when merging templates

Changed

  • ResourceCache: Improve cache utilization for concurrent requests
  • template: Do not mark properties with defaults as required
  • template: Do not automatically supply default values for primitive types

v0.13.0

17 May 20:05

Choose a tag to compare

Added

  • TemplateProvider: Return template description and title with getSetData()

v0.12.0

31 Mar 19:40

Choose a tag to compare

Added

  • template: Allow using a TemplateProvider to resolve external JSON references

Fixed

  • TemplateProvider: Fix template sets with matching prefixes from getting listed together

Changed

  • Update js-yaml dependency to 4.x
  • Switch from archiver to adm-zip to reduce transitive dependencies
  • Remove uuid dependency
  • Remove json-schema-merge-allof dependency

v0.11.0

18 Feb 19:10

Choose a tag to compare

Added

  • template: Allow overriding automatic dependencies with definitions

Fixed

  • guiUtils: Fix merging dependencies when collapsing allOf items
  • template: Fix merging dependencies when using partials

Changed

  • Updated dependencies

v0.10.0

06 Jan 22:09

Choose a tag to compare

Fixed

  • template: Fix duplicate allOf property
  • template: Fix gathering tokens for mathExpressions on merged templates

Changed

  • template: Skip creating unused parameter validators on merged-in templates
  • guiUtils: Remove hidden mathExpression parameters from the GUI schema
  • htmlpreview: Pull JSON Editor from a CDN
  • cli: Display errors for each template when using validateTemplateSet

v0.9.0

19 Nov 17:20

Choose a tag to compare

Added

  • template: Add better support for JSON Editor "info" format
  • template_provider: Add FsSingleTemplateProvider convenience class to load a single template set
  • template: Add support for YAML contentType (text/x-yaml, application/x-yaml, and application/yaml are all accepted)
  • template: Add support for calculating parameter values from arithmetic expressions

Fixed

  • guiUtils: Fix "No resolver found for key propertyOrder" error when collapsing multiple allOf items
  • guiUtils: Fix "No resolver found for key invertDependency" when collapsing allOf items
  • template: Fix for duplicate items in dependencies
  • template: Fix running JSON and YAML post-process strategies on empty strings

Changed

  • Switch from internal httpUtils library to axios (httpUtils has also been removed)
  • template: Prefer defaults from the current template over merged in templates
  • template: Allow definitions to override values in merged templates even if the parameters are not present in the template text
  • template: Significantly reduce the size of the Template object
  • template: Remove typeDefinitions from the public API
  • template: Prune unused definitions (Template.definitions no longer contains the original definitions from the template file)

v0.8.0

09 Oct 16:16

Choose a tag to compare

v0.8.0

Added

  • template: Support extended user types (e.g., "var:lib:type") for sections and partials
  • template: Add post-processing strategies and add one for 'application/json' to cleanup dangling commas
  • cli: Add guiSchema sub command that runs the parameters schema through guiUtils.modSchemaForJSONEditor() before displaying it

Fixed

  • template: Fix using full Mustache variable names (e.g., "var:lib:type") for dependencies and requires
  • template: Fix sections with a dot item overriding user definitions
  • template: Add missing doc strings for HTTP fetching and forwarding functions
  • template: Fix missing defaults from merged templates
  • guiUtils: Additional fixes for allOf schema in modSchemaForJSONEditor()
  • guiUtils: Do not error if a dependency is missing from the properties

Changed

  • cli: Run fetchHttp() as part of render command
  • guiUtils: modSchemaForJSONEditor() no longer modifies in place