2.14.1 Fix a possible Pebble exec hang and minor other fixes
What's Changed
No new features with this release, but it includes a significant fix for Pebble exec
to avoid hanging when Pebble is unable to respond quickly.
We've also corrected the Harness behaviour when working with secrets when the secret does not exist or the charm does not have permission to view/modify it, and also expanded the API reference documentation for secrets.
Fixes
- Add connect timeout for exec websockets to avoid hanging in #1247
- Adjust Harness secret behaviour to align with Juju in #1248
Tests
- Fix TypeError when running test.pebble_cli in #1245
- Properly clean up after running setup_root_logging in test_log in #1259
- Verify that defer() is not usable on stop,remove,secret-expired,secret-rotate in #1233
Documentation
- Fix HACKING.md link on PyPI, and internal links in #1261 and #1236
- Add a section to HACKING.md on PR titles (commit messages to main) in #1252
- Add release step to update pinned charm tests in #1213
- Add a security policy in #1266
- Add ops.main to API reference in #1273
CI
- Only run tests once on push to PR in #1242
- Validate PR title against conventional commit rules in #1262
- Only update ops, not all dependencies, in charm tests in #1275
- Add artefact attestation in #1267
Thanks go to the members of the Canonical security teams who helped out putting the security policy together!
Full Changelog: 2.14.0...2.14.1