diff --git a/.auto-changelog b/.auto-changelog new file mode 100644 index 00000000..f85ec2f4 --- /dev/null +++ b/.auto-changelog @@ -0,0 +1,6 @@ +{ + "template": "keepachangelog", + "unreleased": true, + "startingDate": "2021-08-08", + "tagPattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" +} diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index e12fa2d4..66450cd5 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -1,17 +1,41 @@ name: changelog on: - pull_request: + release: + types: [published] workflow_dispatch: jobs: - generate_changelog: + create_changelog_pr: runs-on: ubuntu-latest - name: Generate changelog for master branch steps: - - uses: actions/checkout@v1 - - name: Generate changelog - uses: heinrichreimer/github-changelog-generator-action@v2.1.1 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} - - run: cat CHANGELOG.md + node-version: '14' + - name: Update npm packages + uses: technote-space/create-pr-action@v2 + with: + GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }} + EXECUTE_COMMANDS: | + npm install -g auto-changelog + auto-changelog + COMMIT_MESSAGE: 'chore: update changelog' + PR_BRANCH_PREFIX: 'changelog/' + PR_BRANCH_NAME: 'chore-update-changelog-${PR_ID}' + PR_TITLE: 'chore: update changelog' + PR_BODY: | + + + ## Base PullRequest + ${PR_TITLE} (${PR_NUMBER_REF}) + ## Command results +
+ Details: + ${COMMANDS_OUTPUT} +
+ ## Changed files +
+ ${FILES_SUMMARY}: + ${FILES} +
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e104b6f..be8f4134 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,63 @@ # Changelog +All notable changes to this project will be documented in this file. + +The 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). + +Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). + + + +## [1.1.13](https://github.com/openflagr/flagr/compare/1.1.12...1.1.13) - 2021-08-07 + +### Merged + +- Prepare for 1.1.13 release [`#13`](https://github.com/openflagr/flagr/pull/13) +- Remove github.com/dgrijalva/jwt-go [`#10`](https://github.com/openflagr/flagr/pull/10) +- [skip ci] Add try-openflagr website [`#6`](https://github.com/openflagr/flagr/pull/6) +- Add codecov and fix docs [`#5`](https://github.com/openflagr/flagr/pull/5) +- Add github CI [`#1`](https://github.com/openflagr/flagr/pull/1) +- Upgrade to 1.16 [`#460`](https://github.com/checkr/flagr/pull/460) +- Fix markdown-it xss and sqlite3 build issue [`#451`](https://github.com/checkr/flagr/pull/451) +- Bump y18n from 4.0.0 to 4.0.3 in /browser/flagr-ui [`#444`](https://github.com/checkr/flagr/pull/444) +- Bump ssri from 6.0.1 to 6.0.2 in /browser/flagr-ui [`#441`](https://github.com/checkr/flagr/pull/441) +- Fix integration tests [`#443`](https://github.com/checkr/flagr/pull/443) +- Bump elliptic from 6.5.3 to 6.5.4 in /browser/flagr-ui [`#435`](https://github.com/checkr/flagr/pull/435) +- Add dropdown by state to filter flags [`#433`](https://github.com/checkr/flagr/pull/433) +- Bump swagger cli / golangci-lint / UI related package.json [`#432`](https://github.com/checkr/flagr/pull/432) +- Fix typo in home.md [`#415`](https://github.com/checkr/flagr/pull/415) +- Add support for kafka auth using SASL with PLAIN mechanism [`#412`](https://github.com/checkr/flagr/pull/412) +- Evaluation with FlagTagsOperator to match any or all tags [`#408`](https://github.com/checkr/flagr/pull/408) +- Allow /api/v1/health bypass auth default [`#407`](https://github.com/checkr/flagr/pull/407) + +### Commits + +- Fix markdown-it xss [`f039933`](https://github.com/openflagr/flagr/commit/f03993346f7cd573b4afe2995ef1e3d24ff5a105) +- Bump UI related package.json [`827f199`](https://github.com/openflagr/flagr/commit/827f199b1ebc4b124b326e674e9a68b57410711a) +- Bump golangci and swagger cli [`fd23dd1`](https://github.com/openflagr/flagr/commit/fd23dd1e57fa880055c054c2f11a1a27641d883e) + + +### Migration Guide + +All the integration tests are the same, which guarantees the +- API backward compatibility with `checkr/flagr:1.1.12` +- Environment variables are the same and don't need any changes + +Docker users: +``` +docker pull checkr/flagr:1.1.12 +=> +docker pull ghcr.io/openflagr/flagr:1.1.13 +``` + +Golang users: +``` +go get github.com/checkr/flagr +=> +go get github.com/openflagr/flagr +``` + ## [1.1.12](https://github.com/checkr/flagr/tree/1.1.12) (2020-09-16) [Full Changelog](https://github.com/checkr/flagr/compare/1.1.11...1.1.12)