---
title: "@hono/clerk-auth 3.1.1: release notes, upgrades and advisories"
description: "@hono/clerk-auth 3.1.1: release notes, breaking changes by major version and no known security advisory."
url: https://inlinr.com/packages/@hono/clerk-auth
lang: en
---

[Packages](https://inlinr.com/packages)

# @hono/clerk-auth

3.1.1 · 7 Apr 2026 MIT 72.1k / week [Repository](https://github.com/honojs/middleware) [npm](https://www.npmjs.com/package/@hono/clerk-auth) [Atom feed](https://inlinr.com/packages/feed/@hono/clerk-auth)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@hono/clerk-auth/upgrade)

LineNewestSecurity

- 3.x 3.1.1 No known advisory Latest line
- 2.x 2.0.1 No known advisory [To 3.1.1](https://inlinr.com/packages/@hono/clerk-auth/upgrade/2.0.1-3.1.1)
- 1.x 1.0.3 No known advisory [To 3.1.1](https://inlinr.com/packages/@hono/clerk-auth/upgrade/1.0.3-3.1.1)

## Latest releases

1. 3.x · latest line
2. ### [3.1.1](https://inlinr.com/packages/@hono/clerk-auth/releases/3.1.1 "Open this release") [](https://github.com/honojs/middleware/releases/tag/%40hono/clerk-auth%403.1.1 "Read this release where it was published")  
7 Apr 2026

  - Deprecated  
  Deprecate [@hono/clerk-auth](https://inlinr.com/packages/@hono/clerk-auth) in favor of the official [@clerk/hono](https://inlinr.com/packages/@clerk/hono) package. To migrate, update your imports:  
  ```
- import { clerkMiddleware, getAuth } from '@hono/clerk-auth'
+ import { clerkMiddleware, getAuth } from '@clerk/hono'
  ```
3. ### [3.1.0](https://inlinr.com/packages/@hono/clerk-auth/releases/3.1.0 "Open this release") [](https://github.com/honojs/middleware/releases/tag/%40hono/clerk-auth%403.1.0 "Read this release where it was published")  
16 Jan 2026

  - Introduces machine authentication, supporting four token types: `api_key`, `oauth_token`, `machine_token`, and `session_token`. For backwards compatibility, `session_token` remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification.  
  You can specify which token types are allowed by using the `acceptsToken` option in the `getAuth()` function. This option can be set to a specific type, an array of types, or `'any'` to accept all supported tokens.  
  Example usage:  
  ```
  import { clerkMiddleware, getAuth } from '@hono/clerk-auth'
  import { Hono } from 'hono'
  const app = new Hono()
  app.use('*', clerkMiddleware())
  app.get('/api/protected', (c) => {
    const auth = getAuth(c, { acceptsToken: 'any' })
    if (!auth.isAuthenticated) {
      // do something for unauthenticated requests
    }
    if (authObject.tokenType === 'session_token') {
      console.log('this is session token from a user')
    } else {
      console.log('this is some other type of machine token')
      console.log('more specifically, a ' + authObject.tokenType)
    }
  })
  ```
4. ### [3.0.3](https://inlinr.com/packages/@hono/clerk-auth/releases/3.0.3 "Open this release") [](https://github.com/honojs/middleware/releases/tag/%40hono/clerk-auth%403.0.3 "Read this release where it was published")  
1 Aug 2025

  - Publish to JSR

Dependency tracking

## Know when your own dependencies move

This page watches @hono/clerk-auth. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health

[Details](https://inlinr.com/packages/@hono/clerk-auth/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

## Works with

- [hono](https://inlinr.com/packages/hono)

## Same family

- [@hono/node-server 106.3M/wk](https://inlinr.com/packages/@hono/node-server)
- [@hono/zod-validator 8.5M/wk](https://inlinr.com/packages/@hono/zod-validator)
- [@hono/trpc-server 678.7k/wk](https://inlinr.com/packages/@hono/trpc-server)
- [@hono/vite-dev-server 312.6k/wk](https://inlinr.com/packages/@hono/vite-dev-server)
- [@hono/bun 115.8k/wk](https://inlinr.com/packages/@hono/bun)
- [@hono/aws-lambda 102.2k/wk](https://inlinr.com/packages/@hono/aws-lambda)
- [@hono/sentry 84.8k/wk](https://inlinr.com/packages/@hono/sentry)
- [@hono/graphql-server 59.6k/wk](https://inlinr.com/packages/@hono/graphql-server)

Registry facts last checked 22 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
