Skip to content

Releases: canonical/charmcraft

2.6.0

12 Apr 16:26
2.6.0
2248543
Compare
Choose a tag to compare

New Features:

Bug fixes:

  • Works properly with LXD 5.21

What's Changed

Full Changelog: 2.5.5...2.6.0

2.5.5

27 Feb 14:27
2.5.5
f1650e7
Compare
Choose a tag to compare

What's Changed

  • fix(templates): put example config sections on all templates by @lengau in #1476
  • fix(linters): ensure CheckResult text isn't None by @lengau in #1483
  • fix(builder): don't rely on part names by @lengau in #1485

Full Changelog: 2.5.4...2.5.5

2.5.4

27 Feb 14:26
2.5.4
fe26338
Compare
Choose a tag to compare

What's Changed

  • fix(charm_builder): bump minimum pip version to 23 by @lengau in #1437

Full Changelog: 2.5.3...2.5.4

2.5.3

07 Dec 19:08
2.5.3
c1d3ad2
Compare
Choose a tag to compare

2.5.2

01 Dec 17:31
2.5.2
8c6f9b3
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.5.1...2.5.2

2.5.1

01 Dec 15:26
2.5.1
f5558b8
Compare
Choose a tag to compare

What's Changed

  • fix: make snap build on all architectures. by @lengau in #1377

Full Changelog: 2.5.0...2.5.1

2.5.0

24 Oct 20:06
2.5.0
af5aeeb
Compare
Choose a tag to compare

The major new features for this are:

Please view more about these changes in this earlier post.

Detailed change list:

  • tests: add charm library multiple versions update test by @syu-w in #1198
  • chore(deps): update dependency cryptography to v41.0.3 [security] by @renovate in #1201
  • packaging: update apt requirements, remove bionic by @sergiusens in #1207
  • Merge 2.4.1 hotfixes by @sergiusens in #1211
  • tests: fix API json structure by @syu-w in #1213
  • snap: remove passthrough for hook environment by @sergiusens in #1206
  • command: charmcraft init to use charmcraft.yaml only by @syu-w in #1149
  • tests: add more charms and bundles to large spread suite by @lengau in #1217
  • refactor: move builder out of the commands directory. by @lengau in #1229
  • tools: update tox configuration to starbase v1 by @lengau in #1231
  • chore(deps): update dependency mypy to v1.5.1 by @renovate in #1220
  • tests: enable cos-lite and kubeflow bundle tests by @lengau in #1224
  • tests: disable broken magma test by @lengau in #1216
  • templates: remove k8s info from machine charm template by @lengau in #1226
  • commands(store): make create-lib work without a metadata.yaml file by @lengau in #1228
  • requirements: bump craft-providers by @mr-cal in #1219
  • tools: update ruff configuration to starbase v1 by @lengau in #1232
  • tests: improve multipass spread backend by @lengau in #1225
  • tests: re-enable reactive charms test by @lengau in #1235
  • chore(deps): update dependency chardet to v5.2.0 by @renovate in #1236
  • chore(deps): update dependency platformdirs to v3.10.0 by @renovate in #1237
  • store: allow publish-lib to work without a metadata.yaml by @lengau in #1234
  • chore(deps): update dependency ubuntu to v22 by @renovate in #1222
  • pack: refactor business logic out of pack command class by @lengau in #1230
  • tests: fix resource spread test by @lengau in #1223
  • docs: fix typo in init helper by @gboutry in #1243
  • tests: add parallel build test by @syu-w in #1245
  • fix(store): temporary hide package type by @syu-w in #1244
  • feat(extensions): add basic support by @syu-w in #1248
  • feat(dependencies): new Python dependency management by @lengau in #1233
  • chore(deps): update dependency coverage to v7.3.1 by @renovate in #1250
  • chore(deps): update actions/checkout action to v4 by @renovate in #1253
  • chore(deps): update dependency more-itertools to v10.1.0 by @renovate in #1252
  • chore(deps): update dependency humanize to v4.8.0 by @renovate in #1251
  • chore(deps): update internal packages by @renovate in #1254
  • fix(logging): print details errors from craft-providers by @syu-w in #1264
  • chore(deps): update dependency jsonschema to v4.19.0 by @renovate in #1255
  • tests(spread): requirements dependencies by @lengau in #1266
  • build(deps): bump cryptography from 41.0.3 to 41.0.4 by @dependabot in #1271
  • feat(extensions): add cli commands by @syu-w in #1268
  • ci: reduce the python/OS matrix size by @lengau in #1247
  • chore(deps): update dependency craft-parts to v1.25.1 by @renovate in #1265
  • chore(deps): update dependency typing_extensions to v4.8.0 by @renovate in #1276
  • chore(deps): update dependency pyproject-api to v1.6.1 by @renovate in #1278
  • feat(pack): add shared cache support by @syu-w in #1270
  • test(spread): clean up store tests by @lengau in #1290
  • test(spread): make library tests register/unregister charms by @lengau in #1292
  • chore(deps): craft-providers to v1.18.0 by @syu-w in #1294
  • chore(deps): update dependencies by @lengau in #1289
  • chore(ci): enable shellcheck by @lengau in #1291
  • ci: enable codespell by @lengau in #1296
  • fix(tests): fixes bundle spread test by @syu-w in #1287
  • fix(distro): use distro package for getting linux distribution info by @lengau in #1293
  • refactor(linters): make CheckType an enum by @lengau in #1297
  • refactor(store): use dataclasses for store models by @lengau in #1299
  • refactor(utils): make OSPlatform a dataclass by @lengau in #1298
  • style: clean up store command imports by @lengau in #1302
  • chore(deps): update dependency urllib3 to v1.26.17 [security] by @renovate in #1308
  • style: fix spelling of "processor" by @lengau in #1305
  • style: add pydantic.validator as a classmethod decorator by @lengau in #1309
  • refactor(utils): break utils sections out into logical subpackages by @lengau in #1301
  • refactor(utils): move charmlibs utilities by @lengau in #1303
  • refactor(linters): make a Result enum by @lengau in #1300
  • feat: strict dependency management by @lengau in #1306
  • style(ci): enable mypy by @lengau in #1312
  • fix(test): better matching for strict dependencies spread test by @lengau in #1322
  • perf(snap): speed up repeat snap builds by @lengau in #1323
  • fix(test): fix reactive plugin test if 'charm' tool is installed by @lengau in #1326
  • test(style): remove pydocstyle tests on charmcraft code by @lengau in #1329
  • test: remove black linting from test_infra by @lengau in #1331
  • test(spread): consolidate basic init/build tests by @lengau in #1325
  • refactor(linters): stricter typing for linters by @lengau in #1333
  • fix: replace deprecated pkg_resources with importlib by @lengau in #1335
  • chore(deps): update dependency urllib3 to v1.26.18 [security] by @renovate in #1337
  • refactor(parts): move craft-parts related things into their own package by @lengau in #1334
  • chore(snap): base migration from core20 to core22 by @syu-w in #1321
  • chore(deps): update patch updates by @renovate in #1348
  • chore(deps): update dependency craft-cli to v2.3.0 by @renovate in #1342
  • chore(deps): update dependency black to v23.10.0 by @renovate in #1343
  • chore(deps): update ruff and fix new linting errors by @lengau in #1347
  • chore(deps): update all dependencies by @lengau in #1353

