Skip to content

Commit

Permalink
chore: merge main (#1600)
Browse files Browse the repository at this point in the history
* chore: update changelog for 1.20 release

* chore(deps-dev): bump @typescript-eslint/parser in /ui (#1506)

Bumps [@typescript-eslint/parser](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.58.0 to 5.59.0.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump postcss from 8.4.22 to 8.4.23 in /ui (#1512)

Bumps [postcss](https:/postcss/postcss) from 8.4.22 to 8.4.23.
- [Release notes](https:/postcss/postcss/releases)
- [Changelog](https:/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.22...8.4.23)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/jest from 29.5.0 to 29.5.1 in /ui (#1513)

Bumps [@types/jest](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.0 to 29.5.1.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/node from 18.15.11 to 18.15.12 in /ui (#1514)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.11 to 18.15.12.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps): bump github.com/hashicorp/cap from 0.2.0 to 0.3.0 (#1519)

Bumps [github.com/hashicorp/cap](https:/hashicorp/cap) from 0.2.0 to 0.3.0.
- [Release notes](https:/hashicorp/cap/releases)
- [Changelog](https:/hashicorp/cap/blob/main/CHANGELOG.md)
- [Commits](hashicorp/cap@v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/cap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore: show info about configuring login providers (#1525)

* chore: audit author -> actor (#1498)

* chore: (wip) audit author -> actor

* chore: make actor a map with the metadata in it

* chore: only check certain folder when assessing diff for mage proto

* chore: add test for getting metadata from auth in interceptor

---------

Co-authored-by: Yoofi Quansah <[email protected]>

* chore(deps-dev): bump vite from 4.2.2 to 4.3.1 in /ui (#1516)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.2.2 to 4.3.1.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump eslint from 8.38.0 to 8.39.0 in /ui (#1520)

Bumps [eslint](https:/eslint/eslint) from 8.38.0 to 8.39.0.
- [Release notes](https:/eslint/eslint/releases)
- [Changelog](https:/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.38.0...v8.39.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* feat(build): mage test:ui and github action step (#1526)

* chore: go work sync

* feat(build): add mage test:ui step

* feat(build/ui): export playright report directory on mage test:ui

* feat(github): run mage test:ui during integration tests

* chore: go mod tidy

* fix(build): no quotes in test name

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3 (#1518)

Bumps [codecov/codecov-action](https:/codecov/codecov-action) from 3.1.2 to 3.1.3.
- [Release notes](https:/codecov/codecov-action/releases)
- [Changelog](https:/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/react from 18.0.37 to 18.0.38 in /ui (#1522)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.37 to 18.0.38.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump prettier from 2.8.7 to 2.8.8 in /ui (#1521)

Bumps [prettier](https:/prettier/prettier) from 2.8.7 to 2.8.8.
- [Release notes](https:/prettier/prettier/releases)
- [Changelog](https:/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.7...2.8.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/node from 18.15.12 to 18.16.0 in /ui (#1524)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.12 to 18.16.0.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore(deps): bump swr from 2.1.3 to 2.1.4 in /ui (#1523)

Bumps [swr](https:/vercel/swr) from 2.1.3 to 2.1.4.
- [Release notes](https:/vercel/swr/releases)
- [Commits](vercel/swr@v2.1.3...v2.1.4)

---
updated-dependencies:
- dependency-name: swr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @typescript-eslint/parser in /ui (#1532)

Bumps [@typescript-eslint/parser](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.0 to 5.59.1.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /ui (#1531)

Bumps [@typescript-eslint/eslint-plugin](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.0 to 5.59.1.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* feat: add error highlighting in console (#1528)

* chore: Telemetry updates (#1527)

* feat: (wip) telemetry updates

* chore: add more tests

* chore: support DNT

* chore: only disable telemetry if enabled already

* chore(deps): bump swr from 2.1.4 to 2.1.5 in /ui (#1534)

Bumps [swr](https:/vercel/swr) from 2.1.4 to 2.1.5.
- [Release notes](https:/vercel/swr/releases)
- [Commits](vercel/swr@v2.1.4...v2.1.5)

---
updated-dependencies:
- dependency-name: swr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/node from 18.16.0 to 18.16.1 in /ui (#1535)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.0 to 18.16.1.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump vite from 4.3.1 to 4.3.2 in /ui (#1536)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.3.1 to 4.3.2.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/react-dom from 18.0.11 to 18.2.1 in /ui (#1539)

Bumps [@types/react-dom](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.0.11 to 18.2.1.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump tailwindcss from 3.3.1 to 3.3.2 in /ui (#1538)

Bumps [tailwindcss](https:/tailwindlabs/tailwindcss) from 3.3.1 to 3.3.2.
- [Release notes](https:/tailwindlabs/tailwindcss/releases)
- [Changelog](https:/tailwindlabs/tailwindcss/blob/v3.3.2/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss@v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/react from 18.0.38 to 18.2.0 in /ui (#1537)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.38 to 18.2.0.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore: add MoJ logo, some README cleanup (#1540)

* chore: update node versions in workflows; try to fix buf ratelimit (#1541)

* feat: add token creation and delete authentications for audit events (#1529)

* feat: add token creation and delete authentications for audit events

* chore: use authgetter for getting auth to track token deletions

* chore: get authentication before delete actually happens to preserve for audit logging

* feat: address comments about adding event to span in lower layer

* chore: add tests for actor

* chore: address suggestions from PR around simplification

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps-dev): bump @playwright/test from 1.32.3 to 1.33.0 in /ui (#1543)

Bumps [@playwright/test](https:/Microsoft/playwright) from 1.32.3 to 1.33.0.
- [Release notes](https:/Microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.32.3...v1.33.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump vite from 4.3.2 to 4.3.3 in /ui (#1542)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.3.2 to 4.3.3.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* fix(grpc/middleware): set timestamp on each batch evaluate response (#1545)

* test(grpc/middleware): add check for non-nil timestamp in response

* fix(middleware/grpc): set timestamp on each batch evaluate response

* fix(grpc/middleware): set timestamp on each batch evaluate response (#1545)

* test(grpc/middleware): add check for non-nil timestamp in response

* fix(middleware/grpc): set timestamp on each batch evaluate response

* chore: update CHANGELOG for v1.20.1

* chore: remove unnecessary newline from CHANGELOG

* fix(github): install mage in release and prepend tag with v

* fix(release): install mage run with multiline string

* Release/1.19 (#1547)

* fix(grpc/middleware): set timestamp on each batch evaluate response (#1545)

* test(grpc/middleware): add check for non-nil timestamp in response

* fix(middleware/grpc): set timestamp on each batch evaluate response

* chore: change version text to actual latest v1.20.1

* chore: update changelog entry to reflect timestamp fixes

* chore: remove versions.txt file

---------

Co-authored-by: George <[email protected]>

* chore(deps-dev): bump @types/node from 18.16.1 to 18.16.2 in /ui (#1548)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.1 to 18.16.2.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore: cleanup and remove print statements (#1549)

* chore: add audit configuration to json schema and cue file (#1551)

* feat: make changes to audit event structure (#1552)

* feat: make changes to audit event structure

* chore: timestamp added to Valid method

* fix(cmd/flipt): restore console logger defaults on fatal (#1550)

* fix(cmd/flipt): restore console logger defaults on fatal

* test(cli): ensure fatal error formatted correctly

* refactor(cmd/flipt): reuse common zap logger config components

* test(cli): remove assertion for level

* fix(cmd/flipt): use function scoped encoding var not defaultEncoding

---------

Co-authored-by: Mark Phelps <[email protected]>

* chore(deps): bump DavidAnson/markdownlint-cli2-action from 9 to 10 (#1554)

Bumps [DavidAnson/markdownlint-cli2-action](https:/DavidAnson/markdownlint-cli2-action) from 9 to 10.
- [Release notes](https:/DavidAnson/markdownlint-cli2-action/releases)
- [Commits](DavidAnson/markdownlint-cli2-action@v9...v10)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* chore(deps-dev): bump @babel/preset-typescript in /ui (#1560)

Bumps [@babel/preset-typescript](https:/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.21.4 to 7.21.5.
- [Release notes](https:/babel/babel/releases)
- [Changelog](https:/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https:/babel/babel/commits/v7.21.5/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps): bump highlight.js from 11.7.0 to 11.8.0 in /ui (#1563)

Bumps [highlight.js](https:/highlightjs/highlight.js) from 11.7.0 to 11.8.0.
- [Release notes](https:/highlightjs/highlight.js/releases)
- [Changelog](https:/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](highlightjs/highlight.js@11.7.0...11.8.0)

---
updated-dependencies:
- dependency-name: highlight.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump prettier-plugin-tailwindcss in /ui (#1561)

Bumps [prettier-plugin-tailwindcss](https:/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.7 to 0.2.8.
- [Release notes](https:/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https:/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.2.7...v0.2.8)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps): bump date-fns from 2.29.3 to 2.30.0 in /ui (#1564)

Bumps [date-fns](https:/date-fns/date-fns) from 2.29.3 to 2.30.0.
- [Release notes](https:/date-fns/date-fns/releases)
- [Changelog](https:/date-fns/date-fns/blob/v2.30.0/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.29.3...v2.30.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump @types/node from 18.16.2 to 18.16.3 in /ui (#1562)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.2 to 18.16.3.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps): bump react-router-dom from 6.10.0 to 6.11.0 in /ui (#1565)

Bumps [react-router-dom](https:/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.10.0 to 6.11.0.
- [Release notes](https:/remix-run/react-router/releases)
- [Changelog](https:/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https:/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore: add audit config keys to toplevel schema defs (#1566)

* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /ui (#1569)

Bumps [@typescript-eslint/eslint-plugin](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.1 to 5.59.2.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* feat: modify events to return more information about entity during auditing (#1568)

* feat: modify events to return more information about entity during auditing

* chore: changes to Dockerfile and dagger pipelines for chowing a directory

* chore: add basic tests for audit entity types

* chore: use t.Helper() method in helper methods

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/parser in /ui (#1571)

Bumps [@typescript-eslint/parser](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.1 to 5.59.2.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore: update changelog for 1.21 release (#1567)

* chore: update changelog for 1.21 release

* chore: try to fix bareurl warning in md lint

* chore: update changelog date

* chore: add Loki to audit logs example (#1573)

* chore: (wip) audit logs loki

* chore: fix loki / promtail config

* chore: update audit example readme

* chore: update word

* chore: Update .goreleaser.nightly.yml (#1574)

* chore(deps): bump @tanstack/react-table from 8.8.5 to 8.9.0 in /ui (#1570)

Bumps [@tanstack/react-table](https:/tanstack/table) from 8.8.5 to 8.9.0.
- [Release notes](https:/tanstack/table/releases)
- [Commits](TanStack/table@v8.8.5...v8.9.0)

---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump vite from 4.3.3 to 4.3.4 in /ui (#1575)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.3.3 to 4.3.4.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps): bump @tanstack/react-table from 8.9.0 to 8.9.1 in /ui (#1576)

* chore: try again to fix the nightly build (those v's) (#1577)

* chore(deps-dev): bump @types/react from 18.2.0 to 18.2.2 in /ui (#1579)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.0 to 18.2.2.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/react from 18.2.2 to 18.2.5 in /ui (#1583)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.2 to 18.2.5.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore: make sdk integrations nicer to view on README (#1582)

* chore: make sdk integrations nicer to view on README

* chore: update a couple lables

* fix(storage/sql): paginated walk for resources using joins (#1584)

* test(storage/sql): rewrite paginated walk to ensure odd total walk length

* test(storage/sql): demonstrate how variants break paginated walk

* fix(storage/sql): preload flags during list

* fix(storage/sql): list flags escape keyword key

* chore(storage/sql): use crypto/rand

* chore(storage/sql): restore old limit offset pagination test

* test(storage/sql): demonstrate segments full walk failure

* fix(storage/sql): preload segments during list

* fix(storage/sql): order variants and constraints in list flags and segments

* fix(storage/sql): sleep between variant and constraint creation

* test(storage/sql): demonstrate rules full walk bug

* fix(storage/sql): preload rules during list

* test(build/integration): extend import-export tests to cover pagination bug scenario

* fix(build/integration): assert 100 flags are stored

* fix(sql/mysql): reduce sleeps and quote rank

* fix(build/integration): ensure rank > 0

* fix(build/integration): reduce flag list length expection to 50

* Release/1.21.1 (#1587)

* chore: update changelog for 1.21 release

* chore: try to fix bareurl warning in md lint

* chore: update changelog date

* fix(storage/sql): paginated walk for resources using joins (#1584)

* test(storage/sql): rewrite paginated walk to ensure odd total walk length

* test(storage/sql): demonstrate how variants break paginated walk

* fix(storage/sql): preload flags during list

* fix(storage/sql): list flags escape keyword key

* chore(storage/sql): use crypto/rand

* chore(storage/sql): restore old limit offset pagination test

* test(storage/sql): demonstrate segments full walk failure

* fix(storage/sql): preload segments during list

* fix(storage/sql): order variants and constraints in list flags and segments

* fix(storage/sql): sleep between variant and constraint creation

* test(storage/sql): demonstrate rules full walk bug

* fix(storage/sql): preload rules during list

* test(build/integration): extend import-export tests to cover pagination bug scenario

* fix(build/integration): assert 100 flags are stored

* fix(sql/mysql): reduce sleeps and quote rank

* fix(build/integration): ensure rank > 0

* fix(build/integration): reduce flag list length expection to 50

* chore: add changelog entry

* chore: update changlog for backports

---------

Co-authored-by: Mark Phelps <[email protected]>
Co-authored-by: George <[email protected]>

* chore(deps): bump react-router-dom from 6.11.0 to 6.11.1 in /ui (#1578)

Bumps [react-router-dom](https:/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.11.0 to 6.11.1.
- [Release notes](https:/remix-run/react-router/releases)
- [Changelog](https:/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https:/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/node from 18.16.3 to 18.16.5 in /ui (#1592)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.3 to 18.16.5.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump eslint from 8.39.0 to 8.40.0 in /ui (#1593)

Bumps [eslint](https:/eslint/eslint) from 8.39.0 to 8.40.0.
- [Release notes](https:/eslint/eslint/releases)
- [Changelog](https:/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.39.0...v8.40.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump vite from 4.3.4 to 4.3.5 in /ui (#1595)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.3.4 to 4.3.5.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* feat(constraints): Add description to constraints backend (#1581)

* feat: add migrations for constraints to add description

* feat: add descriptions to constraints backend

* chore: add alter table commands for other databases

* chore: add description to GET requests for segments/constraints

* chore: change migrations to accept default value

* chore: fix integration test

* chore: update tests for constraint description

* chore: try paranthesis around default value

* chore: make description nullable

* feat(ui): add optional constraint description (#1588)

---------

Co-authored-by: Mark Phelps <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react from 18.2.5 to 18.2.6 in /ui (#1594)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.5 to 18.2.6.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /ui (#1596)

Bumps [@typescript-eslint/eslint-plugin](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.2 to 5.59.5.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.5/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore(deps-dev): bump @types/node from 18.16.5 to 18.16.6 in /ui (#1597)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.5 to 18.16.6.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore: go mod tidy

* chore: fix build/magefile

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yoofi Quansah <[email protected]>
Co-authored-by: George <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
5 people authored May 9, 2023
1 parent 9b6326d commit 83f6ba8
Show file tree
Hide file tree
Showing 86 changed files with 22,090 additions and 1,704 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,31 @@ jobs:
name: Flipt Service Logs
path: build/logs
retention-days: 5

ui:
name: UI Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: "1.20"
check-latest: true
cache: true

- uses: magefile/mage-action@v2
with:
version: latest
args: test:ui
workdir: build

- name: Upload Playwright Report
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 5
8 changes: 5 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DavidAnson/markdownlint-cli2-action@v9
- uses: DavidAnson/markdownlint-cli2-action@v10
with:
command: config
globs: |
Expand All @@ -50,6 +50,7 @@ jobs:
- uses: bufbuild/[email protected]
with:
version: "latest"
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: bufbuild/buf-lint-action@v1
with:
Expand All @@ -68,7 +69,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: "18"
cache: "npm"
cache-dependency-path: ui/package-lock.json

Expand Down Expand Up @@ -111,11 +112,12 @@ jobs:
- uses: bufbuild/[email protected]
with:
version: "latest"
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: magefile/mage-action@v2
with:
version: latest
args: proto

- name: Ensure clean git state.
run: git diff --quiet --exit-code || (echo "Please run 'mage proto' and commit changes." && exit 1)
run: git diff --quiet --exit-code sdk/ rpc/ || (echo "Please run 'mage proto' and commit changes." && exit 1)
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
DISCORD_WEBHOOK_TOKEN: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}

- name: Install Mage
run:
run: |
git clone https:/magefile/mage
cd mage
go run bootstrap.go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: go test -race -covermode=atomic -coverprofile=coverage.txt -count=1 ./...

- name: Upload Coverage
uses: codecov/[email protected].2
uses: codecov/[email protected].3

ui:
name: "Tests (UI)"
Expand All @@ -44,7 +44,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: "18"
cache: "npm"
cache-dependency-path: ui/package-lock.json

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ Brewfile.lock.json
.task/
.build/
examples/cockroachdb/data
playwright-report/
12 changes: 6 additions & 6 deletions .goreleaser.nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ changelog:
docker_manifests:
- name_template: "flipt/flipt:nightly"
image_templates:
- "flipt/flipt:{{ incpatch .Version }}-nightly-amd64"
- "flipt/flipt:{{ incpatch .Version }}-nightly-arm64"
- "flipt/flipt:v{{ incpatch .Version }}-nightly-amd64"
- "flipt/flipt:v{{ incpatch .Version }}-nightly-arm64"

- name_template: "markphelps/flipt:nightly"
image_templates:
- "flipt/flipt:{{ incpatch .Version }}-nightly-amd64"
- "flipt/flipt:{{ incpatch .Version }}-nightly-arm64"
- "flipt/flipt:v{{ incpatch .Version }}-nightly-amd64"
- "flipt/flipt:v{{ incpatch .Version }}-nightly-arm64"

- name_template: "ghcr.io/flipt-io/flipt:nightly"
image_templates:
- "ghcr.io/flipt-io/flipt:{{ incpatch .Version }}-nightly-amd64"
- "ghcr.io/flipt-io/flipt:{{ incpatch .Version }}-nightly-arm64"
- "ghcr.io/flipt-io/flipt:v{{ incpatch .Version }}-nightly-amd64"
- "ghcr.io/flipt-io/flipt:v{{ incpatch .Version }}-nightly-arm64"
26 changes: 13 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ dockers:
use: buildx
goarch: amd64
image_templates:
- "{{ if .IsNightly }}flipt/flipt:{{ incpatch .Version }}-nightly-amd64{{ else }}flipt/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:{{ incpatch .Version }}-nightly-amd64{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}flipt/flipt:v{{ incpatch .Version }}-nightly-amd64{{ else }}flipt/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:v{{ incpatch .Version }}-nightly-amd64{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}-amd64{{ end }}"
build_flag_templates:
- "--platform=linux/amd64"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand All @@ -78,8 +78,8 @@ dockers:
use: buildx
goarch: arm64
image_templates:
- "{{ if .IsNightly }}flipt/flipt:{{ incpatch .Version }}-nightly-arm64{{ else }}flipt/flipt:v{{ .Tag }}-arm64{{ end }}"
- "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:{{ incpatch .Version }}-nightly-arm64{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}-arm64{{ end }}"
- "{{ if .IsNightly }}flipt/flipt:v{{ incpatch .Version }}-nightly-arm64{{ else }}flipt/flipt:v{{ .Tag }}-arm64{{ end }}"
- "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:v{{ incpatch .Version }}-nightly-arm64{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}-arm64{{ end }}"
build_flag_templates:
- "--platform=linux/arm64"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand All @@ -89,20 +89,20 @@ dockers:
- config/default.yml

docker_manifests:
- name_template: "{{ if .IsNightly }}flipt/flipt:{{ incpatch .Version }}-nightly{{ else }}flipt/flipt:v{{ .Tag }}{{ end }}"
- name_template: "{{ if .IsNightly }}flipt/flipt:v{{ incpatch .Version }}-nightly{{ else }}flipt/flipt:v{{ .Tag }}{{ end }}"
image_templates:
- "{{ if .IsNightly }}flipt/flipt:{{ incpatch .Version }}-nightly-amd64{{ else }}flipt/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}flipt/flipt:{{ incpatch .Version }}-nightly-arm64{{ else }}flipt/flipt:v{{ .Tag }}-arm64{{ end }}"
- "{{ if .IsNightly }}flipt/flipt:v{{ incpatch .Version }}-nightly-amd64{{ else }}flipt/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}flipt/flipt:v{{ incpatch .Version }}-nightly-arm64{{ else }}flipt/flipt:v{{ .Tag }}-arm64{{ end }}"

- name_template: "{{ if .IsNightly }}markphelps/flipt:{{ incpatch .Version }}-nightly{{ else }}markphelps/flipt:v{{ .Tag }}{{ end }}" # TODO: deprecate
- name_template: "{{ if .IsNightly }}markphelps/flipt:v{{ incpatch .Version }}-nightly{{ else }}markphelps/flipt:v{{ .Tag }}{{ end }}" # TODO: deprecate
image_templates:
- "{{ if .IsNightly }}flipt/flipt:{{ incpatch .Version }}-nightly-amd64{{ else }}flipt/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}flipt/flipt:{{ incpatch .Version }}-nightly-arm64{{ else }}flipt/flipt:v{{ .Tag }}-arm64{{ end }}"
- "{{ if .IsNightly }}flipt/flipt:v{{ incpatch .Version }}-nightly-amd64{{ else }}flipt/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}flipt/flipt:v{{ incpatch .Version }}-nightly-arm64{{ else }}flipt/flipt:v{{ .Tag }}-arm64{{ end }}"

- name_template: "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:{{ incpatch .Version }}-nightly{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}{{ end }}"
- name_template: "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:v{{ incpatch .Version }}-nightly{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}{{ end }}"
image_templates:
- "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:{{ incpatch .Version }}-nightly-amd64{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:{{ incpatch .Version }}-nightly-arm64{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}-arm64{{ end }}"
- "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:v{{ incpatch .Version }}-nightly-amd64{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}-amd64{{ end }}"
- "{{ if .IsNightly }}ghcr.io/flipt-io/flipt:v{{ incpatch .Version }}-nightly-arm64{{ else }}ghcr.io/flipt-io/flipt:v{{ .Tag }}-arm64{{ end }}"

announce:
discord:
Expand Down
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,41 @@
This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.21.1](https:/flipt-io/flipt/releases/tag/v1.21.1) - 2023-05-05

### Fixed

- `storage/sql`: paginated walk for resources using joins (#1584)

## [v1.21.0](https:/flipt-io/flipt/releases/tag/v1.21.0) - 2023-05-02

### Added

- OTEL implementation for audit sinks (#1458)
- Error highlighting in console (#1528)
- Additional telemetry data captured re: database, cache and authentication (#1527)

### Fixed

- `cmd/flipt`: restore console logger defaults on fatal (#1550)
- `grpc/middleware`: set timestamp on each batch evaluate response (#1545)

### Changed

- Dependency updates

## [v1.20.2](https:/flipt-io/flipt/releases/tag/v1.20.2) - 2023-05-05

### Fixed

- `storage/sql`: paginated walk for resources using joins (#1584)

## [v1.20.1](https:/flipt-io/flipt/releases/tag/v1.20.1) - 2023-04-27

### Fixed

- `grpc/middleware`: set timestamp on each batch evaluate response (#1545)

## [v1.20.0](https:/flipt-io/flipt/releases/tag/v1.20.0) - 2023-04-11

### Added
Expand All @@ -22,6 +57,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- protojson to use DiscardUnknown option for backwards compatibility (#1453)
- `rpc/flipt`: move all openapi annotations into yaml file (#1437)

## [v1.19.5](https:/flipt-io/flipt/releases/tag/v1.19.5) - 2023-05-05

### Fixed

- `storage/sql`: paginated walk for resources using joins (#1584)

## [v1.19.4](https:/flipt-io/flipt/releases/tag/v1.19.4) - 2023-04-27

### Fixed

- `grpc/middleware`: set timestamp on each batch evaluate response (#1545)

## [v1.19.3](https:/flipt-io/flipt/releases/tag/v1.19.3) - 2023-03-22

### Changed
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
reported by contacting the project team at <[email protected]>. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ RUN apk add --no-cache postgresql-client \
ca-certificates

RUN mkdir -p /etc/flipt && \
mkdir -p /var/opt/flipt
mkdir -p /var/opt/flipt && \
mkdir -p /var/log/flipt

COPY --from=build /home/flipt/bin/flipt /
COPY config/*.yml /etc/flipt/config/

RUN addgroup flipt && \
adduser -S -D -g '' -G flipt -s /bin/sh flipt && \
chown -R flipt:flipt /etc/flipt /var/opt/flipt
chown -R flipt:flipt /etc/flipt /var/opt/flipt /var/log/flipt

EXPOSE 8080
EXPOSE 9000
Expand Down
96 changes: 46 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
<a href="https://discord.gg/kRhEqG2TEZ">
<img alt="Discord" src="https://img.shields.io/discord/960634591000014878?color=%238440f1&label=Discord&logo=discord&logoColor=%238440f1&style=flat">
</a>
<a href="https://volta.net/embed/eyJzdGF0dXNlcyI6WyJ0cmlhZ2UiLCJiYWNrbG9nIiwidG9kbyIsImluX3Byb2dyZXNzIiwiaW5fcmV2aWV3IiwiZG9uZSIsInJlbGVhc2VkIiwiY2FuY2VsbGVkIl0sImZpbHRlcnMiOnt9LCJvd25lciI6ImZsaXB0LWlvIiwibmFtZSI6ImZsaXB0In0=">
<img alt="Public Roadmap" src="https://img.shields.io/badge/Volta-Public%20Roadmap-black">
<a href="https://features.flipt.io/roadmap">
<img alt="Public Roadmap" src="https://img.shields.io/badge/roadmap-public-violet">
</a>
</div>

Expand Down Expand Up @@ -116,6 +116,43 @@ Flipt supports use cases such as:
<img src="./logos/opentelemetry.svg" alt="OpenTelemetry" width=150 height=150 />
</p>

<br clear="both"/>

## Integration

Check out the [integration documentation](https://flipt.io/docs/integration/) for more info on how to integrate Flipt into your existing applications.

### REST API

Flipt is equipped with a fully functional REST API. In fact, the Flipt UI is completely backed by this same API. This means that anything that can be done in the Flipt UI can also be done via the REST API.

The [Flipt REST API](https://www.flipt.io/docs/reference/overview) can also be used with any language that can make HTTP requests.

### REST Client Libraries

| Language | Version | Status |
| -------- | ------- | ------ |
| [Go](./sdk/go) | ![Go mod](https://img.shields.io/github/go-mod/go-version/flipt-io/flipt?filename=sdk%2Fgo%2Fgo.mod&label=go) | ![stable](https://img.shields.io/badge/status-stable-green) |
| [Node/TypeScript](https:/flipt-io/flipt-node) | [![npm](https://img.shields.io/npm/v/@flipt-io/flipt)](https://www.npmjs.com/package/@flipt-io/flipt) | ![status](https://img.shields.io/badge/status-hardening-orange) |
| [Java](https:/flipt-io/flipt-java) | ![Maven Central](https://img.shields.io/maven-central/v/io.flipt/flipt-java) | ![hardening](https://img.shields.io/badge/status-hardening-orange) |
| [Python](https:/flipt-io/flipt-python) | [![pypi](https://img.shields.io/pypi/v/flipt.svg)](https://pypi.org/project/flipt) | ![beta](https://img.shields.io/badge/status-beta-yellow) |
| [Rust](https:/flipt-io/flipt-rust) | [![crates.io](https://img.shields.io/crates/v/flipt.svg)](https://crates.io/crates/flipt) | ![hardening](https://img.shields.io/badge/status-hardening-orange) |

### GRPC Client Libraries

| Language | Version | Status |
| -------- | ------- | ------ |
| [Go](./sdk/go) | ![Go mod](https://img.shields.io/github/go-mod/go-version/flipt-io/flipt?filename=sdk%2Fgo%2Fgo.mod&label=go) | ![stable](https://img.shields.io/badge/status-stable-green) |
| [Ruby](https:/flipt-io/flipt-grpc-ruby) | ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/flipt-io/flipt-grpc-ruby?color=red&label=gem&sort=semver) | ![hardening](https://img.shields.io/badge/status-hardening-orange) |

### Generate Your Own

If a client in your language is not available for download, you can easily generate one yourself using the existing [protobuf definition](https:/flipt-io/flipt/blob/main/rpc/flipt/flipt.proto).

Our [integration documentation](https://www.flipt.io/docs/integration) has more information on how to generate your own Flipt clients in your language of choice.

<br clear="both"/>

## Try It

Try the latest version of Flipt for yourself.
Expand Down Expand Up @@ -152,52 +189,6 @@ Check out the [examples](/examples) to see how Flipt works in different use case

<br clear="both"/>

## Integration

Check out the [integration docs](https://flipt.io/docs/integration/) for more info on how to integrate Flipt into your existing applications.

### REST API

Flipt is equipped with a fully functional REST API. In fact, the Flipt UI is completely backed by this same API. This means that anything that can be done in the Flipt UI can also be done via the REST API.

The [Flipt REST API](https://www.flipt.io/docs/reference/overview) can also be used with any language that can make HTTP requests.

### REST Client Libraries

- [Go](./sdk/go) - supports both HTTP and GRPC (configurable based on your needs)
- [Node/TypeScript](https:/flipt-io/flipt-node)
- [Java](https:/flipt-io/flipt-java)
- [Rust](https:/flipt-io/flipt-rust)
- [Python](https:/flipt-io/flipt-python) (beta)

:exclamation: Offical REST clients in more languages coming soon.

### GRPC Client Libraries

- [Go](./sdk/go) - supports both HTTP and GRPC (configurable based on your needs)
- [Ruby](https:/flipt-io/flipt-grpc-ruby)

:exclamation: Offical GRPC clients in more languages coming soon.

### Third-Party Client Libraries

Client libraries built by awesome people from the Open Source community.

Note: These libraries are not maintained by the Flipt team and may not be up to date with the latest version of Flipt. Please open an issue or pull request on the library’s repository if you find any issues.

| Library | Language | Author | Desc |
| ------------------------------------------------------------------- | ---------- | -------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| [flipt-grpc-python](https:/getsentry/flipt-grpc-python) | Python | [@getsentry](https:/getsentry) | Python GRPC bindings for Flipt |
| [rflipt](https:/christopherdiehl/rflipt) | React | [@christopherdiehl](https:/christopherdiehl) | Components/example project to control React features backed by Flipt |
| [flipt-php](https:/fetzi/flipt-php) | PHP | [@fetzi](https:/fetzi) | Package for evaluating feature flags via the Flipt REST API using [HTTPlug](http://httplug.io/) |
| [flipt-js](https:/betrybe/flipt-js) | Javascript | [@betrybe](https:/betrybe) | Flipt library for JS that allows rendering components based on Feature Flags 🎉 |

### Generate Your Own

If a client in your language is not available for download, you can easily generate one yourself using the existing [protobuf definition](https:/flipt-io/flipt/blob/main/rpc/flipt/flipt.proto). The [GRPC documentation](https://grpc.io/docs/) has extensive examples of how to generate GRPC clients in each supported language.

<br clear="both"/>

## Licensing

There are currently two types of licenses in place for Flipt:
Expand All @@ -223,7 +214,7 @@ See [LICENSE](LICENSE).

## Logos

Some of the companies depending on Flipt in production.
Some of the organizations depending on Flipt in production.

<p align="center">
<a href="https://paradigm.co">
Expand All @@ -237,10 +228,15 @@ Some of the companies depending on Flipt in production.
</a>&nbsp;&nbsp;
<a href="https://prose.com">
<img src="./logos/users/prose.png" alt="Prose" width="200"/>
</a>&nbsp;&nbsp;
<a href="https://www.gov.uk/government/organisations/ministry-of-justice">
<img src="./logos/users/uk-moj.png" alt="UK Ministry of Justice" width="200" />
</a>
</p>

Using Flipt at your company? Open a PR and add your logo here!
<p align="center">
Using Flipt at your company? Open a [PR](https:/flipt-io/flipt/pulls) and add your logo here!
</p>

<br clear="both"/>

Expand Down
Loading

0 comments on commit 83f6ba8

Please sign in to comment.