npm @redwoodjs/core 4.1.0
v4.1.0

latest releases: 9.0.0-canary.239, 9.0.0-canary.237, 9.0.0-canary.236...
21 months ago

Experimental Vite Support, SuperTokens, and Redwood-version Notifications

Experimental Vite Support

Note

This feature is experimental and will not follow SemVer.

This release features experimental support for using Vite as a bundler instead of Webpack:

yarn rw setup vite

See the announcement over on the forums: https://community.redwoodjs.com/t/guide-experimental-vite-support-in-redwood-v4-1-rc/4466.

SuperTokens

You can now setup SuperTokens as an auth provider:

yarn rw setup auth supertokens

Follow the walkthrough here: https://redwoodjs.com/docs/auth/supertokens.

Redwood-version Notifications

You can now opt in to receiving version updates for the version you're on. Add the following to your redwood.toml file:

[notifications]
  versionUpdates = ['latest']

You can opt into receiving updates for "canary", "next", and "rc" as well:

[notifications]
  versionUpdates = ['latest', 'canary', 'next', 'rc']

Changelog

Features

  • feat(vite): Add ability to switch Webpack for Vite on the web side #6967 by @dac09
  • feat(dev): Enable restarting vite and typgen by typing "rs" #7460 by @dac09
  • add skipLibCheck to web tsconfig #7498, add skipLibCheck to api tsconfig #7499 by @dennemark
  • Enable yarn rw setup auth supertokens #7519 by @Tobbe
  • feat: add toml option for upgrade checks #7162 by @jtoar
  • feat(cli): Additional post upgrade messages #7529 by @Josh-Walker-GM

Fixed

  • Separate setup vite handler, install canary version of @redwoodjs/vite #7294 by @jtoar
  • fix(vite): Fix typo in setup process #7311 by @dac09
  • fix(vite): Use process.env for env vars, Swap CommonJS plugin #7339 by @dac09
  • SuperTokens: Update to work with v0.30 #7490 by @Tobbe
  • Fix SuperTokens setup web template #7526 by @Tobbe
  • fix(vite): Fix Vite entry point on windows #7554 by @dac09
  • fix(auth): handle CRLFs in yarn rw setup auth #7560 by @jtoar
  • Fix validation types and tests #7565 by @taivo
  • fix(vite): A few fixes for vite #7576 by @dac09
  • fix(clerk): check if we're prerendering in Clerk client getter #7551 by @jtoar

Docs

Chore

  • chore(vite): Small tweaks to Vite package #7322 by @dac09
  • feat(vite): Switch build and dev to call Vite programatically #7384 by @dac09
  • Revert part of "Fix premajor canary publishing when there's a major RC (#7320)" #7510 by @jtoar
  • chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs #7539 by @dependabot
  • chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /fixtures/example-todo-main #7540 by @dependabot
  • chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 #7541 by @dependabot
  • feat(telemetry): Capture bundler flag #7536 by @dac09
  • Set.tsx: Improve code comments #7577 by @Tobbe

Core dependencies

  • chore(deps): update yarn to v3.4.1 #7530

Dependencies

Click to see all upgraded dependencies
  • fix(deps): update dependency vite to v4.0.4 #7306
  • fix(deps): update dependency @vitejs/plugin-react to v3.0.1 #7301
  • fix(deps): update dependency @whatwg-node/fetch to v0.6.5 #7507
  • chore(deps): update dependency typescript to v4.9.5 #7509
  • chore(deps): update dependency redis to v4.6.4 #7506
  • chore(deps): update dependency @nrwl/nx-cloud to v15.0.3 #7508
  • chore(deps): update dependency @tsd/typescript to v4.9.5 #7512
  • chore(deps): update dependency @types/yargs to v17.0.21 #7513
  • fix(deps): update dependency graphql-yoga to v3.4.1 #7515
  • chore(deps): update dependency @types/yargs to v17.0.22 #7514
  • fix(deps): update typescript-eslint monorepo to v5.50.0 #7516
  • chore(deps): update dependency cypress to v12.5.0 #7521
  • fix(deps): update dependency graphql-yoga to v3.5.1 #7531
  • chore(deps): update dependency @clerk/clerk-react to v4.10.0 #7533
  • fix(deps): update graphql-tools monorepo #7534
  • chore(deps): update dependency @clerk/types to v3.25.1 #7532
  • chore(deps): update dependency @npmcli/arborist to v6.2.1 #7535
  • fix(deps): update dependency vite to v4.1.1 #7543
  • fix(deps): update dependency @vitejs/plugin-react to v3.1.0 #7542
  • chore(deps): update dependency @types/vscode to v1.74.1 #7548
  • chore(deps): update dependency @replayio/playwright to v0.3.17 #7546
  • chore(deps): update yarn to v3.4.1 #7530
  • fix(deps): update dependency @babel/parser to v7.20.15 #7550
  • chore(deps): update dependency cypress to v12.5.1 #7549
  • fix(deps): update dependency @clerk/clerk-sdk-node to v4.6.6 #7552
  • chore(deps): update dependency firebase to v9.17.0 #7553
  • fix(deps): update dependency @whatwg-node/fetch to v0.6.6 #7559
  • fix(deps): update docusaurus monorepo to v2.3.0 #7475
  • fix(deps): update graphqlcodegenerator monorepo (major) #7555
  • chore(deps): update dependency firebase to v9.17.1 #7561
  • chore(deps): update dependency @types/vscode to v1.75.0 #7562
  • fix(deps): update dependency pino to v8.9.0 #7570
  • fix(deps): update graphql-tools monorepo #7571
  • fix(deps): update dependency @types/node to v16.18.12 #7566
  • fix(deps): update dependency @whatwg-node/fetch to v0.7.0 #7567
  • chore(deps): update dependency @replayio/playwright to v0.3.18 #7579
  • chore(deps): update dependency @npmcli/arborist to v6.2.2 #7578
  • chore(deps): update dependency esbuild to v0.17.6 #7580
  • fix(deps): update jest monorepo to v29.4.2 #7581
  • chore(deps): update dependency @clerk/types to v3.26.1 #7586
  • fix(deps): update dependency prettier to v2.8.4 #7582
  • chore(deps): update dependency @azure/msal-browser to v2.33.0 #7583

Don't miss a new core release

NewReleases is sending notifications on new releases.