The Operator Framework team is proud to release version 1.4.0 of the Operator Framework!
This is largely a bugfix release, but it also includes a few small, non breaking features.
Highlights
- Memory efficient push of file(s) to pebble
- Testing harness more closely matches live environment behavior
- Added flag to test with “real pebble”. Use this to write tests that use an actual running Pebble rather than a fixture
- Add Container.isdir and Container.exists helpers
Complete List of Changes
- Memory-efficient push via pebble by @Vultaire in operator#666
- remove_path succeeds even if path does not exist by @sed-i in operator#677
- Make the storage harness work when metadata keys have hyphens by @rbarry82 in operator#680
- docfix: mention
add_relation_unit
in the docstring foradd_relation
by @sed-i in operator#683 - conformed list_files behaviour on failure with pebble’s by @PietroPasotti in operator#686
- Add real pebble tests to our CI by @rwcarlsen in operator#687
- FIX remove_path docstring to relfect current behaviour. by @Abuelodelanada in operator#698
- Fix incorrect variadic arg wrangling in get_services by @rwcarlsen in operator#702
- add tox config for real pebble tests by @rwcarlsen in operator#704
- skip broken ipython version to fix CI by @rwcarlsen in operator#710
- Add Container.isdir and Container.exists helpers by @rwcarlsen in operator#709
- Added notes on cutting a release to HACKING.md by @pengale in operator#714
- Avoid issuing relation_changed events with no data delta by @mmanciop in operator#705
- Updated docs on planned units. by @pengale in operator#716
- expose the departing unit on RelationDeparted events by @rwcarlsen in operator#712
- DEPATING -> DEPARTING by @PietroPasotti in operator#717
- Implement send-signal for harness by @sed-i in operator#715
- notes about documentation for contributers by @rwcarlsen in operator#720
- Fixing updated link in docstrings by @Abuelodelanada in operator#722
- Harness: add test for an empty config file by @sed-i in operator#728
- begin_with_initial_hooks now sets post install status correctly by @pengale in operator#727
- Add checks config fields and get_checks API by @benhoyt in operator#668
- Memory-efficient pull via pebble by @Vultaire in operator#667
Full Changelog: https://github.com/canonical/operator/compare/1.3.0...1.4.0