Skip to content

Releases: canonical/craft-grammar

2.3.0

19 Sep 15:51
2.3.0
b561c38

Choose a tag to compare

What's Changed

  • build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.11 by @renovate[bot] in #119
  • build(deps): update actions/setup-node action to v5 by @renovate[bot] in #127
  • build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.12 by @renovate[bot] in #128
  • feat: add "any" as an always-on value for "for" grammar by @lengau in #129
  • feat: optionally check that the architecture/platform is valid by @lengau in #130
  • build(deps): update dependency mypy to ~=1.18.1 by @renovate[bot] in #136
  • build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.13.0 by @renovate[bot] in #135
  • feat(GrammarProcessor): make checker optional by @lengau in #133
  • feat(for-grammar): add an 'else' clause by @lengau in #137
  • ci: switch to public runners and more architectures by @lengau in #132
  • feat: allow the app to select the grammar variant by @lengau in #138
  • docs: 2.3.0 changelog by @lengau in #139

Full Changelog: 2.2.0...2.3.0

2.2.0

26 Aug 16:14
2.2.0
f9ef7d6

Choose a tag to compare

What's Changed

  • feat: validate 'for' keyword in models by @mr-cal in #118

Full Changelog: 2.1.0...2.2.0

2.1.0

20 Aug 16:57
2.1.0
7591fcc

Choose a tag to compare

What's Changed

  • build(deps): update dependency ruff to ~=0.11.2 by @renovate[bot] in #85
  • build(deps): update dependency pyright to v1.1.398 by @renovate[bot] in #86
  • ci: update Jira sync config by @lengau in #90
  • ci: swap Ubuntu focal for noble by @lengau in #91
  • Rebase on starbase by @upils in #92
  • build(deps): update dependency mypy to ~=1.16.1 by @renovate[bot] in #98
  • build: fix urllib3 osv by @bepri in #102
  • build: bump dependency versions by @bepri in #101
  • chore: fix new lints from ruff 0.12 by @bepri in #103
  • build(deps): update dependency canonical-sphinx to ~=0.5.0 by @renovate[bot] in #105
  • build(deps): update dependency mypy to ~=1.17.0 by @renovate[bot] in #106
  • build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.5 by @renovate[bot] in #104
  • build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.7 by @renovate[bot] in #107
  • build(deps): update actions/download-artifact action to v5 by @renovate[bot] in #109
  • feat: add 'for' statement by @mr-cal in #108
  • build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.8 by @renovate[bot] in #110
  • build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 by @renovate[bot] in #111
  • build(deps): lock file maintenance by @renovate[bot] in #113
  • build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.9 by @renovate[bot] in #114
  • build(deps): update actions/checkout action to v5 by @renovate[bot] in #115
  • build(deps): lock file maintenance by @renovate[bot] in #116
  • ci: install python3-venv by @mr-cal in #117

New Contributors

Full Changelog: 2.0.3...2.1.0

2.0.3

18 Mar 07:23
2.0.3
cce4a39

Choose a tag to compare

What's Changed

  • ci: cleaning duplicate release drafter conf by @upils in #76
  • build(deps): update dependency pyright to v1.1.396 by @renovate in #78
  • build(deps): update dependency mypy to ~=1.15.0 by @renovate in #79
  • docs: add security policy by @bepri in #80
  • fix: use the origin type when validating a grammar list by @upils in #82
  • docs(changelog): add 2.0.3 by @upils in #83

New Contributors

  • @bepri made their first contribution in #80

Full Changelog: 2.0.2...2.0.3

2.0.2

07 Mar 15:27
2.0.2
20c78b5

Choose a tag to compare

What's Changed

  • Minor build fixes by @tigarmo in #25
  • build(deps): update dependency pyright to v1.1.381 by @renovate in #54
  • build(deps): update dependency tox-gh to v1.4.1 by @renovate in #55
  • fix(docs): get the correct readme for pypi by @lengau in #53
  • build(deps): update dependency pyright to v1.1.382.post1 by @renovate in #57
  • ci: add security scanning workflow by @lengau in #56
  • build(deps): update dependency pyright to v1.1.383 by @renovate in #58
  • build(deps): update dependency pyright to v1.1.384 by @renovate in #59
  • build(deps): update dependency tox-gh to v1.4.4 by @renovate in #60
  • build(deps): update dependency mypy to ~=1.12.0 by @renovate in #62
  • build(deps): update dependency pyright to v1.1.385 by @renovate in #61
  • build(deps): update dependency ruff to ~=0.7.0 by @renovate in #63
  • build(deps): update dependency mypy to ~=1.13.0 by @renovate in #65
  • build(deps): update dependency pyright to v1.1.386 by @renovate in #64
  • build(deps): update dependency pyright to v1.1.387 by @renovate in #66
  • build(deps): update dependency pytest-cov to v6 by @renovate in #67
  • build(deps): update dependency pyright to v1.1.388 by @renovate in #68
  • build(deps): update dependency pyright to v1.1.389 by @renovate in #69
  • fix: handle multi-entry dictionary after grammar statement by @upils in #74
  • build(deps): update github actions (major) by @renovate in #70
  • build(deps): update release-drafter/release-drafter action to v6.1.0 by @renovate in #72
  • docs(changelog): add 2.0.2 by @upils in #75
  • ci: use Trusted Publishing for PyPI releases by @upils in #77

New Contributors

  • @upils made their first contribution in #74

Full Changelog: 2.0.1...2.0.2

2.0.1

18 Sep 21:27
2.0.1
bba35c4

Choose a tag to compare

What's Changed

  • fix(models): coerce numbers to strings by @lengau in #50

Full Changelog: 2.0.0...2.0.1

2.0.0

08 Aug 19:26
2.0.0
4f60193

Choose a tag to compare

This release bumps the minimum python version to 3.10 and moves to pydantic 2.

Special thanks to the contributors that made this release happen: @dariuszd21, @lengau, @renovate, @renovate[bot], @sergiusens, @syu-w and @tigarmo

Full list of changes

  • chore(deps): update release-drafter/release-drafter action to v6 @renovate (#29)
  • docs: add 2.0.0 changelog @lengau (#37)
  • chore!: update to pydantic 2 @lengau (#36)
  • chore: fix pydantic deprecation @dariuszd21 (#35)
  • fix(models): make grammar models work with Annotated @lengau (#34)
  • chore!: update to Pydantic 2 @tigarmo (#33)
  • chore(deps): update development dependencies (non-major) @renovate (#27)
  • chore(deps): update release-drafter/release-drafter action to v5.25.0 @renovate (#26)
  • docs: use canonical-sphinx @tigarmo (#23)
  • Starbase migration @tigarmo (#22)
  • feat: add create_grammar_model() @tigarmo (#21)
  • build!: drop support for Python 3.8 @tigarmo (#20)
  • feat(grammar)!: generalized grammar type class @syu-w (#19)

1.2.0

05 Apr 17:29
1.2.0
a1317b9

Choose a tag to compare

What's Changed

New Contributors

  • @syu-w made their first contribution in #17

Full Changelog: 1.1.2...1.2.0