From 7a07e9d424f4cf1d0ee5fd8c90c2018de002c6c7 Mon Sep 17 00:00:00 2001 From: Tiago Nobrega Date: Tue, 15 Oct 2024 13:44:41 -0300 Subject: [PATCH] docs: add changelog with notes for 1.6.0 Fixes #724 --- docs/reference/changelog.rst | 156 +++++++++++++++++++++++++++++++++++ docs/reference/index.rst | 1 + 2 files changed, 157 insertions(+) create mode 100644 docs/reference/changelog.rst diff --git a/docs/reference/changelog.rst b/docs/reference/changelog.rst new file mode 100644 index 000000000..c82826c5e --- /dev/null +++ b/docs/reference/changelog.rst @@ -0,0 +1,156 @@ +:tocdepth: 2 + +.. Check out the bottom of the page for the release template + +Changelog +********* + +1.6.0 (2024-Oct-17) +------------------- + +Core +==== + +- **Note**: This release of Rockcraft updates Pydantic, the internal library + used to process ``rockcraft.yaml`` files, to a new major version. This change + should not have any user-visible consequences but please report any issues at + :literalref:`https://github.com/canonical/rockcraft/issues`. +- Managed (non-destructive) runs now correctly fail if the build plan is empty. + For example, trying to build a project with only ``amd64`` in its + ``platforms`` will now properly fail when buildings on a non-``amd64`` + machine. +- ``package-repositories`` entries now support ``series`` and ``pocket`` for + ``apt`` repositories, and ``key-id`` for PPAs. + +Bases +##### + +``bare`` +"""""""" + +- ``bare``-based rocks now have a default ``PATH`` value set on the image, + following the behaviour of ``Pebble`` services. + +Plugins +####### + +``poetry`` +"""""""""" + +- Add a new plugin for Python projects that use the `Poetry`_ build system. + +Extensions +########## + +fastapi-framework +""""""""""""""""" + +- Add a new ``fastapi-framework`` extension for `FastAPI`_-based projects. + +flask-framework +""""""""""""""" + +- On ``bare``-based rocks, the extension now uses Chisel slices for the Python + interpreter. +- Add support for ``ubuntu@24.04``. + +django-framework +"""""""""""""""" + +- The ``django-framework`` extension is now stable and no longer requires the + ``ROCKCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS`` environment variable. +- Add support for ``ubuntu@24.04``. + +go-framework +"""""""""""" + +- Add a new ``go-framework`` extension for Go-based projects. + +Command line +============ + +- Improve reporting of builds that fail because they match multiple platforms. +- Improve error messages for invalid ``rockcraft.yaml`` files. +- The ``pack`` command now supports ``--shell`` and ``--shell-after``, and + correctly handles cases where the packing itself fails and the ``--debug`` + argument is passed. +- The ``clean`` command now supports the ``--platform`` argument to filter which + build environments to clean. +- Positional arguments are now correctly display on the ``help`` output of + commands. +- The terminal cursor is now hidden during execution. + +Init +==== + +- Add new ``--profile`` argument options for ``go-framework`` and + ``fastapi-framework``. + +Documentation +============= + +- Add reference documentation for the new ``poetry`` plugin and the new + ``go-framework`` extension. +- Add a how-to guide on adding internal users to rocks. +- Improve the ``flask-framework`` tutorial page based on user feedback. +- Add tutorial pages for the existing ``django-framework`` and the new + ``fastapi-framework`` extensions. + +For a complete list of commits, check out the `1.6.0`_ release on GitHub. + + +.. _FastAPI: https://fastapi.tiangolo.com +.. _Poetry: https://python-poetry.org + +.. _1.6.0: https://github.com/canonical/rockcraft/releases/tag/1.6.0 + +.. + release template: + + X.Y.Z (YYYY-MMM-DD) + ------------------- + + Core + ==== + + # for everything related to the lifecycle of packing a rock + + Bases + ##### + + + """""""""""""" + (order from newest base to oldest base) + + Plugins + ####### + + + """""""" + + Extensions + ########## + + + """"""""""" + + Metadata + ######## + + Sources + ####### + + + Command line + ============ + + # for command line and UX changes + + Init + ==== + + + Documentation + ============= + + For a complete list of commits, check out the `X.Y.Z`_ release on GitHub. diff --git a/docs/reference/index.rst b/docs/reference/index.rst index 3d22c37a1..460e4f0d6 100644 --- a/docs/reference/index.rst +++ b/docs/reference/index.rst @@ -15,3 +15,4 @@ Rockcraft's components, commands and keywords. Extensions plugins parts_steps + changelog