Skip to content

Releases: cfengine/cfengine-cli

0.15.0

06 May 17:27
6362264

Choose a tag to compare

What's Changed

  • cfengine lint: Moved ifvarclass and bundle name lowercase into strict mode by @olehermanse in #105
  • cfengine lint: Moved deprecated promise check to strict mode by @olehermanse in #106
  • cfengine lint: Added check for uppercase body name, similar to bundle by @olehermanse in #107
  • tests: Added GH Action for running cfengine lint on policy from other repos by @olehermanse in #110
  • cfengine lint: Added support for deprecated str attribute in vars promises by @olehermanse in #108
  • cfengine lint: Added check for wrong promise block type by @olehermanse in #109
  • cfengine lint: Added checking of CSV files by @olehermanse in #111

Full Changelog: 0.14.0...0.15.0

0.14.0

06 May 11:39
2d43ee6

Choose a tag to compare

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

0.13.0

07 Apr 11:31
d90455b

Choose a tag to compare

What's Changed

Full Changelog: 0.12.2...0.13.0

0.12.2

30 Mar 16:15
f7df415

Choose a tag to compare

What's Changed

Full Changelog: 0.12.1...0.12.2

0.12.1

30 Mar 15:14
6406443

Choose a tag to compare

What's Changed

  • ENT-13075: Error if user tries to call bundle inside custom promise by @SimonThalvorsen in #34

Full Changelog: 0.12.0...0.12.1

0.12.0

27 Mar 15:43
dbad057

Choose a tag to compare

What's Changed

  • ENT-13073: Added linter errors for unknown promise types by @SimonThalvorsen in #30
  • Bump requests from 2.32.5 to 2.33.0 in the uv group across 1 directory by @dependabot[bot] in #31
  • ENT-13074: Added linter errors for unknown calls (bundle/body/func) by @SimonThalvorsen in #33

Full Changelog: 0.11.2...0.12.0

0.11.2

20 Mar 18:42
7b58304

Choose a tag to compare

Full Changelog: 0.11.1...0.11.2

0.11.1

19 Mar 12:19
cf98327

Choose a tag to compare

What's Changed

Full Changelog: 0.11.0...0.11.1

0.11.0

16 Mar 15:45
0db861e

Choose a tag to compare

What's Changed

  • Fix uv venv errors because of preexisting environment by @victormlg in #17
  • Fixed error message about pre-existing environment by @olehermanse in #19
  • ENT-13001: Expand release-information with history of releases.json files by @sarakthon in #18
  • ENT-13776: Fixed missing flags in generate-release-information by @victormlg in #16
  • dev format-docs: Enabled cleaning up generated files by default by @olehermanse in #20
  • Bump urllib3 from 2.6.2 to 2.6.3 in the uv group across 1 directory by @dependabot[bot] in #21
  • dev format-docs: Added the option of specifying folders / files and fixed issue with skipped JSON code blocks by @olehermanse in #22
  • Expanded cfengine lint with more linting rules and the ability to specify files / folders by @olehermanse in #23
  • lint: Removed duplicate linting message by @olehermanse in #24
  • lint: Added edit_xml as accepted bundle type by @olehermanse in #25
  • Expand release-information to include git tags by @sarakthon in #26

New Contributors

Full Changelog: 0.10.1...0.11.0

0.10.1

15 Jan 17:58
f27fab4

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.10.0...0.10.1