v1.32.0
π v1.32.0
is an important version of GO Feature Flag, it brings a set of new awesome features π
- β° When doing time-based rollout, you sometimes want to test your evaluation before the date? Now you can override the current date directly by providing a date in the evaluation context (set the date in the
gofeatureflag.currentDateTime
field of your evaluation context). - π― Until today when you create a percentage-based affectation, the flag configuration had to be 100% to work properly. Now you don't have to be at 100% anymore, we will do a fraction of all the weight you put for each variant.
# now you can do something like this
# in that case 10/110 of the affectation will go to enabled and 100/110 will go to disabled.
# ...
percentage:
enabled: 10
disabled: 100
- OFREP, for the evaluation API we add a new flag metadata called
gofeatureflag_cacheable
that allows knowing if this flag evaluation can be cached by the provider.
Features
- feat: Allow overriding currentDate in the evaluation context by @thomaspoignant in #2127
- feat: Percentage - accept fractional affectation by @thomaspoignant in #2136
- feat(editor-api): allow to run the API as AWS lambda by @thomaspoignant in #2144
- feat(OFREP): Add cacheable metadata by @thomaspoignant in #2163
Fixes
- fix: scheduled steps on exact time by @thomaspoignant in #2134
- fix: Change DNS for editor API by @thomaspoignant in #2145
Documentation
- docs(helm): Update relay proxy helm README by @thomaspoignant in #2131
- docs(docusaurus): Create a new documentation version v1.31.2 by @thomaspoignant in #2130
- docs: Blog post for mobile dev by @thomaspoignant in #2138
- feat: Display sponsors in the README by @thomaspoignant in #2139
- docs(README): Update sponsors list by @thomaspoignant in #2140
Chore
- chore(helm): Bump relay-proxy helm chart version v1.31.2 by @thomaspoignant in #2129
- chore: bump OpenFeature.Contrib.GOFeatureFlag from 0.1.6 to 0.1.7 in /openfeature/provider_tests/dotnet-integration-tests by @dependabot in #2133
- chore: bump NUnit3TestAdapter from 4.5.0 to 4.6.0 in /openfeature/provider_tests/dotnet-integration-tests by @dependabot in #2143
- chore: bump eslint from 9.7.0 to 9.8.0 in /examples/openfeature_web/webapp by @dependabot in #2146
- chore: bump @babel/eslint-parser from 7.24.8 to 7.25.1 in /examples/openfeature_web/webapp by @dependabot in #2147
- chore: bump @babel/preset-env from 7.24.8 to 7.25.0 in /examples/openfeature_web/webapp by @dependabot in #2148
- chore: bump pytest from 8.3.1 to 8.3.2 in /openfeature/providers/python-provider by @dependabot in #2149
- chore: bump github.com/aws/aws-sdk-go from 1.54.20 to 1.55.3 by @dependabot in #2150
- chore: bump github.com/redis/go-redis/v9 from 9.6.0 to 9.6.1 by @dependabot in #2151
- chore: bump google.golang.org/api from 0.188.0 to 0.189.0 by @dependabot in #2152
- chore: bump github.com/aws/aws-sdk-go-v2/feature/s3/manager from 1.17.8 to 1.17.9 by @dependabot in #2154
- chore: bump typescript from 5.5.3 to 5.5.4 in /examples/openfeature_nodejs/nodejs-app by @dependabot in #2156
- chore: bump @typescript-eslint/parser from 7.16.1 to 7.17.0 in /examples/openfeature_react/react-app by @dependabot in #2158
- chore: bump typescript from 5.5.3 to 5.5.4 in /examples/openfeature_react/react-app by @dependabot in #2159
- chore: bump @typescript-eslint/eslint-plugin from 7.16.1 to 7.17.0 in /examples/openfeature_react/react-app by @dependabot in #2160
- chore: bump OpenFeature from 1.5.1 to 1.5.2 in /openfeature/provider_tests/dotnet-integration-tests by @dependabot in #2161
- chore: bump github.com/docker/docker from 27.0.3+incompatible to 27.1.0+incompatible by @dependabot in #2162
- chore: bump vite from 5.3.4 to 5.3.5 in /examples/openfeature_react/react-app by @dependabot in #2157
- chore: bump github.com/thejerf/slogassert from 0.3.2 to 0.3.4 by @dependabot in #2153
Full Changelog: v1.31.2...v1.32.0