New codemods APIs, ace add command, and experimental assembler hooks
Changes
We now have a node ace add command which allows you to install and configure a package. In a single command, where before you would have had to do npm install ... then node ace configure .... This will be documented in more detail in the coming days. See adonisjs/v6-docs#44
The Codemods API now exposes the getTsMorphProject method, which retrieves an instance of tsmorph. This allows package authors to have direct access to ts-morph when they need to perform more specific modifications in the end-user code. Documentation https://docs.adonisjs.com/guides/scaffolding#gettsmorphproject
Added experimental assembler hooks. These hooks must be defined in the adonisrc.ts file and enable certain pieces of code to be executed at specific times during the build or dev server lifecycle. This feature will be useful for the new Vite integration we are experimenting :
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
Strengthen the internal LayoutComponent type to accept limited children (#8910)
Updated dependencies:
@remix-run/server-runtime@2.8.1
2.8.0
Patch Changes
Fix the default root ErrorBoundary component so it leverages the user-provided Layout component (#8859)
Fix the default root HydrateFallback component so it leverages any user-provided Layout component (#8892)
Ensure @remix-run/react re-exports everything from react-router-dom for SPA mode (#8929)
Updated dependencies:
@remix-run/server-runtime@2.8.0
2.7.2
Patch Changes
Updated dependencies:
@remix-run/server-runtime@2.7.2
2.7.1
Patch Changes
Updated dependencies:
@remix-run/server-runtime@2.7.1
2.7.0
Minor Changes
Allow an optional Layout export from the root route (#8709)
Vite: Add a new basename option to the Vite plugin, allowing users to set the internal React Router basename in order to to serve their applications underneath a subpath (#8145)
Patch Changes
Fix a bug with SPA mode when the root route had no children (#8747)
An addVitePlugin method in the Codemods API that can be used by package creators to add a new Vite plugin to the end-user configuration
Makes the project property of the codemods api public. This allows package authors to have direct access to ts-morph when they need to perform more specific modifications in the end-user code.
Bumps the minor-upgrades group with 27 updates:
9.0.0-10
9.1.1
6.1.5-38
6.3.1
7.0.0-15
7.1.1
8.0.0-10
8.1.1
1.0.4
1.1.1
0.0.17
0.0.18
2.4.1
2.8.1
2.4.1
2.8.1
2.4.1
2.8.1
2.4.1
2.8.1
1.7.0
1.8.0
6.0.0
6.0.1
5.1.6
5.1.7
7.0.0-1
7.2.3
1.2.1
1.3.0
1.2.1
1.3.0
1.2.1
1.3.0
2.4.1
2.8.1
1.3.101
1.4.8
3.3.7
3.4.2
20.10.5
20.11.28
18.2.45
18.2.66
18.2.18
18.2.22
8.56.0
8.57.0
10.3.0
10.3.1
3.1.1
3.2.5
5.3.3
5.4.2
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.3.1Release notes
Sourced from
@adonisjs/core
's releases.... (truncated)
Commits
acd7b4e
chore(release): 6.3.19e5c21e
fix: renamenode ace install
tonode ace add
b377553
chore: update assembler2ec6f35
chore(release): 6.3.0ee4baba
ci: usemain
as reference for test jobcf79688
test: fix test that fails when runned locally295061f
ci: remove test jobnext
reference1ca3b45
chore: migrate to husky 9fdd332e
chore: update dependenciese33b342
chore: update minimum node versionUpdates
@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
@matstack/remix-adonisjs
from 0.0.17 to 0.0.18Updates
@remix-run/css-bundle
from 2.4.1 to 2.8.1Release notes
Sourced from
@remix-run/css-bundle
's releases.Changelog
Sourced from
@remix-run/css-bundle
's changelog.Commits
1eb5fba
chore: Update version for release (#9012)c735f50
chore: Update version for release (pre) (#9011)af1ccaf
chore: Update version for release (pre) (#8985)2df7a35
chore: Update version for release (#8938)9646688
chore: Update version for release (pre) (#8937)6affc40
chore: Update version for release (pre) (#8930)71b83b4
chore: Update version for release (pre) (#8907)d96d909
Draft release notesfe9979c
chore: Update version for release (pre) (#8904)ed69fc1
chore: Update version for release (#8837)Updates
@remix-run/node
from 2.4.1 to 2.8.1Release notes
Sourced from
@remix-run/node
's releases.Changelog
Sourced from
@remix-run/node
's changelog.... (truncated)
Commits
1eb5fba
chore: Update version for release (#9012)c735f50
chore: Update version for release (pre) (#9011)af1ccaf
chore: Update version for release (pre) (#8985)2df7a35
chore: Update version for release (#8938)9646688
chore: Update version for release (pre) (#8937)6affc40
chore: Update version for release (pre) (#8930)71b83b4
chore: Update version for release (pre) (#8907)fe9979c
chore: Update version for release (pre) (#8904)ed69fc1
chore: Update version for release (#8837)4df9d37
chore: Update version for release (#8820)Updates
@remix-run/react
from 2.4.1 to 2.8.1Release notes
Sourced from
@remix-run/react
's releases.Changelog
Sourced from
@remix-run/react
's changelog.... (truncated)
Commits
1eb5fba
chore: Update version for release (#9012)c735f50
chore: Update version for release (pre) (#9011)93bdcb9
Bump router (#9010)dbdb5ff
Prep release notesaf1ccaf
chore: Update version for release (pre) (#8985)77b1e55
Bump router (#8984)df59cc6
Merge branch 'release-next' into dev2df7a35
chore: Update version for release (#8938)9646688
chore: Update version for release (pre) (#8937)52d96cd
Bump router (#8936)Updates
@remix-run/serve
from 2.4.1 to 2.8.1Release notes
Sourced from
@remix-run/serve
's releases.Changelog
Sourced from
@remix-run/serve
's changelog.... (truncated)
Commits
1eb5fba
chore: Update version for release (#9012)c735f50
chore: Update version for release (pre) (#9011)af1ccaf
chore: Update version for release (pre) (#8985)2df7a35
chore: Update version for release (#8938)9646688
chore: Update version for release (pre) (#8937)6affc40
chore: Update version for release (pre) (#8930)71b83b4
chore: Update version for release (pre) (#8907)fe9979c
chore: Update version for release (pre) (#8904)ed69fc1
chore: Update version for release (#8837)4df9d37
chore: Update version for release (#8820)Updates
@vinejs/vine
from 1.7.0 to 1.8.0Release notes
Sourced from
@vinejs/vine
's releases.Commits
6c56904
chore(release): 1.8.0893d378
feat: implement requiredIf rules (#42)81beff7
chore: update dependencies21ac492
docs: update benchmarks (#40)d2a03a3
fix: typo on 'Symbol.for('schema_nme') (#36)ef50170
Merge pull request #39 from nakrovati/fix-lolo32-pr200bb39
fix: add joi & ajv to devDeps63c49e2
Merge branch 'develop' into fix-lolo32-prf94d274
Merge pull request #33 from nakrovati/develop02ff0a5
chore(benchmarks): add valibotUpdates
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.2.3Release notes
Sourced from
@adonisjs/assembler
's releases.Looks like these dependencies are updatable in another way, so this is no longer needed.