3.4.0b2 Small hookcmds fixes
Pre-release
Pre-release
This second beta for the 3.4.0 release fixes one significant bug with the new ops.hookcmds usage in the model backend, where getting secret info when the secret object had both ID and label set would fail.
In addition, we now include the size of the defer queue in the (debug-level) log message when processing deferrals.
What's Changed
Features
- Log the total number of deferred events in #2161
Fixes
- Normalise
Secret.ownerto 'app' for ops[testing] output state in #2127 - Don't cache secret metadata in Ops in #2143
secret-info-getcannot be provided with both an ID and a label in #2170- Minor hookcmds fixes in #2175
Documentation
- Explain the Charmhub public listing process and add a reference list of best practices in #1989
- Expand next steps for K8s tutorial in #2034
- Remove mention of the
simpleCharmcraft profile in #2138 - Expand landing pages with summaries of pages in #2140
- Update environment setup for integration tests and K8s tutorial in #2124
- Replace machine charm tutorial by an improved tutorial in #2119
- Change HACKING.md instructions for maintaining Charmcraft profiles in #2151
- In integration tests, use consistent approach to logging and packing in #2150
- In integration testing how-to, clarify that Juju model is destroyed after module in #2154
- Remove Charmcraft channel specifier from machine charm tutorial in #2148
- Add AI contribution note and style guideline for type annotation of return values in #2168
- Add ops[testing] to the ops.testing docstring in #2171
- Add links to the Juju hook from each event class in #2176
Tests
- Re-enable ops[testing] consistency checks after disabling them in #2141
- Expand secrets integration and state transition tests in #2130
Refactoring
- Don't get the storage details from
--helpin #2172 - Drop Python 3.8 and 3.9 compatibility code in #2173
CI
- Clean up accidental workflow trigger in #2144
- Test if package versions match dependency versions before publishing in #2139
- Update spelling in #2167
Full Changelog: 3.4.0b1...3.4.0b2