2.5.0
The major new features for this are:
charmcraft init
now uses the new unifiedcharmcraft.yaml
- Opt-in strict dependency management
- Shared wheel cache between build environments on the same host
- Add support for Ubuntu mantic based charms (not for production use :-) )
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: 2.4.1...2.5.0
What's Changed
- 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
- chore(deps): update internal dependencies by @lengau in #1355
New Contributors
Full Changelog: 2.4.1...2.5.0