From dd8909c9b29d4cd775266dae5aa965954a384afc Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 1 Dec 2021 13:23:55 +0100 Subject: [PATCH 1/2] website/docs: add v2021.12 release notes Signed-off-by: Jens Langhammer --- website/docs/releases/v2021.12.md | 82 +++++++++++++++++++++++++++++++ website/sidebars.js | 1 + 2 files changed, 83 insertions(+) create mode 100644 website/docs/releases/v2021.12.md diff --git a/website/docs/releases/v2021.12.md b/website/docs/releases/v2021.12.md new file mode 100644 index 000000000..3635f13b6 --- /dev/null +++ b/website/docs/releases/v2021.12.md @@ -0,0 +1,82 @@ +--- +title: Release 2021.12 +slug: "2021.12" +--- + +## Headline Changes + +This release does not have any headline features, and mostly fixes bugs. + +## Minor changes + +- core: make defaults for _change_email and _change_username configurable +- core: remove dump_config, handle directly in config loader without booting django, don't check database +- events: add gdpr_compliance option +- internal: fix integrated docs not working +- internal: use runserver when debug for code reload +- lib: add cli option for lib.config +- lib: add improved log to sentry events being sent +- lib: fix custom URL schemes being overwritten +- lib: load json strings in config env variables +- lib: log error for file:// in config +- lifecycle: allow custom worker count in k8s +- lifecycle: improve backup restore by dropping database before +- lifecycle: improve redis connection debug py printing full URL +- outpost: configure error reporting based off of main instance config +- outposts: don't panic when listening for metrics fails +- outposts: reload on signal USR1, fix display of reload offset +- outposts/ldap: copy boundUsers map when running refresh instead of using blank map +- outposts/ldap: fix panic when attempting to update without locked users mutex +- outposts/proxy: continue compiling additional regexes even when one fails +- outposts/proxy: show better error when hostname isn't configured +- outposts/proxy: use disableIndex for static files +- policies/expression: fix ak_user_has_authenticator evaluation when not specifying optional device_type (#1849) +- providers/saml: fix SessionNotOnOrAfter not being included +- root: add lifespan shim to prevent errors +- root: fix settings for managed not loaded +- root: make sentry sample rate configurable +- stages/authenticator_validate: catch error when attempting to configure user without flow +- stages/email: fix missing component in response when retrying email send +- stages/email: minify email css template +- stages/email: prevent error with duplicate token +- web: add rollup config for proxy outpost +- web: attempt to drop fetch errors +- web: improve dark theme for vertical tabs +- web: only show applications with http link +- web: use ak-label for boolean values +- web/admin: allow flow edit on flow view page +- web/admin: fix actions column on ip reputation page +- web/admin: fix display of banners on provider pages +- web/admin: fix Forms with file uploads not handling errors correctly +- web/admin: fix typo in events action +- web/admin: make object view pages more consistent +- web/admin: make user clickable for bound policies list +- web/admin: redesign provider pages to provide more info +- web/admin: show changelog on user info page +- web/admin: unify rendering and sorting of user lists +- web/elements: add new API to store attributes in URL, use for table and tabs +- web/elements: allow app.model names for ak-object-changelog +- web/elements: allow multiple tabs with different state +- web/flows: fix spinner during webauthn not centred +- web/flows: update default background +- web/user: fix filtering for applications based on launchURL +- web/user: fix height issues on user interface + + +## Upgrading + +This release does not introduce any new requirements. + +### docker-compose + +Download the docker-compose file for 2021.12 from [here](https://goauthentik.io/version/2021.12/docker-compose.yml). Afterwards, simply run `docker-compose up -d`. + +### Kubernetes + +Update your values to use the new images: + +```yaml +image: + repository: goauthentik.io/server + tag: 2021.12.1-rc1 +``` diff --git a/website/sidebars.js b/website/sidebars.js index 63ed85311..610b70438 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -134,6 +134,7 @@ module.exports = { type: "category", label: "Release Notes", items: [ + "releases/v2021.12", "releases/v2021.10", "releases/v2021.9", "releases/v2021.8", From e7144649d5e92c677b5453d6b821aa5bb33a210c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 1 Dec 2021 15:27:37 +0100 Subject: [PATCH 2/2] ci: dont use matrix for multiplatform build This reverts commit 9092d1189b081df64224aafe926993a7d5094924. Signed-off-by: Jens Langhammer # Conflicts: # .github/workflows/ci-main.yml # .github/workflows/ci-outpost.yml # .github/workflows/release-publish.yml --- .github/workflows/release-publish.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 5f5fe7b9b..f34218150 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -8,12 +8,6 @@ jobs: # Build build-server: runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - arch: - - 'linux/amd64' - - 'linux/arm64' steps: - uses: actions/checkout@v2 - name: Set up QEMU @@ -40,7 +34,7 @@ jobs: beryju/authentik:latest, ghcr.io/goauthentik/server:2021.10.4, ghcr.io/goauthentik/server:latest - platforms: ${{ matrix.arch }} + platforms: linux/amd64,linux/arm64 context: . - name: Building Docker Image (stable) if: ${{ github.event_name == 'release' && !contains('2021.10.4', 'rc') }} @@ -59,9 +53,6 @@ jobs: type: - proxy - ldap - arch: - - 'linux/amd64' - - 'linux/arm64' steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 @@ -92,7 +83,7 @@ jobs: ghcr.io/goauthentik/${{ matrix.type }}:2021.10.4, ghcr.io/goauthentik/${{ matrix.type }}:latest file: ${{ matrix.type }}.Dockerfile - platforms: ${{ matrix.arch }} + platforms: linux/amd64,linux/arm64 - name: Building Docker Image (stable) if: ${{ github.event_name == 'release' && !contains('2021.10.4', 'rc') }} run: |