All Versions
17
Latest Version
Avg Release Cycle
88 days
Latest Release
734 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.0 Changes
November 28, 2022๐จ With Version 1.0.0, Bonny got a thorough refactoring. Besides this changelog, you might consider the several guides (e.g. the [migration guide](./guides/migration.mid))
Bonny.Operator
was introduced as an entry point to the watching and handling of processes. Your controllers are not more added to the supervision tree by bonny. Instead you must create an operator and add that to your application's supervision tree.- ๐ฆ The
Pluggable
(thinkPlug
) library is used withBonny.Axn
as token to processADDED
,MODIFIED
,DELETED
and reconciliation events byPluggable
pipelines. Bonny.ControllerV2
was introduced as a successor toBonny.Controller
. It leveragesPluggable.StepBuilder
(thinkPlug.Builder
) to build a pluggable pipeline.Bonny.Event
andBonny.EventRecorder
were introducd for Kubernetes event creation (#156, #5)
๐จ Why this refactoring?
- ๐ Allows for better CRD and API version definitions
- โ
With a
Pluggable
architecture, controllers are much easier to test (Think ofPlug.Conn
tests) - The
Pluggable
architecture makes your processing pipelines composable and simpler to customize/extend - Decoupling of manifest generation and action event processing
- Internally, the amount of macros was reduced which makes Bonny easier to understand and maintain
-
v1.0.0-rc.3 Changes
November 19, 2022๐ Fixed
- ๐
Bonny.Mix.Operator
- fix manifest generation: remove version from apiGroup in ClusterRole.
- ๐
-
v1.0.0-rc.2 Changes
November 15, 2022โ Added
Bonny.Pluggable.AddManagedByLabelToDescendants
- Adds theapp.kubernetes.io/managed-by
label to all descendants registered within the pipeline.- ๐ Allow
nil
and{controller :: module(), init_opts :: keyword()}
in the operator'scontrollers/2
callback.
๐ Fixed
K8sConn
- Implement spec correctly.
๐ Changed
Bonny.Axn.apply_descendants/N
,Bonny.Axn.apply_status/N
- Raise upon error.
-
v1.0.0-rc.1
October 31, 2022 -
v1.0.0-rc.0 Changes
October 29, 2022๐ Changed
๐จ With Version 1.0.0, Bonny got a thorough refactoring. Besides this changelog, you might consider the several guides (e.g. the [migration guide](./guides/migration.mid))
Bonny.Operator
was introduced as an entry point to the watching and handling of processes. Your controllers are not more added to the supervision tree by bonny. Instead you must create an operator and add that to your application's supervision tree.- ๐ฆ The
Pluggable
(thinkPlug
) library is used withBonny.Axn
as token to processADDED
,MODIFIED
,DELETED
and reconciliation events byPluggable
pipelines. Bonny.ControllerV2
was introduced as a successor toBonny.Controller
. It leveragesPluggable.StepBuilder
(thinkPlug.Builder
) to build a pluggable pipeline.Bonny.Event
andBonny.EventRecorder
were introducd for Kubernetes event creation (#156, #5)
๐จ Why this refactoring?
- ๐ Allows for better CRD and API version definitions
- โ
With a
Pluggable
architecture, controllers are much easier to test (Think ofPlug.Conn
tests) - The
Pluggable
architecture makes your processing pipelines composable and simpler to customize/extend - Manifest generation and event processing were decoupled
- Internally, the amount of macros was reduced which makes Bonny easier to maintain
โ Added
Bonny.Pluggable.SkipObservedGenerations
- halts the pipelines for a defined list of actions if the observed generation equals the resource's generation.Bonny.Pluggable.ApplyDescendants
- applies all the descendants added to the%Bonny.Axn{}
struct.Bonny.Pluggable.ApplyStatus
- applies the status of the given%Bonny.Axn{}
struct to the status subresource.- ๐
Bonny.Pluggable.Logger
- logs an action event and when status, descendants and events are applied to the cluster. If desired, it makes sense to be placed as first step in your operator pipeline but can also be added to a controller pipeline. Bonny.Resource.add_owner_reference/3
used to add the owner reference to resources created by the controller. (#147)- ๐ท An integration test suite was added that runs tests against a "real" kubernetes cluster on the CI pipeline (#146, #84)
- Mix task for initializing a new operator
mix bonny.init
(#160, #67)
๐ Deprecated
- ๐
Bonny.Controller
was deprecated in favor of the new design withBonny.Operator
andBonny.ControllerV2
-
v0.5.2 Changes
August 31, 2022 -
v0.5.1 Changes
May 25, 2022๐ Fixed
- โ Add missing
priv
folder to package
- โ Add missing
-
v0.5.0 Changes
April 23, 2022๐ Version 0.5.0 comes with some major changes. Please read through the [migration guide](./guides/migrations.md) before upgrading.
-
v0.4.4 Changes
August 09, 2021โ Added
- @impl to macros for clean compilation
- error handling for mid-stream errors
-
v0.4.3 Changes
June 09, 2020โ Added
- Configure watched namespace via config.exs or BONNY_POD_NAMESPACE
- BONNY_POD_NAMESPACE supports "magic" value "ALL"