diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 8c1923f7..8f6142f7 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.34.0 +current_version = 2.0.0 commit = True tag = True diff --git a/craft_parts/__init__.py b/craft_parts/__init__.py index ca03426f..13218026 100644 --- a/craft_parts/__init__.py +++ b/craft_parts/__init__.py @@ -16,7 +16,7 @@ """Craft a project from several parts.""" -__version__ = "1.34.0" +__version__ = "2.0.0" from . import plugins from .actions import Action, ActionProperties, ActionType diff --git a/docs/changelog.rst b/docs/changelog.rst index c70d3369..fb964433 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,26 @@ Changelog ********* +2.0.0 (2024-08-08) +------------------ + +Breaking changes: + +- Set minimum Python version to 3.10 +- Plugin models are restructured +- Migrate to Pydantic 2 +- API uses Debian architecture names rather than Python platform names + +New features: + +- Plugin models can use Pydantic JSON schema export +- Partition names can include hyphens + +Bug fixes: + +- Xattrs raise FileNotFoundError when appropriate +- Partition names are more strictly checked. + 1.34.0 (2024-08-01) ------------------- - Allow numbers in partitions, partition namespaces, and namespaced partitions. diff --git a/docs/common/craft-parts/craft-parts.wordlist.txt b/docs/common/craft-parts/craft-parts.wordlist.txt index 1c4e0abc..1d0d3aae 100644 --- a/docs/common/craft-parts/craft-parts.wordlist.txt +++ b/docs/common/craft-parts/craft-parts.wordlist.txt @@ -61,6 +61,7 @@ ExecutionContext FeatureError FieldInfo FileCache +FileNotFoundError FileOrganizeError FileProviderNotFound FileSource diff --git a/setup.py b/setup.py index d3ea3796..a2f2dfae 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ from setuptools import find_packages, setup -VERSION = "1.34.0" +VERSION = "2.0.0" with open("README.md") as readme_file: readme = readme_file.read()