Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,48 @@

All notable changes to this project are documented in this file.

## 2.2.0

**Release date:** 2026-06-24

This minor release comes with enhancements to the `ArtifactGenerator` API and
updated Kubernetes and source-controller dependencies.

### ArtifactGenerator

The `ArtifactGenerator` now supports directory discovery through the
`.spec.pathPattern` field, a `@<alias>/<pattern>` traversal expression whose
named captures (e.g. `{app}`) can be used as placeholders in the output
artifact fields.

The API also gains a `.spec.commonMetadata` field for setting common labels and
annotations on the generated artifacts.

### General updates

In addition, the Kubernetes dependencies have been updated to v1.36 along with
controller-runtime v0.24, and the source-controller API has been bumped to
v1.9.0.

Fixes:
- Fix copy exclude pattern matching
[#334](https://github.com/fluxcd/source-watcher/pull/334)

Improvements:
- Add `.spec.commonMetadata` to ArtifactGenerator
[#333](https://github.com/fluxcd/source-watcher/pull/333)
- Add `.spec.pathPattern` directory discovery to ArtifactGenerator
[#341](https://github.com/fluxcd/source-watcher/pull/341)
- Update to Kubernetes 1.36 and Go 1.26
[#335](https://github.com/fluxcd/source-watcher/pull/335)
- Upgrade source-controller API to v1.9.0
[#342](https://github.com/fluxcd/source-watcher/pull/342)
- Various dependency updates
[#336](https://github.com/fluxcd/source-watcher/pull/336)
[#338](https://github.com/fluxcd/source-watcher/pull/338)
[#339](https://github.com/fluxcd/source-watcher/pull/339)
[#340](https://github.com/fluxcd/source-watcher/pull/340)

## 2.1.1

**Release date:** 2026-03-12
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ resources:
images:
- name: fluxcd/source-watcher
newName: fluxcd/source-watcher
newTag: v2.1.0
newTag: v2.2.0
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/fluxcd/pkg/tar v1.2.0
github.com/fluxcd/pkg/testserver v0.14.0
github.com/fluxcd/source-controller/api v1.9.0
github.com/fluxcd/source-watcher/api/v2 v2.1.0
github.com/fluxcd/source-watcher/api/v2 v2.2.0
github.com/onsi/gomega v1.41.0
github.com/opencontainers/go-digest v1.0.0
github.com/spf13/pflag v1.0.10
Expand Down
Loading