fix(deps): update @redwoodjs packages to v6.4.0 #4262
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.3.3
->6.4.0
6.3.3
->6.4.0
6.3.3
->6.4.0
6.3.3
->6.4.0
6.3.3
->6.4.0
6.3.3
->6.4.0
6.3.3
->6.4.0
Release Notes
redwoodjs/redwood (@redwoodjs/api)
v6.4.0
Compare Source
Changelog
Features
dbAuth: Unique session cookie name per port #9248 by @Tobbe
Previously, when using dbAuth, you couldn't run two different Redwood apps at the same time on different ports. One app would overwrite the session cookie used by the other, and vice versa. They both used the same cookie name (
session
), and browsers distinguish cookies by hostname, not port.This PR lets users configure the cookie name they want to use by setting
cookie.name
in theirapi/src/functions/auth.ts
file:If that option isn't set, it defaults to the old name (
session
) for backwards compatibility. In a similar vein,DbAuthHandler
still handles all the properties that are now nested incookie.attributes
at the top level.<PrivateSet>
#9303 by @TobbeFixes #2562, #9304, and https://community.redwoodjs.com/t/private-route-error-with-7-0-0-canary-347/5337. This PR deprecates the Router's
<Private>
component and theprivate
prop on the Router's<Set>
component. In their place, it introduces a new Router component,<PrivateSet>
.Starting in this release, you'll see strikethroughs in your IDE when you use
<Private>
or theprivate
prop on<Set>
. They still work just as they did, but they'll be removed in a future major release, and<PrivateSet>
is little more than a new name. The reason for the change is that in strict mode,private
is a reserved word and there were just some bugs we couldn't fix without changing the name.feat(cli): Setup command for mailer #9335 by @Josh-Walker-GM
This PR adds a setup command for the mailer:
and adds functionality that enables it to conditionally use an in-memory handler for tests and the studio handler for development if those dependencies are available.
Check out the mailer docs for more: https://redwoodjs.com/docs/mailer.
Fixes
Fix infinite loops on nested private routes with roles #9204 by @KrisCoulson
Fixes #9131. This restores the Router's ability to handle multiple nested routes with different levels of authentication and redirect contexts.
fix(types): Generate maps to allow improved "go to definition" behaviour #9269 by @Josh-Walker-GM
Fixes #5862 and #2867. Previously, navigating to the definition of cells, components, layouts, pages, etc. would lead to the
.d.ts
file. This could be pretty frustrating if you're used to flying between definitions. This PR generates basic definition/source mappings for directory-mapped modules, cell mirrors, router pages, and route links.Fix Set wrapper type so you can have an array of wrappers #9314 by @Tobbe
Fixes #9313. This PR lets you do something like this in your
web/src/Routes.tsx
without type errors (notice the array of wrappers):Don't remount wrap components when navigating within Set #9312 by @Tobbe
Fixes #9105. This PR assigns each Set a unique id and uses that id as a key when rendering all the wrapper components.
preview stats when building storybook for Chromatic "TurboSnap" #9462 by @majimaccho
yarn rw storybook --build
didn't generate apreview-stats.json
required for Chromatic's TurboSnap feature.Core Dependencies
Docs
await
in service validation example #9243 by @G-RathExperimental features
feat: add experimental docker setup command #9024 by @jtoar
This release features the first iteration of Redwood's Dockerfile and compose files. Thanks to everyone who participated in the container working group! Get started with the experimental setup command:
And consult the docs here if you have any questions: https://redwoodjs.com/docs/docker. Feedback welcome!
feat: Support GraphQL Subscriptions in Apollo Client using SSE links #9009 by @dthyresson
This PR adds support for GraphQL SSE (Server Sent Events) in both Redwood's GraphQL Server and
RedwoodApolloProvider
if realtime is enabled. For more on the status of realtime, see https://community.redwoodjs.com/t/redwoodjs-realtime/5002.feature: Support defer and stream GraphQL Directives in RedwoodRealtime #9235 by @dthyresson
feat(cli-helpers): Root package install and RWJS env var #9296 by @Josh-Walker-GM
This PR adds a few helper functions for installing packages in a Redwood app's root workspace and for setting the
RWJS_CWD
env var correctly.feature: Adds utility functions to add envars and update
redwood.toml
#9324 by @dthyressonDependencies
Click to see all upgraded dependencies
Configuration
📅 Schedule: Branch creation - "before 7am every weekday,every weekend" (UTC), Automerge - "before 7am every weekday" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.