Releases: thomaspoignant/go-feature-flag
v1.0.0-beta.3
v1.0.0-beta.3
What's Changed
- Setup goreleaser for migrationcli by @thomaspoignant in #364
- Fix goreleaser by @thomaspoignant in #365
- Fix goreleaser by @thomaspoignant in #366
- Add readme for the migration cli by @thomaspoignant in #368
- Move relay proxy to the mono repo by @thomaspoignant in #367
- Fix goreleaser archive fail by @thomaspoignant in #372
Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3
v1.0.0-beta.2
v1.0.0-beta.2
This second beta is fully working with the new flag format.
If you want more info about the format, you can look at the doc for this beta.
All feedback are welcome if you try the version.
Remember that this version is compatible with the previous flag format.
What's Changed
- Bump github.com/aws/aws-sdk-go from 1.44.109 to 1.44.114 by @dependabot in #362
- Allow more variations for a flag by @thomaspoignant in #363
Full Changelog: v0.28.1...v1.0.0-beta.2
v0.28.1
What's Changed
Bug fixes
- Fix error when calling variation before initialisation by @thomaspoignant in #361
Changes
- fixed some grammar and spelling in README.md by @robbert229 in #357
Dependencies
- Bump cloud.google.com/go/storage from 1.26.0 to 1.27.0 by @dependabot in #350
- Bump k8s.io/api from 0.25.1 to 0.25.2 by @dependabot in #353
- Bump github.com/aws/aws-sdk-go from 1.44.100 to 1.44.105 by @dependabot in #356
- Bump k8s.io/client-go from 0.25.1 to 0.25.2 by @dependabot in #354
- Bump github.com/fsouza/fake-gcs-server from 1.40.1 to 1.40.2 by @dependabot in #352
- Bump google.golang.org/api from 0.97.0 to 0.98.0 by @dependabot in #359
- Bump github.com/aws/aws-sdk-go from 1.44.105 to 1.44.109 by @dependabot in #358
New Contributors
- @robbert229 made their first contribution in #357
Full Changelog: v0.28.0...v0.28.1
v0.28.0
What's Changed
Changes
- upgrade nikunjy/rules module by @juliandanciu in #347
Dependencies
- Bump github.com/aws/aws-sdk-go from 1.44.88 to 1.44.89 by @dependabot in #327
- Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 by @dependabot in #328
- Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 by @dependabot in #329
- Bump github.com/fsouza/fake-gcs-server from 1.39.0 to 1.40.1 by @dependabot in #331
- Bump google.golang.org/api from 0.94.0 to 0.95.0 by @dependabot in #332
- Bump github.com/aws/aws-sdk-go from 1.44.91 to 1.44.92 by @dependabot in #333
- Bump github.com/aws/aws-sdk-go from 1.44.92 to 1.44.93 by @dependabot in #334
- Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 by @dependabot in #335
- Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.94 by @dependabot in #336
- Bump github.com/aws/aws-sdk-go from 1.44.94 to 1.44.95 by @dependabot in #337
- Bump github.com/aws/aws-sdk-go from 1.44.95 to 1.44.96 by @dependabot in #338
- Bump github.com/aws/aws-sdk-go from 1.44.96 to 1.44.97 by @dependabot in #339
- Bump github.com/aws/aws-sdk-go from 1.44.97 to 1.44.98 by @dependabot in #340
- Bump google.golang.org/api from 0.95.0 to 0.96.0 by @dependabot in #341
- Bump github.com/aws/aws-sdk-go from 1.44.98 to 1.44.99 by @dependabot in #342
- Bump github.com/aws/aws-sdk-go from 1.44.99 to 1.44.100 by @dependabot in #343
- Bump k8s.io/client-go from 0.25.0 to 0.25.1 by @dependabot in #344
New Contributors
- @juliandanciu made their first contribution in #347
Full Changelog: v0.27.2...v0.28.0
v0.27.2
v0.27.2
What's Changed
- enforce type errorCode by @thomaspoignant in #271
- Update README + fix some markdown issues by @thomaspoignant in #272
- Prepare the doc to be compatible with docusaurus by @thomaspoignant in #273
- Use yaml issue template by @thomaspoignant in #276
- Bump k8s.io/apimachinery from 0.24.2 to 0.24.3 by @dependabot in #283
- Bump cloud.google.com/go/storage from 1.23.0 to 1.24.0 by @dependabot in #278
- Bump k8s.io/client-go from 0.24.2 to 0.24.3 by @dependabot in #279
- Bump github.com/aws/aws-sdk-go from 1.44.46 to 1.44.66 by @dependabot in #282
- Bump google.golang.org/api from 0.86.0 to 0.90.0 by @dependabot in #281
- Bump github.com/aws/aws-sdk-go from 1.44.66 to 1.44.68 by @dependabot in #284
- Bump google.golang.org/api from 0.90.0 to 0.91.0 by @dependabot in #285
- Bump github.com/aws/aws-sdk-go from 1.44.68 to 1.44.69 by @dependabot in #286
- Bump github.com/aws/aws-sdk-go from 1.44.69 to 1.44.70 by @dependabot in #287
- Bump github.com/aws/aws-sdk-go from 1.44.70 to 1.44.71 by @dependabot in #288
- Stop using ioutil package by @thomaspoignant in #322
- Bump github.com/aws/aws-sdk-go from 1.44.71 to 1.44.85 by @dependabot in #321
- Update ci.yml by @ilyabrin in #320
- Bump k8s.io/apimachinery from 0.24.3 to 0.25.0 by @dependabot in #314
- Bump google.golang.org/api from 0.91.0 to 0.94.0 by @dependabot in #318
- Bump k8s.io/api from 0.24.3 to 0.25.0 by @dependabot in #316
- Bump k8s.io/client-go from 0.24.3 to 0.25.0 by @dependabot in #315
- Bump github.com/aws/aws-sdk-go from 1.44.85 to 1.44.86 by @dependabot in #323
- Bump github.com/aws/aws-sdk-go from 1.44.86 to 1.44.87 by @dependabot in #324
- Bump cloud.google.com/go/storage from 1.24.0 to 1.26.0 by @dependabot in #325
- Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.88 by @dependabot in #326
- fix: gcp retriever is able get the updated flags file by @jferrl in #311
New Contributors
Full Changelog: v0.27.1...v0.27.2
v1.0.0-beta.1
v1.0.0-beta.1
This is the first beta of go-feature-flag v1.0.0
.
The most significant change for this version is to support a more advanced flag format in your configuration.
Why?
Because the format was too basic and was not allowing complex flag configuration.
What should I change?
Nothing, for now, we are 100% compatible with the old flag format, but I encourage you to migrate.
We still encourage you to migrate the way you are writing the flag to the new format, by checking #275 to see how the new format look like.
Feedback
Please send us all your feedback at [email protected] or in slack.
v0.27.1
v0.27.1
What's Changed
- Send the good reason if flag is disabled by @thomaspoignant in #270
Full Changelog: v0.27.0...v0.27.1
v0.27.0
v0.27.0
What's Changed
- Add reason and errorCode from open-feature by @thomaspoignant in #269
Full Changelog: v0.26.1...v0.27.0
v0.26.1
v0.26.1
What's Changed
- SlackWebhookURL should be a
string
for compatibility reasons by @thomaspoignant in #267
Full Changelog: v0.26.0...v0.26.1
v0.26.0
v0.26.0
📝 Release note
- Move retriever / notifier / exporter on their own packages. by @thomaspoignant in #264
Full Changelog: v0.25.2...v0.26.0
⚠️ Breaking changes ⚠️
This version change the way to do your SDK initialization in particular when it comes to notifier
, provider
and exporter
.
Why are we doing this breaking changes?
This change is needed because we are adding more and more retriever / exporter and notifier, and with that we are also adding more dependencies to the project.
And since all the dependencies are in the same package we were increasing the size of your build even if you were not using the new providers.
The best example is when we introduce the kubernetes provider, it has added ~20Mo in your application because the client-go
from kubernetes is huge.
What did we change?
We have moved all retriever / exporter and notifier in a dedicated package for each of them.
With this new organisation when building your app we will use only the dependencies related to your configuration.
We also change the way to deal with the notifiers
to align it with the way it work for other extensions.
How to migrate?
Edit your init function of go-feature-flag
and replace your retriever, exporter, notifier following this.
Retrievers
ffclient.FileRetriever -> fileretriever.Retriever
ffclient.GithubRetriever -> gcstorageretriever.Retriever
ffclient.GithubRetriever -> githubretriever.Retriever
ffclient.HTTPRetriever -> httpretriever.Retriever
ffclient.KubernetesRetriever -> k8sretriever.Retriever
fflcient.S3Retriever -> s3retriever.Retriever
Exporters
ffexporter.File -> fileexporter.Exporter
ffexporter.GoogleCloudStorage -> gcstorageexporter.Exporter
ffexporter.Log -> logsexporter.Exporter
ffexporter.S3 -> s3exporter.Exporter
ffexporter.Webhook -> webhookexporter.Exporter
Notifiers
Since in this PR we change the way to work with notifier, you have more impact when configuring them.
Before this PR to configure a notifier you had something like that.
_, err := ffclient.New(ffclient.Config{
// ...
Notifiers: []ffclient.NotifierConfig{
&ffclient.WebhookConfig{
// ...
},
},
})
With this PR we had remove the ffclient.NotifierConfig
struct to use directly the notifier
them self.
It means that now ffclient.Config.Notifiers
has the type []notifier.Notifier
.
So it will look like:
_, err := ffclient.New(ffclient.Config{
// ...
Notifiers: []notifier.Notifier{
&webhooknotifier.Notifier{
// ...
},
},
})
To follow the same pattern has the retrievers
and exporters
we also have changed the struct you were using.
notifier.LogNotifier -> logsnotifier.Notifier
ffclient.SlackNotifier -> slacknotifier.Notifier
ffclient.WebhookConfig -> webhooknotifier.Notifier