Skip to content

web: Normalize use of .toJSON() over .json()#21621

Merged
GirlBossRush merged 2 commits intomainfrom
json-fixes
Apr 16, 2026
Merged

web: Normalize use of .toJSON() over .json()#21621
GirlBossRush merged 2 commits intomainfrom
json-fixes

Conversation

@GirlBossRush
Copy link
Copy Markdown
Contributor

@GirlBossRush GirlBossRush commented Apr 15, 2026

Details

This PR fixes a runtime error that occurs when using form inputs which are serialized use .json() instead of .toJSON().

@GirlBossRush GirlBossRush requested a review from a team as a code owner April 15, 2026 14:38
@GirlBossRush GirlBossRush changed the base branch from modal-revisions-v2 to main April 15, 2026 14:42
@GirlBossRush GirlBossRush changed the title web: Normalize use of toJSON. web: Normalize use of .toJSON() over .json() Apr 15, 2026
@GirlBossRush GirlBossRush self-assigned this Apr 15, 2026
@GirlBossRush GirlBossRush added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Apr 15, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 15, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 3ec8bf0
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69e025a2e43a6e0008476d44
😎 Deploy Preview https://deploy-preview-21621--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 15, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit a0bf666
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69e0bd9830abfc0008e57635
😎 Deploy Preview https://deploy-preview-21621--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.29%. Comparing base (00639d9) to head (a0bf666).
⚠️ Report is 11 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #21621   +/-   ##
=======================================
  Coverage   92.29%   92.29%           
=======================================
  Files        1032     1032           
  Lines       59789    59789           
  Branches     2537     2537           
=======================================
+ Hits        55183    55184    +1     
+ Misses       4541     4540    -1     
  Partials       65       65           
Flag Coverage Δ
conformance 36.97% <ø> (+<0.01%) ⬆️
e2e 42.89% <ø> (+<0.01%) ⬆️
integration 33.89% <ø> (+<0.01%) ⬆️
rust 60.50% <ø> (ø)
unit 91.92% <ø> (+<0.01%) ⬆️
unit-migrate 92.02% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-a0bf666f21715e9c10faeed7bf0809a8eb768fca
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-a0bf666f21715e9c10faeed7bf0809a8eb768fca

Afterwards, run the upgrade commands from the latest release notes.

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@GirlBossRush GirlBossRush merged commit abb65d2 into main Apr 16, 2026
112 checks passed
@GirlBossRush GirlBossRush deleted the json-fixes branch April 16, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Features or issues related to the browser, TypeScript, Node.js, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants