flatpack-json was caching the objects it got for performance. But this created an issue when one of those objects were updated in the background. Since the object was cached, it was assumed that nothing had changed.
One of the highlights of this release is the Context Storage Middleware. Let's introduce it.
Context Storage Middleware
Many users may have been waiting for this feature. The Context Storage Middleware uses AsyncLocalStorage to allow handling of the current Context object even outside of handlers.
For example, let’s define a Hono app with a variable message: string.
type Env = {
Variables: {
message: string
}
}
const app = new Hono<Env>()
To enable Context Storage Middleware, register contextStorage() as middleware at the top and set the message value.
import { contextStorage } from 'hono/context-storage'
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot mer...
_Description has been truncated_
Bumps the dependencies group with 11 updates in the / directory:
4.11.1
4.12.0
19.4.1
19.5.0
19.4.1
19.5.0
1.12.2
1.13.1
22.5.4
22.5.5
8.14.2
8.14.4
8.57.0
8.57.1
4.19.2
4.21.0
4.5.11
4.6.2
9.1.5
9.1.6
5.5.4
5.6.2
Updates
memfs
from 4.11.1 to 4.12.0Release notes
Sourced from memfs's releases.
Changelog
Sourced from memfs's changelog.
Commits
18f4abe
chore(release): 4.12.0 [skip ci]575a76b
feat: improve permissions support (#1059)764ab58
chore(deps): bump express from 4.19.2 to 4.21.0 (#1061)cfb0530
chore(release): 4.11.2 [skip ci]9156c84
fix: addparentPath
toDirent
(#1058)a6ec0bf
docs:dir
was renamed topath
a while back (#1060)1c9db5d
chore(deps): lock file maintenance3189bf7
chore(deps): lock file maintenanceUpdates
@commitlint/cli
from 19.4.1 to 19.5.0Release notes
Sourced from
@commitlint/cli
's releases.Changelog
Sourced from
@commitlint/cli
's changelog.Commits
7e79af1
v19.5.0d7070d8
feat(cli): use special errorCode for missing rules/config #4142 (#4143)3c4b0fd
chore: replaceexeca
withtinyexec
and Node'schild_process.spawnSync
(...Updates
@commitlint/config-conventional
from 19.4.1 to 19.5.0Release notes
Sourced from
@commitlint/config-conventional
's releases.Changelog
Sourced from
@commitlint/config-conventional
's changelog.Commits
7e79af1
v19.5.0Updates
@hono/node-server
from 1.12.2 to 1.13.1Release notes
Sourced from
@hono/node-server
's releases.Commits
74e86a2
v1.13.1e64721a
fix(serve-static): use application/octet-stream if the mime type is not detec...64a4a91
v1.13.098d711a
feat(serve-static): addprecompressed
option (#199)d0bbc92
feat(serve-static): addonFound
option (#198)d560932
chore(lint): use eslint v9 (#197)Updates
@types/node
from 22.5.4 to 22.5.5Commits
Updates
cspell
from 8.14.2 to 8.14.4Release notes
Sourced from cspell's releases.
... (truncated)
Changelog
Sourced from cspell's changelog.
Commits
aeedd49
v8.14.4ce99637
v8.14.3f4697d0
refactor: rename package@cspell/normalize-json
toflatpack-json
(#6235)24c45ad
ci: Workflow Bot -- Update ALL Dependencies (main) (#6183)dd68c9a
fix: Add flutter dictionary for dart (#6185)7fd0b70
ci: Workflow Bot -- Update ALL Dependencies (main) (#6155)Updates
eslint
from 8.57.0 to 8.57.1Release notes
Sourced from eslint's releases.
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
5b9414c
8.57.1f66806d
Build: changelog update for 8.57.1140ec45
chore: upgrade@eslint/js
@8
.57.1 (#18913)bcdfc04
chore: package.json update for@eslint/js
release3f6ce8d
chore: pin vite-plugin-commonjs@0.10.1 (#18910)a19072f
fix: add logic to handle fixTypes in the lintText() method (#18900)04c7188
fix: Don't lint same file multiple times (#18899)87ec3c4
fix: do not throw when defining a global named__defineSetter__
(#18898)60a1267
fix: Provide helpful error message for nullish configs (#18889)35d366a
build: Support updates to previous major versions (#18870)Updates
express
from 4.19.2 to 4.21.0Release notes
Sourced from express's releases.
... (truncated)
Changelog
Sourced from express's changelog.
Commits
7e562c6
4.21.01bcde96
fix(deps): qs@6.13.0 (#5946)7d36477
fix(deps): serve-static@1.16.2 (#5951)40d2d8f
fix(deps): finalhandler@1.3.177ada90
Deprecate"back"
magic string in redirects (#5935)21df421
4.20.04c9ddc1
feat: upgrade to serve-static@0.16.09ebe5d5
feat: upgrade to send@0.19.0 (#5928)ec4a01b
feat: upgrade to body-parser@1.20.3 (#5926)54271f6
fix: don't render redirect values in anchor hrefUpdates
finalhandler
from 1.3.0 to 1.3.1Changelog
Sourced from finalhandler's changelog.
... (truncated)
Commits
Updates
hono
from 4.5.11 to 4.6.2Release notes
Sourced from hono's releases.
... (truncated)
Commits
b5c6285
v4.6.227a57c3
fix(serve-static): use application/octet-stream if the mime type is not detec...0edb243
perf(serve-static): performance optimization for precompressed feature (#3414)5f78e4e
chore(lint): ESLint v9 (#3393)e0d17a3
v4.6.185c7dc6
fix(build): improve addExtension esbuild plugin (#3405)73ff6c0
v4.6.02da003b
Merge pull request #3394 from honojs/next743f66c
fix(bearer-auth): typo (#3404)c240ea5
feat(bearer-auth): added custom response message options (#3372)Updates
husky
from 9.1.5 to 9.1.6Release notes
Sourced from husky's releases.
Commits
a2d942a
9.1.6b4465ed
fix: add parens around the null coalescing operator to fix issues when npm_co...3b3e7f1
docs(spanish): improve spanish translation (#1504)dcf3aed
dosc: repair support Spanish sponsors links (#1500)c3afd5f
docs: support Spanish documentation (#1499)c5f4f48
docs: support Russian documentation (#1495)Updates
typescript
from 5.5.4 to 5.6.2Release notes
Sourced from typescript's releases.
Commits
a7e3374
Bump version to 5.6.2 and LKG2063357
🤖 Pick PR #59708 (LEGO: Pull request from lego/hb_537...) into release-5.6 (#...4fe7e41
🤖 Pick PR #59670 (fix(59649): ts Move to a new file d...) into release-5.6 (#...1a03e53
🤖 Pick PR #59761 (this
can be nullish) into release-5.6 (#59762)6212132
Update LKGbbb5faf
🤖 Pick PR #59542 (Fixing delay caused in vscode due t...) into release-5.6 (#...e6914a5
Bump version to 5.6.1-rc and LKG34121c4
Update LKG2a30c2a
Merge remote-tracking branch 'origin/main' into release-5.6936a79b
Expose TypeChecker. getAwaitedType to public (#59268)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot mer... _Description has been truncated_