Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
f7dd1eb
docs: fix copy-pasted requirement
toddbaert Dec 4, 2024
7ca092e
feat: add context-value flag (#1448)
alemrtv Dec 5, 2024
0b6e2a1
fix(deps): update module google.golang.org/grpc to v1.68.1 (#1456)
renovate[bot] Dec 5, 2024
dbdaa19
fix(deps): update module golang.org/x/crypto to v0.30.0 (#1457)
renovate[bot] Dec 5, 2024
ac0b123
fix(deps): update module golang.org/x/net to v0.32.0 (#1458)
renovate[bot] Dec 7, 2024
dbc1da4
fix(deps): update module github.com/diegoholiveira/jsonlogic/v3 to v3…
renovate[bot] Dec 10, 2024
431fbb4
fix(deps): update kubernetes packages to v0.31.4 (#1461)
renovate[bot] Dec 11, 2024
a9f7261
feat: s3 support for the blob sync (#1449)
djosephsen Dec 11, 2024
b2245d7
fix(deps): update module golang.org/x/crypto to v0.31.0 (#1463)
renovate[bot] Dec 12, 2024
dd4869f
fix(deps): update module google.golang.org/grpc to v1.69.0 (#1469)
renovate[bot] Dec 12, 2024
a3d899c
fix(deps): update module github.com/diegoholiveira/jsonlogic/v3 to v3…
renovate[bot] Dec 16, 2024
6a8a9a9
fix(deps): update module google.golang.org/protobuf to v1.36.0 (#1474)
renovate[bot] Dec 16, 2024
0b11c6c
fix(deps): update module buf.build/gen/go/open-feature/flagd/protocol…
renovate[bot] Dec 17, 2024
dfd2af9
chore: release main (#1437)
github-actions[bot] Dec 18, 2024
ce48cb7
fix(deps): update module github.com/open-feature/flagd/core to v0.10.…
renovate[bot] Dec 18, 2024
6b40ad3
fix(deps): update module google.golang.org/grpc to v1.69.2 (#1484)
renovate[bot] Dec 18, 2024
4764077
fix(deps): update module golang.org/x/net to v0.33.0 [security] (#1486)
renovate[bot] Dec 19, 2024
35d286a
feat(spec): from grace attempts to grace period, plus connection info…
aepfli Dec 19, 2024
8e09457
fix(deps): update module buf.build/gen/go/open-feature/flagd/connectr…
renovate[bot] Dec 21, 2024
53add83
fix(deps): update module buf.build/gen/go/open-feature/flagd/grpc/go …
renovate[bot] Dec 21, 2024
6edce72
fix(deps): update module buf.build/gen/go/open-feature/flagd/protocol…
renovate[bot] Dec 21, 2024
2c729a7
fix(deps): update module google.golang.org/protobuf to v1.36.1 (#1491)
renovate[bot] Dec 23, 2024
9f1d94a
fix(deps): update module buf.build/gen/go/open-feature/flagd/grpc/go …
renovate[bot] Dec 24, 2024
fdf8df6
build(renovate): Utilize default OpenFeature Renovate configuration (…
aepfli Dec 29, 2024
6a3d8ac
fix(deps): update github.com/open-feature/flagd-schemas digest to b81…
renovate[bot] Dec 29, 2024
a692b00
fix(deps): update golang.org/x/exp digest to b2144cd (#1320)
renovate[bot] Dec 30, 2024
b2471b8
docs: Add docs for s3 blobs (#1477)
djosephsen Dec 31, 2024
9891df2
chore: bump flagd-core in playground, add metadata example, fix doc l…
beeme1mr Jan 7, 2025
d50fcc8
feat: add ssl support to sync service (#1479) (#1501)
alexandraoberaigner Jan 9, 2025
e1fe149
fix(deps): update module github.com/diegoholiveira/jsonlogic/v3 to v3…
renovate[bot] Jan 9, 2025
1a853f7
fix(deps): update github.com/open-feature/flagd-schemas digest to 37b…
renovate[bot] Jan 10, 2025
b868194
fix(deps): update module buf.build/gen/go/open-feature/flagd/connectr…
renovate[bot] Jan 10, 2025
242e594
fix(deps): update golang.org/x/exp digest to 7588d65 (#1495)
renovate[bot] Jan 10, 2025
426c36e
fix(deps): update module buf.build/gen/go/open-feature/flagd/protocol…
renovate[bot] Jan 10, 2025
6c78080
docs: flag and flag-set metadata (#1505)
toddbaert Jan 10, 2025
87727f7
fix(deps): update module github.com/mattn/go-colorable to v0.1.14 (#1…
renovate[bot] Jan 10, 2025
89d3259
fix(deps): update module connectrpc.com/connect to v1.18.1 (#1507)
renovate[bot] Jan 10, 2025
63a34d2
fix(deps): update module golang.org/x/crypto to v0.32.0 (#1497)
renovate[bot] Jan 11, 2025
7584f95
fix(deps): update module golang.org/x/net to v0.34.0 (#1498)
renovate[bot] Jan 11, 2025
9d06812
fix(deps): update module github.com/diegoholiveira/jsonlogic/v3 to v3…
renovate[bot] Jan 12, 2025
76d6353
fix(deps): update module google.golang.org/grpc to v1.69.4 (#1510)
renovate[bot] Jan 13, 2025
26b0b1a
fix(deps): update opentelemetry-go monorepo (#1470)
renovate[bot] Jan 13, 2025
13fbbad
feat: support flag metadata (#1476)
aasifkhan7 Jan 15, 2025
ada1c07
chore: release main (#1483)
github-actions[bot] Jan 15, 2025
64c5787
fix(deps): update module buf.build/gen/go/open-feature/flagd/protocol…
renovate[bot] Jan 15, 2025
586cb62
fix(deps): update module github.com/open-feature/flagd/core to v0.10.…
renovate[bot] Jan 16, 2025
998a216
fix(sync): fixing missing handover of ssl configuration (#1517)
aepfli Jan 16, 2025
600ce46
chore: release main (#1514)
github-actions[bot] Jan 16, 2025
bae9b6f
fix: Skip flagd banner when non-console logger in use (#1516)
austindrenski Jan 17, 2025
bf8e7e0
fix(deps): update module github.com/open-feature/flagd/core to v0.10.…
renovate[bot] Jan 19, 2025
db2f990
fix(deps): update module github.com/diegoholiveira/jsonlogic/v3 to v3…
renovate[bot] Jan 19, 2025
eeae9a6
fix(deps): update opentelemetry-go monorepo (#1524)
renovate[bot] Jan 19, 2025
166c40a
chore: release main (#1519)
github-actions[bot] Jan 23, 2025
fbf2ed5
fix(deps): update module github.com/open-feature/flagd/core to v0.10.…
renovate[bot] Jan 23, 2025
79b2b0a
fix(deps): update module google.golang.org/grpc to v1.70.0 (#1528)
renovate[bot] Jan 24, 2025
8881a80
fix(deps): update module buf.build/gen/go/open-feature/flagd/protocol…
renovate[bot] Jan 26, 2025
8303353
fix(deps): update github.com/open-feature/flagd-schemas digest to bb7…
renovate[bot] Jan 28, 2025
f298866
feat: migrate file evaluation to own provider type (#1525)
aepfli Jan 28, 2025
d5ec921
fix(deps): update module buf.build/gen/go/open-feature/flagd/connectr…
renovate[bot] Jan 28, 2025
e23060f
fix(deps): update module buf.build/gen/go/open-feature/flagd/grpc/go …
renovate[bot] Jan 28, 2025
f74207b
fix(deps): update module buf.build/gen/go/open-feature/flagd/protocol…
renovate[bot] Jan 28, 2025
7a06567
fix(deps): update golang.org/x/exp digest to 3edf0e9 (#1538)
renovate[bot] Jan 28, 2025
76d673a
feat: support yaml in blob, file, and http syncs (#1522)
beeme1mr Jan 28, 2025
4281c6e
fix(deps): update golang.org/x/exp digest to e0ece0d (#1539)
renovate[bot] Jan 29, 2025
b49abf9
feat!: flagSetMetadata in OFREP/ResolveAll, core refactors (#1540)
toddbaert Jan 31, 2025
a444b74
chore: release main (#1527)
github-actions[bot] Jan 31, 2025
986a436
fix(deps): update module github.com/open-feature/flagd/core to v0.11.…
renovate[bot] Jan 31, 2025
7d6c0dc
fix(deps): update module golang.org/x/sync to v0.11.0 (#1543)
renovate[bot] Feb 4, 2025
573bbfb
fix: sbom generation error
toddbaert Feb 4, 2025
82dc4e4
chore: release main (#1542)
github-actions[bot] Feb 4, 2025
6fe7bd2
fix(deps): update module golang.org/x/mod to v0.23.0 (#1544)
renovate[bot] Feb 4, 2025
ca663b5
fix(deps): update module github.com/open-feature/flagd/core to v0.11.…
renovate[bot] Feb 4, 2025
c9b936e
fix: enable SBOM generation and provenance in release workflow (#1547)
beeme1mr Feb 4, 2025
7b2b7cc
fix(deps): update module google.golang.org/protobuf to v1.36.5 (#1548)
renovate[bot] Feb 6, 2025
d3eb44e
fix(deps): update module buf.build/gen/go/open-feature/flagd/protocol…
renovate[bot] Feb 6, 2025
02c4b42
fix(deps): update golang.org/x/exp digest to f9890c6 (#1551)
renovate[bot] Feb 7, 2025
7cef153
fix(deps): update module golang.org/x/crypto to v0.33.0 (#1552)
renovate[bot] Feb 8, 2025
096aae5
docs: metadata conceptual doc (#1550)
toddbaert Feb 10, 2025
23afa9c
fix(deps): update golang.org/x/exp digest to 939b2ce (#1555)
renovate[bot] Feb 11, 2025
0dfa799
fix(deps): update module github.com/diegoholiveira/jsonlogic/v3 to v3…
renovate[bot] Feb 11, 2025
13146e5
fix(deps): update module golang.org/x/net to v0.35.0 (#1557)
renovate[bot] Feb 11, 2025
130904c
chore(deps): update golang docker tag to v1.24 (#1561)
renovate[bot] Feb 13, 2025
345d2a9
fix(deps): update module github.com/spf13/cobra to v1.9.0 (#1564)
renovate[bot] Feb 15, 2025
a48cc80
fix(deps): update module github.com/spf13/cobra to v1.9.1 (#1566)
renovate[bot] Feb 17, 2025
a3d4162
fix(deps): update module github.com/prometheus/client_golang to v1.21…
renovate[bot] Feb 19, 2025
1a97ca5
feat: Adding gRPC dial option override to grpc_sync.go (#1563)
cupofcat Feb 20, 2025
cd3c3c6
docs: fix url for flags.json (#1553)
winor30 Feb 21, 2025
57fcca7
docs: add rust provider
beeme1mr Feb 21, 2025
e199e33
chore: release main (#1546)
github-actions[bot] Feb 21, 2025
6e9dbd2
fix(deps): update module github.com/google/go-cmp to v0.7.0 (#1569)
renovate[bot] Feb 22, 2025
e151b1f
fix(deps): update module github.com/open-feature/flagd/core to v0.11.…
renovate[bot] Feb 23, 2025
e2203a1
fix: add support for unix socket connection in sync service (#1518) (…
alexandraoberaigner Feb 25, 2025
6094dce
fix(deps): update module connectrpc.com/otelconnect to v0.7.2 (#1574)
renovate[bot] Mar 1, 2025
cd95193
fix(deps): update module github.com/prometheus/client_golang to v1.21…
renovate[bot] Mar 4, 2025
5c2c64f
fix(deps): update module google.golang.org/grpc to v1.71.0 (#1578)
renovate[bot] Mar 5, 2025
779e8f9
fix(deps): update opentelemetry-go monorepo (#1581)
renovate[bot] Mar 6, 2025
6a13796
feat: accept version numbers which are not strings (#1589)
chrfwow Mar 14, 2025
9ee0c57
fix(deps): update github.com/open-feature/flagd-schemas digest to e84…
renovate[bot] Mar 14, 2025
b333e11
fix: incorrect metadata returned per source (#1599)
toddbaert Mar 25, 2025
0587ce4
fix(deps): update github.com/open-feature/flagd-schemas digest to 9b0…
renovate[bot] Mar 25, 2025
3f4690e
chore: release main (#1571)
github-actions[bot] Mar 25, 2025
cd46044
chore(deps): update dependency go to v1.24.1 (#1559)
renovate[bot] Mar 25, 2025
ddfa020
docs: add providerId as a configuration option (#1567)
beeme1mr Mar 27, 2025
8c5ac2f
fix: incorrect comparison used for time (#1608)
wilson-matthew Mar 27, 2025
babcacf
refactor: Refactor the cron function in http sync (#1600)
ChihweiLHBird Mar 27, 2025
ac52674
chore: add global maintainers to the codeowners (#1617)
aepfli Apr 5, 2025
11db29d
fix: Bump OpenTelemetry instrumentation dependencies (#1616)
jcreixell Apr 8, 2025
a5d43bc
feat: add traces to ofrep endpoint (#1593)
aepfli Apr 10, 2025
f94ebee
docs: clarify that bucketing keys are strings (#1619)
beeme1mr Apr 10, 2025
3887a53
chore: use publish env
toddbaert Apr 16, 2025
e0cf061
docs: add documentation on running flagd within docker-compose (#1626)
kylejuliandev Apr 28, 2025
e8d6d6d
docs: improve content tab anchors on getting started (#1628)
kylejuliandev Apr 29, 2025
81c66eb
refactor: removed hardcoded metric export interval and use otel defau…
beeme1mr May 7, 2025
7566f51
docs(ADR): add architecture decision template (#1630)
beeme1mr May 15, 2025
761d870
chore(security): upgrade dependency versions (#1632)
i-m-addycoder May 28, 2025
cb2b8ee
chore: release main (#1605)
github-actions[bot] Jun 2, 2025
bf10ff3
docs(ADR): add gherkin ADR (#1631)
toddbaert Jun 5, 2025
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
34 changes: 3 additions & 31 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
container-release:
name: Build and push containers to GHCR
needs: release-please
environment: publish
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.items_to_publish != '' && toJson(fromJson(needs.release-please.outputs.items_to_publish)) != '[]' }}
strategy:
Expand Down Expand Up @@ -108,6 +109,8 @@ jobs:
context: .
file: ./${{ matrix.path }}/build.Dockerfile
platforms: linux/amd64,linux/arm64
provenance: mode=max
sbom: true
push: true
tags: |
${{ env.REGISTRY }}/${{ env.REPO_OWNER }}/${{ matrix.path }}:latest
Expand All @@ -128,24 +131,12 @@ jobs:
COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}}
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}

- name: Generate image SBOM file name
id: image-sbom-file-gen
run: echo "IMG_SBOM_FILE=${{ format('{0}-{1}-sbom.spdx', matrix.path, env.VERSION) }}" >> $GITHUB_OUTPUT

- name: SBOM for latest image
uses: anchore/sbom-action@b6a39da80722a2cb0ef5d197531764a89b5d48c3 # v0
with:
image: ${{ env.REGISTRY }}/${{ env.REPO_OWNER }}/${{ matrix.path }}:${{ env.VERSION }}
artifact-name: ${{ steps.image-sbom-file-gen.outputs.IMG_SBOM_FILE }}
output-file: ${{ steps.image-sbom-file-gen.outputs.IMG_SBOM_FILE }}

- name: Bundle release assets
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
with:
tag_name: ${{ env.TAG }}
files: |
${{ env.PUBLIC_KEY_FILE }}
${{ steps.image-sbom-file-gen.outputs.IMG_SBOM_FILE }}

release-go-binaries:
name: Create and publish binaries to GitHub
Expand Down Expand Up @@ -211,24 +202,6 @@ jobs:
run: |
env CGO_ENABLED=0 GOOS=windows GOARCH=386 go build ${{ env.BUILD_ARGS }} -o ./${{ matrix.path }}_windows_i386 ./${{ matrix.path }}/main.go
zip -r ${{ matrix.path }}_${{ env.VERSION_NO_PREFIX }}_Windows_i386.zip ./${{ matrix.path }}_windows_i386 ./LICENSE ./CHANGELOG.md ./README.md ./sbom.xml
# Bundle licenses
- name: Install go-licenses
run: go install github.com/google/go-licenses@latest
- name: Build license extraction locations
id: license-files
run: |
echo "LICENSE_FOLDER=${{ format('{0}-third-party-license', matrix.path) }}" >> $GITHUB_OUTPUT
echo "LICENSE_ERROR_FILE=${{ format('{0}-license-errors.txt', matrix.path) }}" >> $GITHUB_OUTPUT
- name: Run go-licenses for module ${{ matrix.path }}
run: go-licenses save ./${{ matrix.path }} --save_path=./${{ steps.license-files.outputs.LICENSE_FOLDER }} --force --logtostderr=false 2> ./${{ steps.license-files.outputs.LICENSE_ERROR_FILE }}
continue-on-error: true # tool set stderr which can be ignored and referred through error artefact
- name: Bundle license extracts
run: |
if [ -d ./${{ steps.license-files.outputs.LICENSE_FOLDER }} ]; then
tar czf ./${{ steps.license-files.outputs.LICENSE_FOLDER }}.tar.gz ./${{ steps.license-files.outputs.LICENSE_FOLDER }}
else
echo "Directory ./${{ steps.license-files.outputs.LICENSE_FOLDER }} does not exist. Skipping tar creation."
fi
# Bundle release artifacts
- name: Bundle release assets
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
Expand All @@ -238,7 +211,6 @@ jobs:
./sbom.xml
./*.tar.gz
./*.zip
./${{ steps.license-files.outputs.LICENSE_ERROR_FILE }}
homebrew:
name: Bump homebrew-core formula
needs: release-please
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
url = https://github.com/open-feature/spec.git
[submodule "schemas"]
path = schemas
url = https://github.com/open-feature/schemas.git
url = https://github.com/open-feature/flagd-schemas.git
51 changes: 7 additions & 44 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,11 @@
run:
skip-dirs:
- (^|/)bin($|/)
- (^|/)examples($|/)
- (^|/)schemas($|/)
- (^|/)test-harness($|/)
linters:
enable:
- asciicheck
- asasalint
- bidichk
- bodyclose
- contextcheck
- dogsled
- dupl
- dupword
- durationcheck
- errchkjson
- exhaustive
- funlen
- gci
- goconst
- gocritic
- gocyclo
- interfacebloat
- gosec
- lll
- misspell
- nakedret
- nilerr
- nilnil
- noctx
- nosprintfhostport
- prealloc
- promlinter
- revive
- rowserrcheck
- exportloopref
- stylecheck
- unconvert
- unparam
- whitespace
- wrapcheck
- gofumpt
- tenv
timeout: 3m
linters-settings:
funlen:
statements: 50
golint:
min-confidence: 0.6
enable-all: true
issues:
exclude:
- pkg/generated
Expand All @@ -65,3 +23,8 @@ issues:
- gocyclo
- dupl
- staticcheck
exclude-dirs:
- (^|/)bin($|/)
- (^|/)examples($|/)
- (^|/)schemas($|/)
- (^|/)test-harness($|/)
1 change: 1 addition & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ config:
max-one-sentence-per-line: true
code-block-style: false # not compatible with mkdocs "details" panes
no-alt-text: false
descriptive-link-text: false
MD007:
indent: 4

Expand Down
6 changes: 3 additions & 3 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"flagd": "0.11.4",
"flagd-proxy": "0.6.7",
"core": "0.10.4"
"flagd": "0.12.4",
"flagd-proxy": "0.7.4",
"core": "0.11.4"
}
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#
# Managed by Peribolos: https://github.com/open-feature/community/blob/main/config/open-feature/cloud-native/workgroup.yaml
#
* @open-feature/cloud-native-maintainers
* @open-feature/cloud-native-maintainers @open-feature/maintainers
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@ uninstall:
rm /etc/systemd/system/flagd.service
rm -f $(DESTDIR)$(PREFIX)/bin/flagd
lint:
go install -v github.com/golangci/golangci-lint/cmd/[email protected]
$(foreach module, $(ALL_GO_MOD_DIRS), ${GOPATH}/bin/golangci-lint run --deadline=5m --timeout=5m $(module)/... || exit;)
go install -v github.com/golangci/golangci-lint/cmd/[email protected]
$(foreach module, $(ALL_GO_MOD_DIRS), ${GOPATH}/bin/golangci-lint run $(module)/...;)
lint-fix:
go install -v github.com/golangci/golangci-lint/cmd/[email protected]
$(foreach module, $(ALL_GO_MOD_DIRS), ${GOPATH}/bin/golangci-lint run --fix $(module)/...;)
install-mockgen:
go install go.uber.org/mock/[email protected]
mockgen: install-mockgen
Expand Down Expand Up @@ -134,8 +137,8 @@ update-public-schema: pull-schemas-submodule

.PHONY: run-web-docs
run-web-docs: generate-docs generate-proto-docs
docker build -t squidfunk/mkdocs-material . \
&& docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
docker build -t flag-docs:latest . --load \
&& docker run --rm -it -p 8000:8000 -v ${PWD}:/docs flag-docs:latest

# Run the playground app in dev mode
# See the readme in the playground-app folder for more details
Expand Down
9 changes: 8 additions & 1 deletion config/samples/example_flags.flagd.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
{
"$schema": "https://flagd.dev/schema/v0/flags.json",
"metadata": {
"flagSetId": "example",
"version": "v1"
},
"flags": {
"myBoolFlag": {
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "on"
"defaultVariant": "on",
"metadata": {
"version": "v2"
}
},
"myStringFlag": {
"state": "ENABLED",
Expand Down
3 changes: 3 additions & 0 deletions config/samples/example_flags_secondary.flagd.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"$schema": "https://flagd.dev/schema/v0/flags.json",
"metadata": {
"version": "v2"
},
"flags": {
"myBoolFlag": {
"state": "ENABLED",
Expand Down
Loading
Loading