Repository navigation
packages/client-ts: Generate imports with .js extensions - #27029
Conversation
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Playwright e2eDownload 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-reportInstallation instructionsInstructions for docker-composeAdd the following block to your 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)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-48ab13cbb07f0f938994ace45ec64195e6a878b4Afterwards, run the upgrade commands from the latest release notes. |
e64908b to
48ab13c
Compare
* 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) ...
…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) ...
* 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) ...
…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) ...
Details
This PR sets
importFileExtensionon the TypeScript client generator so relative imports come out as./Foo.js, which lets the client drop thepreserve/bundlerworkaround and usenodenextlike 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:
tsconfig.json.mustacheconfig.yamlThe published npm client in
goauthentik/client-tsis getting the same treatment so the two stay in step. See goauthentik/client-ts#27.