Releases: canonical/charmcraft
Releases · canonical/charmcraft
4.2.0
What's Changed
- test: refactor init-extensions tests to avoid using ops.testing.Context.charm_spec by @james-garner-canonical in #2527
- How to use databases with 12-Factor charms by @alithethird in #2530
- test(26.04): switch to Python 3.14 by @lengau in #2537
- ci: adjust the ty experimental workflow to use beta by @lengau in #2538
- fix: charmcraft templates for flask and django extensions by @arturo-seijas in #2556
- test(spread): enable Ubuntu 25.10 and 26.04 spread runners by @lengau in #2525
- feat: update django extension base to 24.04 by @arturo-seijas in #2555
- docs: note the additionalProperties default value flip in Juju 4.0 by @tonyandrewmeyer in #2531
- feat(templates): remove lib_path placeholder from tox.ini by @dwilding in #2539
- fix: Add gnutls postinstall to macOS build deps by @Copilot in #2508
- fix(templates): in kubernetes unit tests, clarify the mock layer and improve style by @dwilding in #2551
- feat(templates): use base 24.04 for kubernetes and machine profiles by @dwilding in #2522
- feat(templates): add 'assumes' for machine and kubernetes profiles by @dwilding in #2540
- fix(templates): match 'uv add' order of lint fields in pyproject.toml by @dwilding in #2545
- feat: update flask extension base to 24.04 by @arturo-seijas in #2559
- fix(templates): improve explanation of how to manage library dependencies by @dwilding in #2557
- fix: Fix description in webserver-port by @javierdelapuente in #2579
- chore(docs): 12-factor django path fix ISD-5202 by @f-atwi in #2574
- docs: re-enable 'Part properties' by @jahn-junior in #2577
- docs: redo in-page links in 'manage' how-to guides by @activus-d in #2575
- build(deps): update all dependencies by @lengau in #2583
- docs: add Charmcraft 4.2 release notes by @lengau in #2589
- chore: remove comment fences from GitHub templates by @medubelko in #2581
- fix: Update Spring Boot version to 3.5.10 by @javierdelapuente in #2550
- docs: add platform naming rules by @lengau in #2590
New Contributors
- @arturo-seijas made their first contribution in #2556
- @Copilot made their first contribution in #2508
- @f-atwi made their first contribution in #2574
- @activus-d made their first contribution in #2575
Full Changelog: 4.1.0...4.2.0
4.1.0
What's Changed
- refactor: simplify resource option class by @aj4ayushjain in #2419
- chore: add Matrix room to 12-factor YAML templates by @erinecon in #2456
- docs: small tweaks to best practice blocks by @tonyandrewmeyer in #2452
- docs: Incorporate UX feedback into 12-factor tutorials by @erinecon in #2455
- fix: disable rewrite-enabled in nginx for path-route=/ by @javierdelapuente in #2450
- docs: update the extension reference pages for Grafana by @alithethird in #2459
- feat: Add app profiles to Spring Boot by @javierdelapuente in #2458
- build(docs): remove line length check from linter by @medubelko in #2466
- docs: Incorporate UX feedback into 12-factor tutorials by @erinecon in #2463
- feat: add HTTP proxy integration to 12-factor charms by @swetha1654 in #2460
- docs: add related links section to docs homepage by @james-garner-canonical in #2464
- docs: how-to on integrating with S3 by @javierdelapuente in #2469
- docs: update link to public listing review process by @tonyandrewmeyer in #2453
- docs: improve landing pages by @jahn-junior in #2470
- docs: distinguish between Charmhub-hosted libs and Python packages by @james-garner-canonical in #2473
- docs: fix incorrect indentation in YAML snippets by @dwilding in #2475
- feat: enable Ubuntu 25.10 and 26.04 as development bases by @lengau in #2478
- docs: use lists for all links in landing pages by @medubelko in #2476
- build(deps): lock file maintenance (main) by @renovate[bot] in #2474
- docs: add PR template by @jahn-junior in #2488
- docs: revise issue templates by @jahn-junior in #2486
- docs: add targets to 12-factor sections by @erinecon in #2489
- test: loosen invalid charm loading test by @bepri in #2490
- build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.7 (main) by @renovate[bot] in #2485
- docs: add interim bases policy by @lengau in #2484
- build(deps): update dependencies by @lengau in #2495
- feat: add adoption help at end of init message by @dwilding in #2506
- docs: add Charmcraft 4.1 release notes by @lengau in #2483
- ci: add manual spread label, match other crafts by @bepri in #2487
- fix(spread): update the version of juju used in spread tests by @lengau in #2519
- build(deps): update github actions (main) (major) by @renovate[bot] in #2514
- feat(bases): mark 25.10 as stable and remove 24.10 by @lengau in #2524
New Contributors
- @aj4ayushjain made their first contribution in #2419
- @james-garner-canonical made their first contribution in #2464
Full Changelog: 4.0.0...4.1.0
2.7.6
4.0.1
What's Changed
Full Changelog: 4.0.0...4.0.1
4.0.0
What's Changed
- ci: use Ubuntu latest for schema diff by @lengau in #2308
- build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.11.12 (main) by @renovate[bot] in #2285
- chore: merge 3.5.1 to main by @lengau in #2317
- feat!: drop Windows support by @lengau in #2307
- feat: add plucky and questing as devel bases by @lengau in #2321
- build(docs): add sphinx sitemap by @jahn-junior in #2323
- docs: add edit button by @jahn-junior in #2322
- docs: fix some links by @medubelko in #2327
- chore: fix typo in bug template by @medubelko in #2319
- fix(templates): fix layer in K8s template unit test by @dwilding in #2309
- chore: merge 3.5.1 to main by @lengau in #2330
- chore: add charm-tech as template owners by @lengau in #2289
- chore(CODEOWNERS): add Erin to tutorials by @lengau in #2191
- feat(templates)!: replace simple profile by kubernetes by @dwilding in #2295
- build(deps): update github actions (main) (major) by @renovate[bot] in #2290
- docs: fix technical issues in go and fastapi tutorials by @alithethird in #2343
- ci: remove release drafter workflow by @lengau in #2331
- docs: add structure to 12-factor reference pages by @erinecon in #2345
- docs: update 12-factor how-to guide on async apps by @erinecon in #2352
- docs: Incorporate UX feedback into 12-factor tutorials by @erinecon in #2354
- Charmcraft Go tutorial: Add structure to sections by @preethys26 in #2339
- docs: replace google for ci and fix tests by @javierdelapuente in #2338
- docs: update
CONTRIBUTING.mdby @medubelko in #2353 - docs: fix broken link to Juju docs in template CONTRIBUTING.md by @tonyandrewmeyer in #2350
- fix(templates): update out-of-date parts in template README files by @dwilding in #2351
- chore: merge 3.5.2 to main by @lengau in #2359
- build(deps): update pre-commit hook adrienverge/yamllint to v1.37.1 (main) by @renovate[bot] in #2355
- Feat/expressjs extension by @alithethird in #2244
- feat(templates): use uv for testing and packing kubernetes and machine charms by @dwilding in #2312
- docs(tutorial/django): add note about unapplied migrations warning by @ade555 in #2346
- ci: be more selective about when we run expensive tests by @lengau in #2334
- build(deps): update dependency types-requests (main) by @renovate[bot] in #2342
- docs: Update 12-factor initialization how-to guide by @erinecon in #2368
- build(deps): update actions/setup-go action to v5 (main) by @renovate[bot] in #2366
- style: update to ruff 0.12 by @lengau in #2383
- chore: upgrade to craft-application 5 by @lengau in #2360
- feat!: remove CentOS 7 support by @lengau in #2386
- fix: install system packages when running
make setupby @jahn-junior in #2392 - docs: list correct grafana charm as consumer of snap lib charm by @marcusboden in #2391
- test(spread): per-base destructive mode tests by @lengau in #2379
- feat!(create-track): make name and track named-args by @lengau in #2395
- docs: update
CONTRIBUTING.mdby @jahn-junior in #2382 - feat!(test): switch from the custom test command to upstream by @lengau in #2385
- docs: update
CONTRIBUTING.mdby @jahn-junior in #2404 - feat(test): add testing profiles for init command by @lengau in #2401
- docs: Incorporate UX feedback into 12-factor tutorials by @erinecon in #2387
- Docs: Update
migrate.shdocumentation by @alithethird in #2389 - feat(extension): add Spring Boot extension by @javierdelapuente in #2337
- build(deps): update dependency sphinx-toolbox to v4 (main) by @renovate[bot] in #2393
- fix: correct the permission command for craft-state by @dimaqq in #2403
- build(deps): update bugfixes (main) by @renovate[bot] in #2408
- docs: enable Google Analytics by @jahn-junior in #2407
- docs: switch to ubuntu.com domain by @jahn-junior in #2406
- docs: add express to tutorials index by @M7mdisk in #2411
- feat: merge the 'static' tox environment into the 'lint' one by @tonyandrewmeyer in #2405
- build(deps): update github actions to v5 (main) (major) by @renovate[bot] in #2409
- chore: merge 3.5.3 to main by @lengau in #2415
- fix(test): fix lifecycle spread tests for tox-uv by @lengau in #2416
- fix: fix a series of breaking spread tests by @lengau in #2417
- feat(snap): migrate the snap to core24 by @lengau in #2412
- ci: update jira sync config by @mr-cal in #2420
- build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) by @renovate[bot] in #2421
- ci: add experimental workflow using ty for type checking by @lengau in #2370
- docs: clarify how to use the uv plugin by @dwilding in #2413
- build(snap): enable internal plugins by @lengau in #2418
- fix(test): fix the reactive charm spread test by @lengau in #2426
- fix(lifecycle): fix --project-dir and --output by @lengau in #2427
- docs: Incorporate UX feedback into 12-factor tutorials by @erinecon in #2425
- feat: Add OpenID Connect integration to 12 Factor by @javierdelapuente in #2373
- docs: remove command output example by @bepri in #2432
- fix(Project): be stricter about field names by @lengau in #2433
- feat(templates): use Jubilant for integration tests of K8s and machine profiles by @dwilding in #2430
- chore: fix ruff warnings from test files by @lengau in #2442
- ci: check charms generated by
charmcraft initby @dwilding in #2436 - docs: align Flask tutorial structure with Django tutorial by @faisalatif in #2440
- docs: expand on channel creation and closure by @beliaev-maksim in #2438
- build(deps): update dependencies for 4.0.0 by @lengau in #2441
- chore: clean up unused/unnecessary files by @lengau in #2444
- build(deps): lock file maintenance (main) by @renovate[bot] in #2410
- docs: release notes for Charmcraft 4.0 by @lengau in #2306
- fix: align oidc redirect-uri to Spring Boot defaults by @javierdelapuente in #2447
- docs: Add how to for workers/schedulers by @javierdelapuente in #2448
- docs: Incorporate UX feedback into 12-factor tutorials by @erinecon in #2445
New Contributors
- @preethys26 made their first contribution in #2339
- @ade555 made their first contribution in #2346
- @marcusboden made their first contribution in #2391
- @M7mdisk made their first contribution in #2411
- @beliaev-maksim made thei...
3.5.3
What's Changed
- docs: correct env vars for flask secrets by @javierdelapuente in #2329
- docs: add 'about this documentation' by @medubelko in #2377
- docs: copy note from Juju docs, tidy up container structure doc by @tonyandrewmeyer in #2384
- fix: correct the container name in the 'simple' profile by @tonyandrewmeyer in #2394
- docs: rename 'about this doc' → 'contribute to this doc' by @medubelko in #2400
- chore: bugfixes to release 3.5.3 by @lengau in #2398
- docs: add how-to to configure HTTPS for 12-factor by @javierdelapuente in #2381
- chore: Release 3.5.3 by @lengau in #2414
Full Changelog: 3.5.2...3.5.3
3.5.2
What's Changed
- docs: Update 12-factor how-to landing page by @erinecon in #2326
- docs: fix tree in init command docstring by @medubelko in #2347
- docs: align FastAPI tutorial structure with Django tutorial by @faisalatif in #2287
- fix: correct the error message with skopeo errors. by @lengau in #2349
New Contributors
- @faisalatif made their first contribution in #2287
Full Changelog: 3.5.1...3.5.2
3.5.1
3.5.0
What's Changed
- docs: translate remaining .md files to .rst by @jahn-junior in #2083
- feat(docs): instructions for contributing to the docs by @lengau in #2101
- ci(docs): spread test documentation by @lengau in #2126
- docs: fix broken references to juju docs by @medubelko in #2136
- docs: add anchors and fix a few small things by @tmihoc in #2128
- fix(build): fix build dependencies and CI by @lengau in #2137
- fix(build): fix build dependencies and CI by @lengau in #2138
- fix(provider): ensure /root/.cache exists by @lengau in #2134
- docs(changelog): prepare 3.3.3 release by @lengau in #2141
- chore: merge 3.3.3 to main by @lengau in #2147
- docs: align ops links formatting by @medubelko in #2146
- chore: merge 3.4.1 to main by @lengau in #2148
- chore: merge 3.4.2 to main by @lengau in #2153
- ci: use starbase release workflows by @lengau in #2144
- build(docs): use uv for RTD build by @lengau in #2143
- feat(docs): add feedback button by @erinecon in #2145
- docs: replace occurrences of "charmcraft.yaml" and "recipe" by @jahn-junior in #2154
- Create scenario tests for init templates by @javierdelapuente in #1975
- build(deps): update skopeo by @lengau in #2150
- build(deps): update bugfixes (main) by @renovate in #2116
- feat(tracing): Add commented out tracing relation into templates by @alithethird in #2100
- feat(docs): add redirects by @medubelko in #2157
- build(deps-dev): bump cryptography from 44.0.0 to 44.0.1 by @dependabot in #2162
- chore: merge 3.4.3 to main by @lengau in #2161
- feat: add *-secret-key-id charm configuration for flask, django, golang and fastapi framework charms by @weiiwang01 in #2160
- docs: update readme and logo by @tmihoc in #2168
- docs: update release step with resource details by @tmihoc in #2172
- docs(how-to): add how-to migrate to uv by @lengau in #2156
- docs: replace "recipe" as a term by @medubelko in #2169
- fix(snap): fix build on 32-bit platforms by @lengau in #2173
- build(deps): update dependency craft-platforms to v0.6.0 (main) by @renovate in #2176
- docs: update 12-factor tutorials by @erinecon in #2085
- Added some further structure to the Django tutorial by @evildmp in #2179
- docs: add mention of
charmcraft promoteto manage-revisions.rst by @jahn-junior in #2182 - feat: auto-generate charmcraft.yaml json schema by @bepri in #2183
- Docs: Maintenance work on 12-factor tutorials by @erinecon in #2193
- feat(extension): Block on missing required config by @alithethird in #2187
- build: fix issue where python-apt-wheels repo was used for all packages by @lengau in #2188
- docs: maintain Django tutorial by @erinecon in #2196
- feat(smtp): Add SMTP integration to 12 Factor by @alithethird in #2199
- docs: add
charm-userin the charmcraft.yaml file reference by @tonyandrewmeyer in #2195 - feat(templates): change the templates to use platforms notation by @lengau in #2200
- docs: Add structure to 12-factor how-to guides by @erinecon in #2197
- docs: 12-factor tutorial maintenance by @erinecon in #2220
- build(dep): update dependencies by @lengau in #2223
- style: fix linting issues by @lengau in #2222
- chore: remove tox and freeze-requirements files by @lengau in #2224
- chore: add a documentation issue template by @lengau in #2215
- fix: remove the storage 'shared' field by @tonyandrewmeyer in #2205
- docs: rewrite home page by @jahn-junior in #2217
- feat: mark the "promote-bundle" command as deprecated by @lengau in #2226
- style: fix linting errors by @lengau in #2229
- feat: mark bundles as deprecated by @lengau in #2227
- docs: Tutorial updates by @erinecon in #2228
- Docs: Add 12-factor how-to sections for integrations by @erinecon in #2219
- docs: fix build errors by @medubelko in #2186
- docs(config): update links in nav by @medubelko in #2184
- docs: remove placeholder links at bottom of home page by @medubelko in #2230
- docs: add venv activation to the contribution instructions by @dwilding in #2236
- docs: add security policy by @tigarmo in #2237
- feat(docs): hook up documentation links by @sergiusens in #2239
- docs: Add 12-factor how-to on using observability by @erinecon in #2232
- docs: update charm definition in security doc by @medubelko in #2240
- Docs: Update 12-factor tutorials by @erinecon in #2241
- chore: update the Jira project to CHARMCRAFT by @sergiusens in #2249
- feat(linters): PYDEPS linter by @lengau in #2250
- feat(upload): warn when uploading a charm if it has newer local libs by @lengau in #2252
- Docs: Updated 12-factor tutorials by @erinecon in #2251
- docs: add 12-factor troubleshooting section by @erinecon in #2246
- chore(docs): switch the docs to link to Juju 3.6 by @lengau in #2254
- Docs: 12-factor tutorial updates by @erinecon in #2257
- docs: add charm docs exemplars links by @izmalk in #2253
- feat(templates): add workload module to Kubernetes and machine profiles by @dwilding in #2242
- docs: hotfix for links syntax for charm docs examples by @izmalk in #2262
- chore: migrate from yamllint to prettier by @sergiusens in #2265
- feat(extensions, templates): Add OpenFGA by @s-themis in #2260
- chore: migrate provider test from GHA to spread by @sergiusens in #2264
- chore: bring in tics relevant changes by @sergiusens in #2258
- docs: align landing pages with model by @jahn-junior in #2272
- docs: 12-Factor tutorial updates by @erinecon in #2263
- build(deps): update bugfixes (main) by @renovate in #2189
- docs: fix typo in 'manage 12-factor app charm' by @medubelko in #2274
- docs: add cryptographic docs by @lengau in #2278
- docs: resolve local build errors by @jahn-junior in #2280
- docs: Updates to the 12-factor tutorials by @erinecon in #2276
- build(deps): update dependency h11 to v0.16.0 [security] (main) by @renovate in #2268
- chore(merge): merge 3.4.6 to main by @lengau in #2281
- docs: align README with model by @jahn-junior in #2283
- docs: copy best practices from Juju docs by @tonyandrewmeyer in #2203
- docs: Updates to the 12-factor tutorials by @erinecon in #2282
- Docs: 12-factor how to add a custom ...