Skip to content

Commit

Permalink
Merge pull request #206 from lsst-sqre/tickets/DM-40691
Browse files Browse the repository at this point in the history
DM-40691: Prepare release 4.5.0
  • Loading branch information
rra authored Sep 12, 2023
2 parents d683157 + ba080d7 commit 5817676
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ Changes for the upcoming release can be found in [changelog.d](https://github.co

<!-- scriv-insert-here -->

<a id='changelog-4.5.0'></a>
## 4.5.0 (2023-09-12)

### New features

- Add `list_namespaced_custom_object` with watch support to the Kubernetes mock.
- Add watch, field selector, and label selector support to `list_namespace` in the Kubernetes mock.

### Bug fixes

- The Kubernetes mock now correctly maintains the resource version of `Ingress`, `Job`, and `Service` objects, since they support watches which rely on resource versions.
- When creating a `Pod` from a `Job` in the Kubernetes mock using `generateName`, randomize the `Pod` name like Kubernetes does rather than using a fixed name. This forces tests to scan correctly for pods associated with a job. If the `Pod` `name` or `generateName` was explicitly configured in the `Job` template, honor it.
- `read_namespace` and `list_namespace` in the Kubernetes mock now only return namespace objects that have been explicitly created, not implicit namespaces created by creating another object without making a namespace first. This more closely matches the behavior of Kubernetes while still making it easy to use the mock in a test environment simulating a pre-existing namespace.

<a id='changelog-4.4.0'></a>
## 4.4.0 (2023-09-07)

Expand Down
3 changes: 0 additions & 3 deletions changelog.d/20230908_143247_rra_DM_40691.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20230908_150940_rra_DM_40691.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20230908_152325_rra_DM_40691_queue.md

This file was deleted.

7 changes: 0 additions & 7 deletions changelog.d/20230912_145508_rra_DM_40691.md

This file was deleted.

0 comments on commit 5817676

Please sign in to comment.