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
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

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

## 2.2.3

**Release date:** 2026-08-07

This patch release aligns the tarball extraction performed by `Extract` copy
operations with the other copy operations, so that it writes through `os.Root`
and stays confined to the artifact root. It also bounds the expansion of the
`from` and `exclude` glob patterns, which may now contain at most 20 commas
inside `{}` alternation groups. On the `ArtifactGenerator` API, the `to` field
validation pattern no longer accepts `.` and `..` path segments, and each
`exclude` pattern is limited to 1024 characters.

Note that this release contains a CRD schema change, the `ArtifactGenerator`
CRD must be updated along with the controller.

Fixes:
- Confine tarball extraction and bound glob expansion
[#374](https://github.com/fluxcd/source-watcher/pull/374)

## 2.2.2

**Release date:** 2026-07-07
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.2.2
newTag: v2.2.3
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.2.2
github.com/fluxcd/source-watcher/api/v2 v2.2.3
github.com/onsi/gomega v1.42.1
github.com/opencontainers/go-digest v1.0.0
github.com/spf13/pflag v1.0.10
Expand Down