github operator-framework/java-operator-sdk v3.0.0

latest releases: v4.9.5, v4.9.4, v4.9.3...
2 years ago

See the migration guide to update from v2.

New Features Highlights

  • Dependent resources management! See the documentation for more information
  • Support for following a set of namespaces in InformerEventSource and other related improvements.
  • Removal for need of PrimaryToSecondaryMapper - now handled automatically for you
  • Dynamic change of watched namespaces and automatic adjustment of related EventSources
  • Improved Error Handling API
  • and much more...

What's Changed

  • refactor: clean up configurations by @metacosm in #876
  • fix: also run full tests on next branch pushes and PRs by @metacosm in #884
  • fix: decouple DependentResource creation from configuration by @metacosm in #883
  • fix: NPE when no namespace is provided in kube config by @metacosm in #899
  • redesign by @metacosm in #906
  • fix: run e2e tests on next by @csviri in #919
  • Dependent resources standalone mode by @csviri in #914
  • Configuration polish by @csviri in #926
  • Merging Main to Next by @csviri in #943
  • fix: not delete if add owner reference by @csviri in #946
  • Nicer config override by @csviri in #944
  • feat: generic matcher for Kubernetes dependent resource by @csviri in #945
  • refactor: remove multiple loadYaml implementations by @metacosm in #950
  • Extract interfaces for optional behavior of DependentResource by @metacosm in #949
  • feature: update preserves metadata by @csviri in #960
  • fix: no sonar fix experiment by @csviri in #962
  • feat: dependents use traits to specify which features they support by @metacosm in #963
  • Temporal resource cache in Event Source by @csviri in #965
  • Refactor WebPage Sample by @csviri in #976
  • feat: dependent resource context + my sql e2e test improvements by @csviri in #979
  • fix: remove map attribute holder by @csviri in #981
  • feat: re-add contextual map to context by @metacosm in #985
  • fix: webpage e2e test by @csviri in #982
  • feat: matcher avoiding creating the desired state when possible by @metacosm in #992
  • feat: Dependent Resources for External Resources by @csviri in #991
  • fix: javadoc for fails snapshot release by @csviri in #1000
  • fix: state controller name in exception by @metacosm in #1002
  • fix: added logging by @csviri in #1005
  • fix: making sure there is not race condition with temporal cache by @csviri in #1009
  • fix: issue with reading from cache by @csviri in #1008
  • fix: debugThreadPool & shouldCheckCRDAndValidateLocalModel should work by @metacosm in #1015
  • feat: add non-apt-tied behavior annotation and configuration to core by @metacosm in #1013
  • fix: renaming mapper primary <-> secondary by @csviri in #1021
  • feat: dependent resource inherits namespaces from controller config by @csviri in #1020
  • fix: dependent resource cache filler and filter issue by @csviri in #1018
  • ci: don't re run failing tests by @csviri in #1019
  • refactor: getDependentResources return type is more generic by @metacosm in #1023
  • feat: retrieve ConfigurationService from ConfigurationServiceProvider by @metacosm in #1010
  • Docs: Add glossary by @csviri in #1024
  • fix: unit flaky tests by @csviri in #1032
  • fix: flaky integration test by @csviri in #1029
  • Reconcile api proposal by @csviri in #1030
  • docs: adding migration guide skeleton by @csviri in #1036
  • feat: error handler improvements by @csviri in #1033
  • refactor: fix Context is a raw type by @scrocquesel in #1037
  • fix: flaky test by @csviri in #1044
  • Improvements for Quarkus extension by @metacosm in #1043
  • fix: remove deprecated api by @csviri in #842
  • Separate interface for cleanup part of reconciler and Dependent Resources by @csviri in #1035
  • chore: move version to 3.0.0-SNAPSHOT to reflect API breakage by @metacosm in #1051
  • Anchor Headings in Docs by @csviri in #1052
  • Metrics by @scrocquesel in #1059
  • fix: Check CRD default to false by @csviri in #1063
  • feat: add managed dependent webpage reconciler implementation by @metacosm in #1050
  • docs: dependent resources by @csviri in #1026
  • docs: mermaid support by @csviri in #1053
  • chore(deps): bump jackson-dataformat-yaml from 2.13.1 to 2.13.2 by @dependabot in #1069
  • fix: Issue for "Operator Couldn't start source ..." by @csviri in #1070
  • fix: InformerEventSource IT fix by @csviri in #1071
  • chore(deps): bump micrometer-core from 1.8.3 to 1.8.4 by @dependabot in #1068
  • fix: config needs to be reset for each dependent by @metacosm in #1076
  • fix: ResourceId toString by @csviri in #1072
  • chore: update kubernetes versions to test against by @metacosm in #1078
  • fix architecture-and-internals document by @JaeguKim in #1080
  • fix: mysql sample delete part by @csviri in #1081
  • chore(deps): bump spring-boot.version from 2.6.4 to 2.6.5 by @dependabot in #1086
  • feat: add owner reference automatic config by @csviri in #1083
  • fix: e2e test crd ready wait by @csviri in #1079
  • feat: by default standalone dependent resource inherits namespace by @csviri in #1084
  • feat: use MariaDB as drop-in replacement for MySQL by @metacosm in #1085
  • fix: retrieve DependentResource based on name instead of class by @metacosm in #1058
  • fix: renaming empty sting to no value set by @csviri in #1096
  • docs: dependent resources and other improvements by @csviri in #1064
  • feat: add a DependentResource implementation that's also an EventSource by @metacosm in #1094
  • Utlity naming for Event Sources by @csviri in #1098
  • fix: rename getAssiciatedResource to getSecondaryResource by @csviri in #1100
  • fix: abstract fetch resource by @csviri in #1101
  • fix: event source holder not an event source by @csviri in #1102
  • fix(mysql-schema): use proper secondary resource type by @scrocquesel in #1103
  • fix: event sources no ordered start & missing event source throws exception by @csviri in #1104
  • chore(deps): bump jib-maven-plugin from 3.2.0 to 3.2.1 by @dependabot in #1106
  • docs: migration guide to v3 by @csviri in #1088
  • Fabric8 5.12.1 temp fix by @csviri in #1109
  • chore(deps): bump spring-boot.version from 2.6.5 to 2.6.6 by @dependabot in #1113
  • fix: dependent resource docs improvements by @csviri in #1108
  • fix: minor improvements on logging and tests related to temp cache by @csviri in #1115
  • WebPage better showcase Standalone Dependent Resource by @csviri in #1111
  • chore(deps): bump maven-surefire-plugin from 3.0.0-M5 to 3.0.0-M6 by @dependabot in #1128
  • fix: ordered managed dependents by @csviri in #1120
  • fix: namespaces overriding should propagate to dependents if needed by @metacosm in #1124
  • chore(deps): bump maven-clean-plugin from 3.1.0 to 3.2.0 by @dependabot in #1132
  • Event filter fix by @csviri in #1129
  • fix: Ordered Managed Dependent IT and filtering by @csviri in #1133
  • fix: naming and minor structural improvements by @csviri in #1130
  • fix: homogenize label selector default value by @metacosm in #1135
  • feat: support indexers in informer related event sources by @csviri in #1131
  • chore(deps): bump kubernetes-client-bom from 5.12.1 to 5.12.2 by @dependabot in #1143
  • ci: prepare ci for v3 release by @csviri in #1140
  • refactor: use fabric8 finalizer validation by @metacosm in #1142
  • fix: revert to M5 because M6 won't fail tests if they don't start by @metacosm in #1144
  • fix: shut down operator when failing to start by @metacosm in #1137
  • fix: reverting the createOrReplace to replace (fabric8 issue) by @csviri in #1145
  • fix: remove tweet by @csviri in #1149
  • feat: patching with update control by @csviri in #1147
  • setup-java v3 by @sullis in #1151
  • fix: make webpage sample work OOTB by @rsynek in #1155
  • chore(deps): bump micrometer-core from 1.8.4 to 1.8.5 by @dependabot in #1159
  • chore(deps-dev): bump mockito-core from 4.4.0 to 4.5.0 by @dependabot in #1166
  • feat: remove primary to secondary mapper (handled automatically) by @csviri in #1161
  • chore(deps): bump maven-javadoc-plugin from 3.3.2 to 3.4.0 by @dependabot in #1167
  • chore(deps): bump nexus-staging-maven-plugin from 1.6.12 to 1.6.13 by @dependabot in #1173
  • chore(deps-dev): bump mockito-core from 4.5.0 to 4.5.1 by @dependabot in #1174
  • chore(deps): bump spring-boot.version from 2.6.6 to 2.6.7 by @dependabot in #1172
  • feat: make default watched namespaces behavior explicit by @metacosm in #1177
  • All Resource Event Sources can handle multiple seconday resources for a primary resources by @csviri in #1169
  • chore: update version to 3.0.0.RC3-SNAPSHOT by @metacosm in #1178
  • chore(deps): bump mysql-connector-java from 8.0.28 to 8.0.29 by @dependabot in #1181
  • feat: throw exception if desired is null by @csviri in #1180
  • docs: primary to secondary mapper customization for dependent resources by @csviri in #1186
  • fix: simplify informer config generics by @csviri in #1184
  • aggregate exception improvement by @csviri in #1188
  • feat: expressive error for missing @ControllerConfiguration annotation by @csviri in #1190
  • fix: remove get controllers from operator by @csviri in #1191
  • dynamic namespace config by @csviri in #1187
  • refactor: move watch all and default namespace constants by @csviri in #1194
  • ci: skip update version for release candidates by @csviri in #1195
  • chore(deps): bump manusa/actions-setup-minikube from 2.4.3 to 2.5.0 by @dependabot in #1202
  • feat: make RegisteredController a little more useful by @metacosm in #1199
  • refactor!: rename JUnit extensions more appropriately by @metacosm in #1200
  • chore(deps): bump manusa/actions-setup-minikube from 2.5.0 to 2.6.0 by @dependabot in #1205
  • fix: test tuned periods by @csviri in #1196
  • chore: update kubernetes versions to test against by @metacosm in #1207
  • refactor: clean namespaces constants by @metacosm in #1206
  • feat: integration test for cross reference dependent resource by @csviri in #1203
  • chore: update to 3.0.0.RC5-SNAPSHOT version by @metacosm in #1209
  • chore(deps): bump micrometer-core from 1.8.5 to 1.9.0 by @dependabot in #1211
  • docs: minor improvements by @csviri in #1213
  • docs: glossary wording by @csviri in #1214
  • chore(deps): bump jackson-dataformat-yaml from 2.13.2 to 2.13.3 by @dependabot in #1216
  • feat: patch does not do optimistic locking by @csviri in #1210
  • fix: MDC add namespace only if present by @csviri in #1224
  • fix: null values deleted - using edit by @csviri in #1219
  • fix: same as controller config for KubernetesDependentResource standalone by @csviri in #1222
  • WebPage E2E Improvement by @csviri in #1226
  • chore: update to proper version to release by @metacosm in #1227

New Contributors

Full Changelog: v2.1.3...v3.0.0

Don't miss a new java-operator-sdk release

NewReleases is sending notifications on new releases.