Skip to content

packages/client-ts: Generate imports with .js extensions - #27029

Merged
GirlBossRush merged 2 commits into
mainfrom
fix-client-ts-module-resolution
Oct 21, 2026
Merged

GirlBossRush merged 2 commits into
mainfrom
fix-client-ts-module-resolution

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR sets importFileExtension on the TypeScript client generator so relative imports come out as ./Foo.js, which lets the client drop the preserve/bundler workaround and use nodenext like a proper ESM package. The other 532 files are just the regenerated imports -- nothing else changes in them.

The primary changes are limited to two files non-generated files:

The published npm client in goauthentik/client-ts is getting the same treatment so the two stay in step. See goauthentik/client-ts#27.

@netlify

netlify Bot commented Oct 19, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit e64908b
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ad65ddf6d6d2bca8ce0c7d7
😎 Deploy Preview https://deploy-preview-27029--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.

@GirlBossRush
GirlBossRush marked this pull request as ready for review October 19, 2026 18:17
@GirlBossRush
GirlBossRush requested a review from a team as a code owner October 19, 2026 18:17
@codecov

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.36%. Comparing base (223f54e) to head (48ab13c).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27029      +/-   ##
==========================================
- Coverage   92.36%   92.36%   -0.01%     
==========================================
  Files        1189     1189              
  Lines       80134    80134              
  Branches     4351     4351              
==========================================
- Hits        74019    74017       -2     
- Misses       6049     6051       +2     
  Partials       66       66              
Flag Coverage Δ
conformance 32.28% <ø> (-0.03%) ⬇️
e2e 36.99% <ø> (+<0.01%) ⬆️
integration 29.19% <ø> (+<0.01%) ⬆️
rust 44.42% <ø> (ø)
unit 94.02% <ø> (+<0.01%) ⬆️
unit-migrate 94.01% <ø> (+<0.01%) ⬆️

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

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

@GirlBossRush GirlBossRush added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Oct 19, 2026
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 39627435661 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-48ab13cbb07f0f938994ace45ec64195e6a878b4
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-48ab13cbb07f0f938994ace45ec64195e6a878b4

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

@GirlBossRush GirlBossRush self-assigned this Oct 19, 2026
@GirlBossRush GirlBossRush moved this from Todo to Needs review in authentik Core Oct 19, 2026
@GirlBossRush
GirlBossRush enabled auto-merge (squash) October 19, 2026 20:07
@GirlBossRush
GirlBossRush force-pushed the fix-client-ts-module-resolution branch from e64908b to 48ab13c Compare October 21, 2026 15:37
@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Oct 21, 2026
@GirlBossRush
GirlBossRush merged commit 0643bba into main Oct 21, 2026
146 of 147 checks passed
@GirlBossRush
GirlBossRush deleted the fix-client-ts-module-resolution branch October 21, 2026 16:02
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Oct 21, 2026
kensternberg-authentik added a commit that referenced this pull request Oct 22, 2026
* main: (21 commits)
  root: require Node.js 24.22.1 (#27093)
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  core: bump djangorestframework from 3.18.1 to 3.18.3 (#26838)
  website/docs: add release notes for `2026.8.5` (#27084)
  website/docs: add release notes for `2026.5.8` (#27083)
  core, web: update translations (#27035)
  core: bump twilio from 9.11.2 to 9.12.0 (#27081)
  core: bump cachetools from 7.2.2 to 7.2.3 (#27082)
  core: bump paramiko from 5.0.0 to 5.0.1 (#27080)
  ...
kensternberg-authentik added a commit that referenced this pull request Oct 22, 2026
…ts/sidebar-api-disconnect

* web/elements/sidebar-footer-dependency: (27 commits)
  The test exists and passes.
  Moving the load of the AdminOverviewPage to the entrypoint. The idea is to have the dashboard as live as possible as early as possible.  Putting into Routes made Routes into a browser-only feature, and it could not be unit tested without this move.
  web/elements: test that ak-mdx does not evaluate API-supplied content (#24524)
  root: require Node.js 24.22.1 (#27093)
  Formatter opinions.
  That side effect infected downstream tests. Darnit.
  web/admin: Simplify sidebar entries handling
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  core: bump djangorestframework from 3.18.1 to 3.18.3 (#26838)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
* main: (1416 commits)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  core: bump djangorestframework from 3.18.1 to 3.18.3 (#26838)
  website/docs: add release notes for `2026.8.5` (#27084)
  website/docs: add release notes for `2026.5.8` (#27083)
  core, web: update translations (#27035)
  core: bump twilio from 9.11.2 to 9.12.0 (#27081)
  core: bump cachetools from 7.2.2 to 7.2.3 (#27082)
  core: bump paramiko from 5.0.0 to 5.0.1 (#27080)
  core: bump ruff from 0.17.0 to 0.17.1 (#27077)
  lib/tracing: fix sentry tracing when otel is enabled (#27066)
  website/integrations: audiobookshelf: Fix Post Logout URI (#27074)
  web/user: fix agents tab flashing without license (#27069)
  root: bump cert-related deps due to emudhra (#27068)
  web: fix table fetch races and search select e2e lookups (#27059)
  core: bump astral-sh/uv from 0.13.1 to 0.13.3 in /lifecycle/container (#27037)
  policies: fix warning from setting non-string tracing data (#27062)
  root: annotate hot paths (#27052)
  website/docs: contributing: add guidelines for vendor contributions (#27032)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
…single-shadowdom-sidebar

* web/elements/sidebar-api-disconnect: (28 commits)
  Fix some merge issues.
  The test exists and passes.
  Moving the load of the AdminOverviewPage to the entrypoint. The idea is to have the dashboard as live as possible as early as possible.  Putting into Routes made Routes into a browser-only feature, and it could not be unit tested without this move.
  web/elements: test that ak-mdx does not evaluate API-supplied content (#24524)
  root: require Node.js 24.22.1 (#27093)
  Formatter opinions.
  That side effect infected downstream tests. Darnit.
  web/admin: Simplify sidebar entries handling
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  ...
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

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants