canonical / lego-base-k8s-operator

Base library for building Lego Kubernetes operators
https://charmhub.io/lego-base-k8s
Apache License 2.0
0 stars 3 forks source link

chore: bump ops from 2.10.0 to 2.11.0 #65

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps ops from 2.10.0 to 2.11.0.

Release notes

Sourced from ops's releases.

2.11.0 Marking additional events as non-defer()able, and other minor improvements

This release marks additional events as not suitable for deferring: StopEvent, RemoveEvent, and the LifecycleEvents: CollectStatusEvent, CommitEvent, and PreCommitEvent. The defer() method on these event classes is marked as NoReturn and calling it will raise a RuntimeError.

Features

Fixes

Documentation

Tooling

Full Changelog: https://github.com/canonical/operator/compare/2.10.0...2.11.0

Changelog

Sourced from ops's changelog.

2.11.0

  • StopEvent, RemoveEvent, and all LifeCycleEvents are no longer deferrable, and will raise a RuntimeError if defer() is called on the event object.
  • The remote app name (and its databag) is now consistently available in relation-broken events.
  • Added ActionEvent.id, exposing the JUJU_ACTION_UUID environment variable.
  • Added support for creating pebble.Plan objects by passing in a pebble.PlanDict, the ability to compare two Plan objects with ==, and the ability to create an empty Plan with Plan().
Commits
  • b601088 Bump version number. (#1140)
  • 9c0f44b Use more compatible ruff and isort options. (#1139)
  • c623461 fix(testing): set JUJU_REMOTE_APP and allow fetching relation data in relatio...
  • 9664fd1 feat: add the ability to compare two Plan objects with == and create a Plan f...
  • 1836df5 chore: expand ruff rule sets and make corresponding minor adjustments (#1114)
  • 9a72677 docs: tweak the wording around can_connect() usage (#1123)
  • c061667 feat: only have a defer() method on events that can be deferred (#1122)
  • b13ee4c feat: add the action's ID to the ActionEvent object (#1124)
  • 2f304d3 chore: bump version string for working on the next release (#1118)
  • 5f7079a Change to ruff for linting. (#1120)
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)