---
package: "@webjsdev/server"
version: 0.8.21
date: 2026-06-10T10:05:59.580Z
commit_count: 6
---
## Features

- **webjs check flags server-only imports that reach the browser** ([#457](https://github.com/webjsdev/webjs/pull/457)) [`471531fc`](https://github.com/webjsdev/webjs/commit/471531fc)
  * feat: webjs check flags server-only imports that reach the browser
  
  A page/layout/component that ships to the browser but transitively
  imports a server-only .server.{ts,js} module crashes at runtime (the
- **convention-pick redirect() status + hint bare webjs dev's missing prisma client** ([#456](https://github.com/webjsdev/webjs/pull/456)) [`5d5cd76b`](https://github.com/webjsdev/webjs/commit/5d5cd76b)
  * feat: convention-pick redirect() status (302 GET gate, 307 action)
  
  redirect('/login') baked in 307 unconditionally, so a GET-to-GET gate
  (an auth bounce) returned the method-preserving 307 where 302 Found is
- **type the auth() session user (augmentable + generic)** ([#454](https://github.com/webjsdev/webjs/pull/454)) [`5298fbe4`](https://github.com/webjsdev/webjs/commit/5298fbe4)
  * feat: type the auth() session user (augmentable + generic)
  
  auth() resolved { user: Record<string, unknown> }, so reading a custom
  field the session/jwt callbacks set (e.g. session.user.id, which crisp
- **make the opt-in webjs vendor pin output committable** ([#455](https://github.com/webjsdev/webjs/pull/455)) [`3e125a1f`](https://github.com/webjsdev/webjs/commit/3e125a1f)
  * feat: make committable the opt-in webjs vendor pin output
  
  Vendoring is an optional opt-in: the no-build default resolves bare
  specifiers at runtime via jspm.io and commits nothing. But when a user
- **flag an incoherent importmap dependency graph in webjs doctor** ([#460](https://github.com/webjsdev/webjs/pull/460)) [`06c10efa`](https://github.com/webjsdev/webjs/commit/06c10efa)
  * feat(server): importmap coherence check over the resolved dep graph
  
  Add checkImportmapCoherence: given a produced importmap, for each resolved
  package it verifies that the version pinned for every OTHER resolved package it

## Fixes

- **resolve the whole bare-import set in one jspm generate call** ([#459](https://github.com/webjsdev/webjs/pull/459)) [`105cb8d7`](https://github.com/webjsdev/webjs/commit/105cb8d7)
  * fix: resolve the whole bare-import set in one jspm generate call
  
  Per-package-in-isolation resolution pinned a directly-imported package
  to its local node_modules version while a transitive floated to