New Contributors

Full Changelog: https://github.com/canonical/c...

Read more

2.4.1

12 Aug 16:28
2.4.1
2c56901
Compare
Choose a tag to compare

What's Changed

  • deps: update python-apt by @syu-w in #1205
  • models: do not enforce pydantic models on legacy files by @syu-w in #1204

Full Changelog: 2.4.0...2.4.1

2.4.0

26 Jul 20:24
2.4.0
4b34df8
Compare
Choose a tag to compare

The major new features for this are:

  • AlmaLinux base support
  • Enable unstable builds with non-LTS Ubuntu releases
  • Improved charm templates

Known Issues

We're aware of some dependency-related issues in Charmcraft 2.3 that aren't fix in 2.4.0 and are hoping to resolve those with a quick follow-up 2.4.1 release. Please track these at:

What's Changed

  • requirements: update craft-parts to 1.19.3 by @cmatsuoka in #1099
  • bases: add almalinux support by @syu-w in #1100
  • github: add issue templates by @sergiusens in #1106
  • github: correct location for issues workflow by @sergiusens in #1109
  • cli: add supported profile arguments to help by @syu-w in #1112
  • refactor: move some pydantic models and metafiles by @syu-w in #1117
  • config: support use actions in charmcraft.yaml by @syu-w in #1114
  • bases: allow builds with ubuntu non-lts by @syu-w in #1130
  • tests: refactor for variable multi-file support by @syu-w in #1131
  • Add "tox -e static" for static type checking (Pyright) by @benhoyt in #1137
  • pydantic: split base and charmcraft config models by @syu-w in #1141
  • Allow use actions/config/metadata in charmcraft.yaml by @syu-w in #1126
  • deps: fix renovate schedule by @lengau in #1145
  • build: do not create metafiles when using reactive by @syu-w in #1151
  • command: add profiles descriptions and update URL by @syu-w in #1156

Full Changelog: 2.3.1...2.4.0

2.3.1

14 Jul 20:00
2.3.1
af11b6b
Compare
Choose a tag to compare

What's Changed

  • requirements: update craft-parts to 1.19.3 by @cmatsuoka in #1099
  • command: add profiles descriptions and update URL (#1156) by @syu-w in #1158
  • builder: install pydeps and requirements simultaneously by @lengau in #1157

Full Changelog: 2.3.0...2.3.1