0.14.0
What's Changed
- ENT-13808: Expand release-information with release files and checksums from community/releases.json by @sarakthon in #48
- ENT-13824/13826: Errors on userdefined bundles that shadow built-ins & function-calls inside vars that are not built-in by @SimonThalvorsen in #46
- cfengine format: Single line promises in more cases by @olehermanse in #50
- cfengine format: Added newline before comment in more places by @olehermanse in #52
- cfengine format: Fixed formatting for stakeholders and consecutive 0-attribute single line promises by @olehermanse in #54
- ENT-13836: Added --check to cfengine format by @victormlg in #56
- cfengine format: Exit with 0 when successfully reformatted by @victormlg in #57
- Added GH Action which runs make check by @olehermanse in #61
- cfengine format: Refactored code, added type hints and docstrings, expanded tests, and fixed small issues by @olehermanse in #55
- cfengine format: Fixed indentation of comments inside empty bundles and ensured empty lines between bundles were empty comments were removed by @olehermanse in #65
- ENT-13829: Errors on missing value and mutually exclusive types in vars promises by @SimonThalvorsen in #63
- ENT-13808: Improve release history generation and download handling by @sarakthon in #51
- Small cleanups and fixes to vars linting and generate_release_information by @olehermanse in #68
- cfengine format: Removed trailing commas where they're not supported by @olehermanse in #69
- Fixed formatting of empty slists and stakeholders by @olehermanse in #70
- ENT-13827/13828/13832: Checks for validity of attribute names and number of arguments by @SimonThalvorsen in #67
- cfengine format: Fixed formatting around macros by @olehermanse in #71
- ENT-13833: Added checks for correct number of args for bundle-/body-calls by @SimonThalvorsen in #72
- Small fixes and refactorings / improvements by @olehermanse in #75
- Makefile: Avoided globally installing for tests by @olehermanse in #77
- cfengine format: Removed extra empty lines around macros by @olehermanse in #76
- cfengine format: Fixed newline issue when mixing single line promises with multi line promises by @olehermanse in #80
- Added new dev subcommand for printing syntax trees by @olehermanse in #79
- cfengine format: Added detection of invalid JSON by @olehermanse in #81
- cfengine format: Moved comments out of attributes by @olehermanse in #82
- cfengine format: Don't reformat policy files with syntax errors by @olehermanse in #83
- Fix: Stop update-syntax-description gh-action running in forks by @SimonThalvorsen in #85
- Fixed skipping of files and folders in lint and format by @olehermanse in #84
- cfengine format: Started skipping .input.cf test files by @olehermanse in #89
- ENT-13879: Checks variadic functions for valid number of arguments in call by @SimonThalvorsen in #74
- lint.py: Explained faulty function defs list by @olehermanse in #91
- cfengine format: Fixed handling of macros inside attributes / lists by @olehermanse in #92
- cfengine lint: Skipped validating custom promise type attributes by @olehermanse in #93
- cfengine lint: Started recording and using all definitions of bodies and bundles in case there are multiple by @olehermanse in #94
- ENT-13880: Added error-checks for half-promises / attrs without promiser outside of macros by @SimonThalvorsen in #86
- cfengine lint: Fixed looking for body calls in cases where we expect a bundle by @olehermanse in #95
- Skipped more test related JSON files in cfengine lint and format by @olehermanse in #96
- cfengine lint: Include .cf.sub files by @olehermanse in #98
- cfengine lint: Ensured we look for bodies when resolving calls in copy_from and action by @olehermanse in #100
- cfengine lint: Added more specific error messages and hints about where something is defined by @olehermanse in #101
- cfengine lint: Removed argument count checks for body / bundle from non-strict mode by @olehermanse in #103
- Fixed issue with expanding variables for bundle names by @olehermanse in #104
Full Changelog: 0.13.0...0.14.0