Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.0.0 #369

Merged
merged 43 commits into from
Jan 13, 2023
Merged

V1.0.0 #369

merged 43 commits into from
Jan 13, 2023

Conversation

thomaspoignant
Copy link
Owner

@thomaspoignant thomaspoignant commented Oct 13, 2022

Description

This pull request contains version 1.0.0 of GO Feature Flag.

This is the 1st major update of the library, the main breaking change is that GO Feature Flag has a new format to define the flags.

The new format allows support for more than 2 variations and allows to have multiple rules for 1 flag.
This will enhance what you can do with your toggles.

The new format look like this:

test-flag:
    variations:
        variation_A: false
        variation_B: false
        variation_C: true
    targeting:
        - name: Rule_1
          query: key eq "b2fbc171-5f98-4278-ab89-b05fa5a9892a"
          variation: variation_A
    defaultRule:
        percentage:
          variation_B: 0
          variation_C: 100
    version: "12"

ℹ️ The v0.x.x flag version is still compatible with the version 1.0.0 of GO Feature Flag, but you should consider migrating your flag file to the new format.
To do this, a migration tool is available to convert your file.

ℹ️ We have also migrated all GO Feature Flag-related projects to this repository.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking changes (change that is not backward-compatible and/or changes current functionality)

Closes issue(s)

Resolve #291

Checklist

  • I have tested this code
  • I have added unit test to cover this code
  • I have updated the documentation (README.md and /docs)
  • I have followed the contributing guide

Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
* Bump action version

Signed-off-by: Thomas Poignant <[email protected]>

* Update goreleaser

Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
* Bump action version

Signed-off-by: Thomas Poignant <[email protected]>

* Update goreleaser

Signed-off-by: Thomas Poignant <[email protected]>

* rename brew tap

Signed-off-by: Thomas Poignant <[email protected]>

* specify branch

Signed-off-by: Thomas Poignant <[email protected]>

* add checkout step

Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
* Add readme migration cli

Signed-off-by: Thomas Poignant <[email protected]>

* Add description for dockerhub

Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
@coveralls
Copy link

coveralls commented Oct 13, 2022

Coverage Status

Coverage: 93.766% (-1.2%) from 95.006% when pulling 97060ec on v1.0.0 into dc4d549 on main.

@thomaspoignant thomaspoignant self-assigned this Nov 9, 2022
thomaspoignant and others added 8 commits November 15, 2022 18:48
* remove explicit analytics config (#395)

* Bump google.golang.org/api from 0.101.0 to 0.102.0 (#397)

Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.101.0 to 0.102.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.101.0...v0.102.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/aws/aws-sdk-go from 1.44.126 to 1.44.131 (#398)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.126 to 1.44.131.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](aws/aws-sdk-go@v1.44.126...v1.44.131)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Bump github.com/fsouza/fake-gcs-server from 1.40.2 to 1.42.0 (#399)

Bumps [github.com/fsouza/fake-gcs-server](https://github.com/fsouza/fake-gcs-server) from 1.40.2 to 1.42.0.
- [Release notes](https://github.com/fsouza/fake-gcs-server/releases)
- [Commits](fsouza/fake-gcs-server@v1.40.2...v1.42.0)

---
updated-dependencies:
- dependency-name: github.com/fsouza/fake-gcs-server
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add an auto-assign GHA

* Create auto-assign-pull-request.yml

* Auto assign app does not work anymore

* auto assign app does not work anymore

* Add a stale management on PR and issue.

* Update close-stale.yml

* Broken link with the new readme (#404)

* Bump google.golang.org/api from 0.102.0 to 0.103.0 (#406)

Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.102.0 to 0.103.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.102.0...v0.103.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump k8s.io/apimachinery from 0.25.3 to 0.25.4 (#407)

Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](kubernetes/apimachinery@v0.25.3...v0.25.4)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Bump github.com/aws/aws-sdk-go from 1.44.131 to 1.44.136 (#410)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.131 to 1.44.136.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](aws/aws-sdk-go@v1.44.131...v1.44.136)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Bump k8s.io/client-go from 0.25.3 to 0.25.4 (#411)

Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/kubernetes/client-go/releases)
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.25.3...v0.25.4)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Bump cloud.google.com/go/storage from 1.27.0 to 1.28.0 (#408)

Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](googleapis/google-cloud-go@spanner/v1.27.0...spanner/v1.28.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Update auto-assign-pull-request.yml

* Adding doc for open feature

Signed-off-by: Thomas Poignant <[email protected]>

* Edit readme

Signed-off-by: Thomas Poignant <[email protected]>

* Edit readme

Signed-off-by: Thomas Poignant <[email protected]>

* Edit readme

Signed-off-by: Thomas Poignant <[email protected]>

* skip-ci: Header readme

Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>

Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thomaspoignant thomaspoignant added enhancement New feature or request breaking change labels Jan 6, 2023
@thomaspoignant thomaspoignant marked this pull request as ready for review January 11, 2023 16:00
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thomaspoignant thomaspoignant merged commit 35c29e3 into main Jan 13, 2023
@thomaspoignant thomaspoignant deleted the v1.0.0 branch February 1, 2023 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Roadmap] v1.0.0
3 participants