Skip to content

Releases: ryan95f/yamlator

v0.4.1

29 Apr 15:57
a160c66
Compare
Choose a tag to compare

v0.4.1 (29th April 2023)

  • Added ruleset inheritance to the Yamlator schema syntax
  • Added dependency management to the ruleset inheritance process
  • Added Python 3.11 to the test Github Workflow

v0.4.0

30 Mar 19:09
4cf068a
Compare
Choose a tag to compare

v0.4.0 (30th March 2023)

  • Added import statements to the Yamlator schema syntax that support importing one or more types
  • Added namespaces to the import statements with the as keyword
  • Improvements to the loading of rulesets to allow for schema files to be less restrictive in the order resources are defined.
  • Improvements to the grammar file to include new terminals and remove duplicate constructs

v0.3.1

12 Feb 18:47
6c83f1b
Compare
Choose a tag to compare

v0.3.1 (12th February 2023)

  • Added top level validation to Yamlator to support data structures that may not be an object or a map
  • Minor docstring and structure improvements in the tests/ module
  • Improvements to the codebase docstrings

v0.3.0

29 Jan 15:12
79b1292
Compare
Choose a tag to compare

v0.3.0 (29th January 2023)

  • Added the union data type to the schema to allow a key to be more than one specific type
  • Reduced the constraints on the install_requirements in setup.py
  • Minor fixes and improvements to the overall codebase

v0.2.2

18 Jan 19:37
2bc3d58
Compare
Choose a tag to compare

v0.2.2 (18th January 2023)

  • Added support for Python 3.6+ by removing the __future__ and dataclass imports from the codebase
  • Downgraded pylint in the developer dependencies to allow for Python 3.6 to run locally

v0.2.1

15 Jan 10:40
05b22fc
Compare
Choose a tag to compare

v0.2.1 (15th January 2023)

  • Improved the Yamlator grammar to allow rule names to accept options including symbols, unicode, spaces and dashes. Any YAML key that contains spaces, must be enclosed in double quotes
  • Upgraded the Ubuntu version on the publish workflow

v0.2.0

08 Jan 15:03
580b15a
Compare
Choose a tag to compare

v0.2.0 (8th January 2023)

  • Added strict keyword to rulesets to enable strict mode, which will raise a strict violation for every field not defined in the ruleset
  • Added strict keyword to schema to enable strict mode, which will raise a strict violation for every field not defined in the schema block
  • Added new example strict_mode to the example directory
  • Updated GitHub workloads to use the latest actions
  • Fixed bug with rule definitions where field names with similar character patterns to types would create two separate rules

v0.1.2

25 Sep 10:22
cc55af6
Compare
Choose a tag to compare

v0.1.2 (25th September 2022)

  • Added Pylint to the test workflow pipeline
  • Added a new CodeQL workflow pipeline
  • Added YAML as a display option using the CLI
  • Updated docstrings in the validators package
  • Updated cmd.py to be a sub package in yamlator to improve code readability

v0.1.1

26 May 17:49
6205f8b
Compare
Choose a tag to compare

v0.1.1 (26th May 2022)

  • Updated urls in the README.md and setup.py to reflect the username change

v0.1.0

15 May 10:53
fd84891
Compare
Choose a tag to compare

v0.1.0 (15th May 2022)

  • Added a Regex type to the schema to support regex validation
  • Added support for integers and floats in the Enum construct
  • Fixed bug with the the Enum and Ruleset construct names that prevented camel case from working
  • Updated the source code package from src to yamlator
  • General improvements to existing documentation