Skip to content

Commit

Permalink
docs: add 4.0.0 release to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Aug 9, 2024
1 parent c3aae96 commit a00bf9b
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion docs/reference/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,37 @@
Changelog
*********

4.0.0 (2024-Aug-09)
-------------------

Breaking changes
================

This release migrates to pydantic 2.
Most exit codes use constants from the ``os`` module. (This makes
craft-application 4 only compatible with Windows when using Python 3.11+.)

Models
======
Add constrained string fields that check for SPDX license strings or the
license string "proprietary".

CraftBaseModel now includes a ``to_yaml_string`` method.

Custom regex-based validators can be built with
``models.get_validator_by_regex``. These can be used to make a better error
message than the pydantic default.

Git
===

The ``git`` submodule under ``launchpad`` is now its own module and can clone
repositories and add remotes.


For a complete list of commits, check out the `4.0.0`_ release on GitHub.


3.2.0 (2024-Jul-07)
-------------------

Expand All @@ -16,7 +47,7 @@ Documentation

Add a how-to guide for using partitions.

For a complete list of commits, check out the `3.2.0`_ release on GitHb.
For a complete list of commits, check out the `3.2.0`_ release on GitHub.

3.1.0 (2024-Jul-05)
-------------------
Expand Down Expand Up @@ -144,3 +175,4 @@ For a complete list of commits, check out the `2.7.0`_ release on GitHub.
.. _3.0.0: https://github.com/canonical/craft-application/releases/tag/3.0.0
.. _3.1.0: https://github.com/canonical/craft-application/releases/tag/3.1.0
.. _3.2.0: https://github.com/canonical/craft-application/releases/tag/3.2.0
.. _4.0.0: https://github.com/canonical/craft-application/releases/tag/4.0.0

0 comments on commit a00bf9b

Please sign in to comment.