Skip to content

Commit 2e2896e

Browse files
committed
Merge branch 'main' into get-user-apikeys
2 parents 8bdf9f5 + d8fa117 commit 2e2896e

File tree

735 files changed

+4056
-3201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

735 files changed

+4056
-3201
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.0.0"
2+
".": "2.1.1"
33
}

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# Changelog
22

3+
## [2.1.1](https://github.com/bucketeer-io/bucketeer/compare/v2.1.0...v2.1.1) (2025-09-26)
4+
5+
6+
### Bug Fixes
7+
8+
* add v2 module path for Go modules v2+ semantic versioning ([#2137](https://github.com/bucketeer-io/bucketeer/issues/2137)) ([5bde96c](https://github.com/bucketeer-io/bucketeer/commit/5bde96c7920e82cb4407cdbe308d16861d017425))
9+
10+
## [2.1.0](https://github.com/bucketeer-io/bucketeer/compare/v2.0.0...v2.1.0) (2025-09-26)
11+
12+
13+
### Features
14+
15+
* add pprof debug option ([#2083](https://github.com/bucketeer-io/bucketeer/issues/2083)) ([ef15387](https://github.com/bucketeer-io/bucketeer/commit/ef15387c5bf5bae905a1891daf5b6481eb7ac1b3))
16+
* support not equal operator for evaluation ([#2095](https://github.com/bucketeer-io/bucketeer/issues/2095)) ([6b263fc](https://github.com/bucketeer-io/bucketeer/commit/6b263fc6c4cafd894c4643276bb675df60228add))
17+
18+
19+
### Bug Fixes
20+
21+
* change log target to cloned feature ([#2107](https://github.com/bucketeer-io/bucketeer/issues/2107)) ([e2164fd](https://github.com/bucketeer-io/bucketeer/commit/e2164fd8656e69c52ad8e8992d62078934f7d682))
22+
* **dashboard/ui:** new operation progressive rollout ([#2094](https://github.com/bucketeer-io/bucketeer/issues/2094)) ([dc70be2](https://github.com/bucketeer-io/bucketeer/commit/dc70be2370b84853788b67c7b87fe29c4747e910))
23+
* resolve missing dependencies in incremental feature flag evaluation ([#2135](https://github.com/bucketeer-io/bucketeer/issues/2135)) ([7dc9b2b](https://github.com/bucketeer-io/bucketeer/commit/7dc9b2b358e7437d097fb81967b74df6df6b6896))
24+
* **ui/dashboard:** experiment filter search params ([#2123](https://github.com/bucketeer-io/bucketeer/issues/2123)) ([8489257](https://github.com/bucketeer-io/bucketeer/commit/84892578a20c2b411db65f9b86350d1b525288d6))
25+
* **ui/dashboard:** progressive rollout manual validate ([#2111](https://github.com/bucketeer-io/bucketeer/issues/2111)) ([338ac00](https://github.com/bucketeer-io/bucketeer/commit/338ac00561806bced420c5691ca87f472fd0fff5))
26+
27+
28+
### Miscellaneous
29+
30+
* correcting tags for event counter APIs ([#2108](https://github.com/bucketeer-io/bucketeer/issues/2108)) ([2cd751d](https://github.com/bucketeer-io/bucketeer/commit/2cd751d26d81daaf16d95023c3252d8b8a0737eb))
31+
* fix typo in locales ([#2091](https://github.com/bucketeer-io/bucketeer/issues/2091)) ([b998a47](https://github.com/bucketeer-io/bucketeer/commit/b998a479680384b8534904e4d6052f2b0d74110b))
32+
* remove old console ([#2126](https://github.com/bucketeer-io/bucketeer/issues/2126)) ([a87501c](https://github.com/bucketeer-io/bucketeer/commit/a87501c94892943a6db622f5334312ed16b4c195))
33+
* update new url for new console ([#2085](https://github.com/bucketeer-io/bucketeer/issues/2085)) ([a80039b](https://github.com/bucketeer-io/bucketeer/commit/a80039b8e69da41ddf740045bee4c4307114288d))
34+
35+
36+
### Build System
37+
38+
* **deps-dev:** bump vite from 7.0.6 to 7.0.7 in /ui/dashboard ([#2117](https://github.com/bucketeer-io/bucketeer/issues/2117)) ([ec2d34b](https://github.com/bucketeer-io/bucketeer/commit/ec2d34b0f7563a323456aac2fb3e552e4fd384b2))
39+
* **deps:** bump axios from 1.11.0 to 1.12.0 in /ui/dashboard ([#2122](https://github.com/bucketeer-io/bucketeer/issues/2122)) ([c75bc33](https://github.com/bucketeer-io/bucketeer/commit/c75bc33ce1b90405c4190bacf22cb1dbabe5ad4d))
40+
* **deps:** bump the dependencies group with 14 updates ([#2100](https://github.com/bucketeer-io/bucketeer/issues/2100)) ([d62102f](https://github.com/bucketeer-io/bucketeer/commit/d62102fad6c6ca998f7c1015e3f29c156a8fc0e9))
41+
* **deps:** bump the dependencies group with 14 updates ([#2129](https://github.com/bucketeer-io/bucketeer/issues/2129)) ([cd69a01](https://github.com/bucketeer-io/bucketeer/commit/cd69a01030abdf660d653f4b6abdaa6cb8db6f29))
42+
343
## [2.0.0](https://github.com/bucketeer-io/bucketeer/compare/v1.3.0...v2.0.0) (2025-08-27)
444

545

cmd/api/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package main
1717
import (
1818
"log"
1919

20-
"github.com/bucketeer-io/bucketeer/pkg/api/cmd"
21-
"github.com/bucketeer-io/bucketeer/pkg/cli"
20+
"github.com/bucketeer-io/bucketeer/v2/pkg/api/cmd"
21+
"github.com/bucketeer-io/bucketeer/v2/pkg/cli"
2222
)
2323

2424
var (

cmd/batch/batch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package main
1717
import (
1818
"log"
1919

20-
"github.com/bucketeer-io/bucketeer/pkg/batch/cmd/server"
21-
"github.com/bucketeer-io/bucketeer/pkg/cli"
20+
"github.com/bucketeer-io/bucketeer/v2/pkg/batch/cmd/server"
21+
"github.com/bucketeer-io/bucketeer/v2/pkg/cli"
2222
)
2323

2424
var (

cmd/subscriber/subscriber.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package main
1717
import (
1818
"log"
1919

20-
"github.com/bucketeer-io/bucketeer/pkg/cli"
21-
"github.com/bucketeer-io/bucketeer/pkg/subscriber/cmd/server"
20+
"github.com/bucketeer-io/bucketeer/v2/pkg/cli"
21+
"github.com/bucketeer-io/bucketeer/v2/pkg/subscriber/cmd/server"
2222
)
2323

2424
var (

cmd/web/web.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package main
1717
import (
1818
"log"
1919

20-
"github.com/bucketeer-io/bucketeer/pkg/cli"
21-
"github.com/bucketeer-io/bucketeer/pkg/web/cmd/server"
20+
"github.com/bucketeer-io/bucketeer/v2/pkg/cli"
21+
"github.com/bucketeer-io/bucketeer/v2/pkg/web/cmd/server"
2222
)
2323

2424
var (

evaluation/go/clause_evaluator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020

2121
"github.com/blang/semver"
2222

23-
featureproto "github.com/bucketeer-io/bucketeer/proto/feature"
23+
featureproto "github.com/bucketeer-io/bucketeer/v2/proto/feature"
2424
)
2525

2626
type clauseEvaluator struct {

evaluation/go/clause_evaluator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020

2121
"github.com/stretchr/testify/assert"
2222

23-
featureproto "github.com/bucketeer-io/bucketeer/proto/feature"
23+
featureproto "github.com/bucketeer-io/bucketeer/v2/proto/feature"
2424
)
2525

2626
func TestGreaterFloat(t *testing.T) {

evaluation/go/evaluation.go

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121

2222
"golang.org/x/exp/maps"
2323

24-
ftdomain "github.com/bucketeer-io/bucketeer/pkg/feature/domain"
25-
ftproto "github.com/bucketeer-io/bucketeer/proto/feature"
26-
userproto "github.com/bucketeer-io/bucketeer/proto/user"
24+
ftdomain "github.com/bucketeer-io/bucketeer/v2/pkg/feature/domain"
25+
ftproto "github.com/bucketeer-io/bucketeer/v2/proto/feature"
26+
userproto "github.com/bucketeer-io/bucketeer/v2/proto/user"
2727
)
2828

2929
const (
@@ -118,13 +118,6 @@ func (e *evaluator) evaluate(
118118
evaluations := make([]*ftproto.Evaluation, 0, len(fs))
119119
archivedIDs := make([]string, 0)
120120
for _, feature := range sortedFs {
121-
if feature.Archived {
122-
// To keep response size small, the feature flags archived long time ago are excluded.
123-
if !e.isArchivedBeforeLastThirtyDays(feature) {
124-
archivedIDs = append(archivedIDs, feature.Id)
125-
}
126-
continue
127-
}
128121
var segmentUsers []*ftproto.SegmentUser
129122
for _, id := range e.ListSegmentIDs(feature) {
130123
segmentUsers = append(segmentUsers, mapSegmentUsers[id]...)
@@ -134,7 +127,16 @@ func (e *evaluator) evaluate(
134127
return nil, err
135128
}
136129
// VariationId is used to check if prerequisite flag's result is what user expects it to be.
130+
// This must be set for ALL features (including archived) for dependency resolution to work
137131
flagVariations[feature.Id] = variation.Id
132+
133+
if feature.Archived {
134+
// To keep response size small, the feature flags archived long time ago are excluded.
135+
if !e.isArchivedBeforeLastThirtyDays(feature) {
136+
archivedIDs = append(archivedIDs, feature.Id)
137+
}
138+
continue
139+
}
138140
// When the tag is set in the request,
139141
// it will return only the evaluations of flags that match the tag configured on the dashboard.
140142
// When empty, it will return all the evaluations of the flags in the environment.

0 commit comments

Comments
 (0)