[!WARNING]
During the public release on 24th of January, we will also create a proper changelog with a migration guide from AdonisJS v5 to AdonisJS v6. Even though the new version is public on npm, please do not install it until the migration guide is out.
Please consult the following releases to view the list of breaking changes and new additions.
Since the config/session.ts file exports a config provider, there is no way to get configuration raw configuration from it. Instead, you can use the ctx.session.config to get a hold of the raw configuration.
Commits
refactor: make session.config property public 4395100
Optionally read CSRF exception error message via i18n
This release adds support for reading CSRF error message from i18n integration. You can define the translation message for CSRF errors inside the errors.json file as follows.
{
"E_BAD_CSRF_TOKEN": "Session expired"
}
Also, fixed the bug to include input data when sending CSRF error via flash messages
Commits
feat: add csrf error message using i18n 49537e7
refactor: move tests_helpers file to test directory as helpers.ts 9d462f6
During the build process, we now rewrite from-scratch the ace.js file included in the build folder so as to remove all references to ts-node. That way, you can now run node ace my-command in your build project without having to install ts-node.
[!WARNING]
Any modifications to the ace.js file will be lost during the build process since the file is rewritten from scratch. If you want to have any additional code that runs before Ace starts, you should instead do it inside the bin/console.ts file.
As of today, TSNode exports a loader hook which must be applied using the --loader Node.js CLI flag. However, the --loader flag was experimental and emits a warning. This release disables that warning for a nicer CLI experience.
With that said, we are waiting on Ts-node to export an import hook that can be applied using the --import Node.js CLI flag and then we can safely remove the flags in use to suppress warnings.
Add future.v3_throwAbortReason flag to throw request.signal.reason when a request is aborted instead of an Error such as new Error("query() call aborted: GET /path") (#8251)
Patch Changes
Vite: Add manifest option to Vite plugin to enable writing a .remix/manifest.json file to the build directory (#8575)
This is a breaking change for consumers of the Vite plugin's "server bundles" feature.
The build/server/bundles.json file has been superseded by the more general build/.remix/manifest.json. While the old server bundles manifest was always written to disk when generating server bundles, the build manifest file must be explicitly enabled via the manifest option.
Vite: Provide Unstable_ServerBundlesFunction and Unstable_VitePluginConfig types (#8654)
Vite: add --sourcemapClient and --sourcemapServer flags to remix vite:build (#8613)
Vite: Validate IDs returned from the serverBundles function to ensure they only contain alphanumeric characters, hyphens and underscores (#8598)
Vite: fix "could not fast refresh" false alarm (#8580)
HMR is already functioning correctly but was incorrectly logging that it "could not fast refresh" on internal client routes.
Now internal client routes correctly register Remix exports like meta for fast refresh,
which removes the false alarm.
Bumps the minor-upgrades group with 21 updates:
9.0.0-10
9.1.1
6.1.5-38
6.2.3
7.0.0-15
7.1.1
8.0.0-10
8.1.1
1.0.4
1.1.1
2.4.1
2.6.0
2.4.1
2.6.0
2.4.1
2.6.0
2.4.1
2.6.0
1.7.0
1.7.1
6.0.0
6.0.1
5.1.6
5.1.7
7.0.0-1
7.1.1
2.4.1
2.6.0
1.3.101
1.4.1
3.3.7
3.4.2
20.10.5
20.11.19
18.2.45
18.2.56
18.2.18
18.2.19
10.3.0
10.3.1
3.1.1
3.2.5
Updates
@adonisjs/auth
from 9.0.0-10 to 9.1.1Release notes
Sourced from
@adonisjs/auth
's releases.Commits
016cc8c
chore(release): 9.1.17a0045b
chore(package): update dependencies064414a
chore(release): 9.1.07eb5278
fix: typing issuesb02f8c2
feat: finish basic auth guard implementationbd285e7
feat: implement user provider for basic auth guard9ed04af
feat: add basic auth guarddf847f8
chore(release): 9.0.3a8d7e58
fix: mysql port in .env file7352f93
ci: install playwright browserUpdates
@adonisjs/core
from 6.1.5-38 to 6.2.3Release notes
Sourced from
@adonisjs/core
's releases.... (truncated)
Commits
f04f5ec
chore(release): 6.2.305d23e8
fix: respect singular command flag to create singular controller004ac5c
chore(release): 6.2.29fa0de3
feat: add@adonisjs/core/
test_utils submodulecdef23a
chore: update dependencies563ed66
chore(release): 6.2.1f5afe9c
refactor: update 'http:server_ready' event payload to include duration1e3d6e4
feat: add all helpers to repl context via loadHelpers command6f60fee
chore: update dependenciesbd476b5
chore(release): 6.2.0Updates
@adonisjs/session
from 7.0.0-15 to 7.1.1Release notes
Sourced from
@adonisjs/session
's releases.Commits
7e1a696
chore(release): 7.1.14395100
refactor: make session.config property publicca82c19
chore(release): 7.1.09e1d030
refactor: update flashExcept list to exlcude password fields4809acb
chore: update dependencies8e9ff8f
chore(release): 7.0.04eb791c
chore: publish under latest taga3b9959
Merge pull request #82 from adonisjs/nextf64df34
refactor: export stubsRoot path5a3e1ff
chore: bundle types.ts file via tsup as wellUpdates
@adonisjs/shield
from 8.0.0-10 to 8.1.1Release notes
Sourced from
@adonisjs/shield
's releases.... (truncated)
Commits
7182ed0
chore(release): 8.1.17e7f6c7
fix: japa plugin export function7c64030
chore: update dependenciese4bc2b8
docs: update readme6073a54
chore: update dependenciesf7d2bfb
chore(release): 8.1.049537e7
feat: add csrf error message using i18n9d462f6
refactor: move tests_helpers file to test directory as helpers.tsd5141ae
test: update failing tests68e2da9
chore: update dependenciesUpdates
@adonisjs/static
from 1.0.4 to 1.1.1Release notes
Sourced from
@adonisjs/static
's releases.Commits
a227b35
chore(release): 1.1.123de8f8
refactor: rename config stub path to match the convention of other packages7bd82ac
chore(release): 1.1.0c02a641
refactor: compute middleware default config from defineConfig helper88ece42
chore: bundle types.ts file via tsup as welld766fd9
chore: update dependenciesUpdates
@remix-run/css-bundle
from 2.4.1 to 2.6.0Release notes
Sourced from
@remix-run/css-bundle
's releases.Changelog
Sourced from
@remix-run/css-bundle
's changelog.Commits
2423f65
chore: Update version for release (#8666)39b01aa
chore: Update version for release (pre) (#8665)25c8f8b
chore: Update version for release (pre) (#8655)920b7d2
chore: Update version for release (pre) (#8650)ee65ddc
chore: Update version for release (pre) (#8645)043d14d
chore: Update version for release (#8552)d9f0adb
chore: Update version for release (pre) (#8551)9c69412
chore: Update version for release (pre) (#8540)853d388
chore: Update version for release (pre) (#8532)d88606e
chore: Update version for release (#8486)Updates
@remix-run/node
from 2.4.1 to 2.6.0Release notes
Sourced from
@remix-run/node
's releases.Changelog
Sourced from
@remix-run/node
's changelog.Commits
2423f65
chore: Update version for release (#8666)39b01aa
chore: Update version for release (pre) (#8665)25c8f8b
chore: Update version for release (pre) (#8655)920b7d2
chore: Update version for release (pre) (#8650)ee65ddc
chore: Update version for release (pre) (#8645)043d14d
chore: Update version for release (#8552)d9f0adb
chore: Update version for release (pre) (#8551)9c69412
chore: Update version for release (pre) (#8540)853d388
chore: Update version for release (pre) (#8532)d88606e
chore: Update version for release (#8486)Updates
@remix-run/react
from 2.4.1 to 2.6.0Release notes
Sourced from
@remix-run/react
's releases.Changelog
Sourced from
@remix-run/react
's changelog.... (truncated)
Commits
2423f65
chore: Update version for release (#8666)39b01aa
chore: Update version for release (pre) (#8665)cb2dcd8
Bump router (#8664)25c8f8b
chore: Update version for release (pre) (#8655)920b7d2
chore: Update version for release (pre) (#8650)ee65ddc
chore: Update version for release (pre) (#8645)7ddaa9c
Bump router (#8643)8f924e8
vite: no livereload, scripts injects hmr runtime instead (#8636)96904e7
Unwrap thrown Responses from entry.server into ErrorResponses (#8577)4c627af
Add support for future.v3_throwAbortReason flag (#8251)Updates
@remix-run/serve
from 2.4.1 to 2.6.0Release notes
Sourced from
@remix-run/serve
's releases.Changelog
Sourced from
@remix-run/serve
's changelog.Commits
2423f65
chore: Update version for release (#8666)39b01aa
chore: Update version for release (pre) (#8665)25c8f8b
chore: Update version for release (pre) (#8655)920b7d2
chore: Update version for release (pre) (#8650)ee65ddc
chore: Update version for release (pre) (#8645)043d14d
chore: Update version for release (#8552)d9f0adb
chore: Update version for release (pre) (#8551)9c69412
chore: Update version for release (pre) (#8540)853d388
chore: Update version for release (pre) (#8532)d88606e
chore: Update version for release (#8486)Updates
@vinejs/vine
from 1.7.0 to 1.7.1Release notes
Sourced from
@vinejs/vine
's releases.Commits
b4c52f1
chore(release): 1.7.1bcebea5
fix: unix timetamp validation with x format9dd9d85
style: format source code6e412b2
chore: update dependencies3e35b83
refactor: performance optimizations4c88fa1
chore: update dependencies92a48c8
refactor: dynamic import node:dnsUpdates
edge.js
from 6.0.0 to 6.0.1Release notes
Sourced from edge.js's releases.
Commits
f6046c5
chore(release): 6.0.141df71e
chore: update dependenciesa2d0a4c
docs: update github workflow badge urlUpdates
sqlite3
from 5.1.6 to 5.1.7Release notes
Sourced from sqlite3's releases.
Commits
ba4ba07
v5.1.7d04c1fb
Removed Node version from matrix title03d6e75
v5.1.7-rc.08398daa
Fixed uploading assets from Docker8b86e41
Fixed uploading release assets on Windows83c8c0a
Configured releases to be created as prereleasesf792f69
Update dependency node-addon-api to v74ef11bf
Removed extraneous parameter to event emit functione99160a
Inlinedinit()
functions into class header files3372130
ImprovedRowToJS
performance by removingNapi::String::New
instantiationUpdates
@adonisjs/assembler
from 7.0.0-1 to 7.1.1Release notes
Sourced from
@adonisjs/assembler
's releases.... (truncated)
Commits
f6bb870
chore(release): 7.1.1adcc145
test: fix wrong test assertiona2801ff
refactor: rewrite builded ace file (#67)fa322d7
chore: update dependencies0617c10
chore(release): 7.1.06f28f35
test: fix breaking teste74612b
refactor: disable loader warnings4744ee1
chore: update dependencies1921000
chore(release): 7.0.022d6926
chore: publish under latest tagUpdates
@remix-run/dev
from 2.4.1 to 2.6.0Release notes
Sourced from
@remix-run/dev
's releases.Changelog
Sourced from
@remix-run/dev
's changelog.... (truncated)
Commits
2423f65
chore: Update version for release (#8666)39b01aa
chore: Update version for release (pre) (#8665)cb2dcd8
Bump router (#8664)25c8f8b
chore: Update version for release (pre) (#8655)f0688dd
Export more Vite types, document presets (#8654)920b7d2
chore: Update version for release (pre) (#8650)45e28ed
vite: cloudflare preset load context (#8649)ee65ddc
chore: Update version for release (pre) (#8645)44bac29
Convert Vite pluginadapter
API topresets
(#8620)7ddaa9c
Bump router (#8643)Updates
@swc/core
from 1.3.101 to 1.4.1Changelog
Sourced from
dependabot[bot]
commented
7 months ago
Looks like these dependencies are updatable in another way, so this is no longer needed.