|
| 1 | +Charmcraft 3.5 release notes |
| 2 | +============================ |
| 3 | + |
| 4 | +26 May 2025 |
| 5 | + |
| 6 | +Learn about the new features, changes, and fixes introduced in Charmcraft 3.5. |
| 7 | + |
| 8 | + |
| 9 | +Requirements and compatibility |
| 10 | +------------------------------ |
| 11 | + |
| 12 | +For development and testing, Charmcraft requires a host with a minimum of 4GB RAM |
| 13 | +running a Linux distribution compatible with systemd. |
| 14 | + |
| 15 | +All versions of Charmcraft require the following software: |
| 16 | + |
| 17 | +- systemd |
| 18 | +- `snapd`_ |
| 19 | +- Either `LXD`_ or `Multipass`_ |
| 20 | + |
| 21 | +We recommend you install the `Charmcraft snap <https://snapcraft.io/charmcraft>`_. It |
| 22 | +comes comes bundled with all its dependencies. |
| 23 | + |
| 24 | +Non-snap installations of Charmcraft have the following dependencies: |
| 25 | + |
| 26 | +- Python 3.10 or higher |
| 27 | +- libgit2 1.7 |
| 28 | +- `skopeo`_ |
| 29 | +- `Spread`_ |
| 30 | + |
| 31 | + |
| 32 | +What's new |
| 33 | +---------- |
| 34 | + |
| 35 | +Charmcraft 3.5 brings the following features, integrations, and improvements. |
| 36 | + |
| 37 | + |
| 38 | +Updated ``init`` templates |
| 39 | +~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 40 | + |
| 41 | +The templates generated by ``charmcraft init`` now use the new |
| 42 | +:doc:`/reference/platforms` format. |
| 43 | + |
| 44 | + |
| 45 | +Editor Integration |
| 46 | +~~~~~~~~~~~~~~~~~~ |
| 47 | + |
| 48 | +The `JSON Schema Store <https://schemastore.org>`_ now includes a schema for the |
| 49 | +:ref:`charmcraft-yaml-file`. |
| 50 | + |
| 51 | +If your IDE supports fetching JSON schemas from the store, you can now load the latest. |
| 52 | + |
| 53 | +.. image:: https://assets.ubuntu.com/v1/963f71da-json-schema-example-light.webp |
| 54 | + :width: 451 |
| 55 | + :alt: A charmcraft.yaml file open in kate editor showing a hint for the parts key. |
| 56 | + |
| 57 | + |
| 58 | +Documentation improvements |
| 59 | +~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 60 | + |
| 61 | +Many people have made countless improvements to Charmcraft's documentation this |
| 62 | +release, from small changes like |
| 63 | +`consistent terminology usage <https://github.com/canonical/charmcraft/pull/2169>`_ to |
| 64 | +`major rewrites of tutorials <https://github.com/canonical/charmcraft/pull/2085>`_. |
| 65 | + |
| 66 | + |
| 67 | +Feature deprecations |
| 68 | +-------------------- |
| 69 | + |
| 70 | +The following features are deprecated in Charmcraft 3.5 and will be removed in |
| 71 | +Charmcraft 4.0. |
| 72 | + |
| 73 | + |
| 74 | +Windows support |
| 75 | +~~~~~~~~~~~~~~~ |
| 76 | + |
| 77 | +Charmcraft 3.0 deprecated support for Windows, and the upcoming 4.0 major release will |
| 78 | +cease it (`#1810 <https://github.com/canonical/charmcraft/issues/1810>`_). |
| 79 | +Windows users should begin preparing to migrate their workflows to `Windows Subsystem |
| 80 | +for Linux <https://ubuntu.com/desktop/wsl>`_. |
| 81 | + |
| 82 | + |
| 83 | +CentOS 7 support |
| 84 | +~~~~~~~~~~~~~~~~ |
| 85 | + |
| 86 | +CentOS 7 reached its `end of life |
| 87 | +<https://www.redhat.com/en/topics/linux/centos-linux-eol>`_ on 30 June 2024. Charmcraft |
| 88 | +3.0 will continue supporting it, but Charmcraft 4.0 will cease support for it |
| 89 | +(`#1826 <https://github.com/canonical/charmcraft/issues/1826>`_). |
| 90 | + |
| 91 | + |
| 92 | +Bundle registration |
| 93 | +~~~~~~~~~~~~~~~~~~~ |
| 94 | + |
| 95 | +New bundle registration `ceased on 1 November 2024 |
| 96 | +<https://discourse.charmhub.io/t/15344>`_ and the ``register-bundle`` command currently |
| 97 | +returns an error. It will be removed in Charmcraft 4.0 (`#1858 |
| 98 | +<https://github.com/canonical/charmcraft/issues/1858>`_). |
| 99 | + |
| 100 | + |
| 101 | +Scheduled feature deprecations |
| 102 | +------------------------------ |
| 103 | + |
| 104 | +The following features will be deprecated in Charmcraft 4.0. |
| 105 | + |
| 106 | + |
| 107 | +Bundle management |
| 108 | +~~~~~~~~~~~~~~~~~ |
| 109 | + |
| 110 | +In line with the phasing out of bundles, Charmcraft 4.0 will deprecate all bundle |
| 111 | +management commands (`#2113 <https://github.com/canonical/charmcraft/issues/2113>`_). |
| 112 | +The schedule for removing this feature hasn't been set yet. |
| 113 | + |
| 114 | + |
| 115 | +``bundle`` plugin |
| 116 | +~~~~~~~~~~~~~~~~~ |
| 117 | + |
| 118 | +In line with the phasing out of bundles, Charmcraft 4.0 will deprecate the bundle plugin |
| 119 | +(`#2114 <https://github.com/canonical/charmcraft/issues/2114>`_). No schedule has been |
| 120 | +set for this change yet. |
| 121 | + |
| 122 | + |
| 123 | +Known issues |
| 124 | +------------ |
| 125 | + |
| 126 | +The following issues were reported and are scheduled to be fixed in upcoming |
| 127 | +patch releases. |
| 128 | + |
| 129 | +See individual issue links for any mitigations. |
| 130 | + |
| 131 | +- `#2078 <https://github.com/canonical/charmcraft/issues/2078>`_ |
| 132 | + ``charmcraft clean`` does not clean all platforms for a charm. |
| 133 | +- `#1990 <https://github.com/canonical/charmcraft/issues/1990>`_ Cannot stage |
| 134 | + packages with Charmcraft |
| 135 | + |
| 136 | + |
| 137 | +Fixed bugs and issues |
| 138 | +--------------------- |
| 139 | + |
| 140 | +The following bugs have been resolved in Charmcraft 3.5.0: |
| 141 | + |
| 142 | +Contributors |
| 143 | +------------ |
| 144 | + |
| 145 | +We would like to express a big thank you to all the people who contributed to |
| 146 | +this release: |
| 147 | + |
| 148 | +:literalref:`@alithethird<https://github.com/alithethird>`, |
| 149 | +:literalref:`@bepri<https://github.com/bepri>`, |
| 150 | +:literalref:`@erinecon<https://github.com/erinecon>`, |
| 151 | +:literalref:`@evildmp<https://github.com/evildmp>`, |
| 152 | +:literalref:`@jahn-junior<https://github.com/jahn-junior>`, |
| 153 | +:literalref:`@javierdelapuente<https://github.com/javierdelapuente>`, |
| 154 | +:literalref:`@jdkandersson<https://github.com/jdkandersson>`, |
| 155 | +:literalref:`@lengau<https://launchpad.net/~lengau>`, |
| 156 | +:literalref:`@medubelko<https://github.com/medubelko>`, |
| 157 | +:literalref:`@tmihoc<https://github.com/tmihoc>` and |
| 158 | +:literalref:`@weiiwang01<https://github.com/weiiwang01>` |
0 commit comments