Skip to content

Releases: jder-std/hono

@jderjs/[email protected]

06 Aug 07:54
Compare
Choose a tag to compare

What's Changed

  • Update @jderjs/core

@jderjs/[email protected]

06 Aug 07:55
Compare
Choose a tag to compare

What's Changed

  • Update @jderjs/hono

@jderjs/[email protected]

16 Jun 13:18
Compare
Choose a tag to compare

What's New

  • Export BODY_LIMIT_MAX_DEFAULT
  • Export TIME_LIMIT_MAX_DEFAULT

What's Changed

  • max param in bodyLimit defaults to BODY_LIMIT_MAX_DEFAULT
  • max param in timeLimit defaults to TIME_LIMIT_MAX_DEFAULT
  • Updates in types of createResponse and createJsonResponse

@jderjs/[email protected]

16 Jun 13:19
Compare
Choose a tag to compare

What's Changed

  • Update @jderjs/hono

@jderjs/[email protected]

30 May 10:14
Compare
Choose a tag to compare

What's Changed

  • Move @jderjs/hono to peer dependency
  • Update @hono/zod-validator
  • Fix the types

@jderjs/[email protected]

28 May 08:20
Compare
Choose a tag to compare

What's New

  • Add support for Zod 4

What's Changed

  • Require zod@^3.25.6

@jderjs/[email protected]

27 May 11:02
Compare
Choose a tag to compare

Breaking Changes

  • Changes in input of createResponse and createJsonResponse

What's New

  • Add compatibility with hono/ip-restriction:
import { Hono } from "hono";
import { ipLimit } from "@jderjs/hono/ip-limit";
import { getConnInfo } from "@hono/node-server/conninfo";

const app: Hono = new Hono();

app.use(
    ipLimit({
        getConnInfo,
        allowList: ["127.0.0.1"],
    })
);

// Alternatively, the parameters can be passed in this format:

app.use(
    ipLimit(getConnInfo, {
        allowList: ["127.0.0.1"],
    })
);

Migrating from 0.1.x to 0.2.x

import type { Context } from "hono";

import { createJsonResponse } from "@jderjs/hono";

const route = (c: Context): Response => {
-   return createJsonResponse({ c, /* ... */ });
+   return createJsonResponse(c, { /* ... */ });
};

@jderjs/[email protected]

27 May 11:03
Compare
Choose a tag to compare

0.1.1

20 May 03:34
Compare
Choose a tag to compare

What's Changed

  • Update documentation

0.1.0

20 May 03:08
Compare
Choose a tag to compare

First release