Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redwoodjs/redwood
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.5.0
Choose a base ref
...
head repository: redwoodjs/redwood
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.6.0
Choose a head ref
Loading
Showing 350 changed files with 54,493 additions and 3,734 deletions.
4 changes: 4 additions & 0 deletions .changesets/11946.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- feat(scripts): Args type for script arguments (#11946) by @Tobbe

Generated scripts will now come with an `Args` interface that you can add your
arguments to for better TS support.
7 changes: 7 additions & 0 deletions .changesets/11981.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- deps(@babel/core): Bump to 7.26.10 (#11981) by @Tobbe

Changes since the last version:

https://github.com/babel/babel/pull/17142
https://github.com/babel/babel/pull/17127
https://github.com/babel/babel/pull/17052
7 changes: 7 additions & 0 deletions .changesets/11985.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- deps(babel): @babel/runtime-corejs3 7.26.10 (#11985) by @Tobbe

Changes since last version:

https://github.com/babel/babel/pull/17173
https://github.com/babel/babel/pull/17086
https://github.com/babel/babel/pull/16794
13 changes: 13 additions & 0 deletions .changesets/11988.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- deps(babel): Bump presets and plugins to their latest versions (#11988) by @Tobbe

Here are PRs that introduce new features in the plugins we use

https://github.com/babel/babel/pull/16850
https://github.com/babel/babel/pull/16794
https://github.com/babel/babel/pull/16692
https://github.com/babel/babel/pull/16569
https://github.com/babel/babel/pull/16658
https://github.com/babel/babel/pull/16445
https://github.com/babel/babel/pull/16267
https://github.com/babel/babel/pull/16242
https://github.com/babel/babel/pull/16241
7 changes: 7 additions & 0 deletions .changesets/11989.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- deps(babel): Bump @babel parser, register and traverse (#11989) by @Tobbe

babel PRs with features connected to the bumped version in this PR:

https://github.com/babel/babel/pull/16649

Other than that one there has only been bug fixes and performance updates or other internal changes
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -850,7 +850,7 @@ jobs:
PROJECT_PATH: ${{ env.PROJECT_PATH }}

- name: ⬢ Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
with:
node-version: 18

@@ -861,7 +861,7 @@ jobs:
PROJECT_PATH: ${{ env.PROJECT_PATH }}

- name: ⬢ Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
with:
node-version: 21

6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
@@ -61,7 +61,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
uses: github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -75,4 +75,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
2 changes: 1 addition & 1 deletion .github/workflows/publish-release-candidate.yml
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ jobs:
run: corepack enable

- name: ⬢ Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
with:
node-version: 20

2 changes: 1 addition & 1 deletion .github/workflows/require-milestone.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: ⬢ Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
with:
node-version: 20

2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -68,6 +68,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: 'Upload to code-scanning'
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
with:
sarif_file: results.sarif
6 changes: 3 additions & 3 deletions __fixtures__/test-project/api/package.json
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@
"version": "0.0.0",
"private": true,
"dependencies": {
"@redwoodjs/api": "8.5.0",
"@redwoodjs/auth-dbauth-api": "8.5.0",
"@redwoodjs/graphql-server": "8.5.0"
"@redwoodjs/api": "8.6.0",
"@redwoodjs/auth-dbauth-api": "8.6.0",
"@redwoodjs/graphql-server": "8.6.0"
}
}
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ export const standard = defineScenario<Prisma.PostCreateArgs>({
body: 'String',
author: {
create: {
email: 'String12',
email: 'String13',
hashedPassword: 'String',
fullName: 'String',
salt: 'String',
@@ -24,7 +24,7 @@ export const standard = defineScenario<Prisma.PostCreateArgs>({
body: 'String',
author: {
create: {
email: 'String26',
email: 'String27',
hashedPassword: 'String',
fullName: 'String',
salt: 'String',
Original file line number Diff line number Diff line change
@@ -6,15 +6,15 @@ export const standard = defineScenario<Prisma.UserCreateArgs>({
user: {
one: {
data: {
email: 'String8',
email: 'String9',
hashedPassword: 'String',
fullName: 'String',
salt: 'String',
},
},
two: {
data: {
email: 'String16',
email: 'String17',
hashedPassword: 'String',
fullName: 'String',
salt: 'String',
6 changes: 3 additions & 3 deletions __fixtures__/test-project/package.json
Original file line number Diff line number Diff line change
@@ -7,8 +7,8 @@
]
},
"devDependencies": {
"@redwoodjs/core": "8.5.0",
"@redwoodjs/project-config": "8.5.0"
"@redwoodjs/core": "8.6.0",
"@redwoodjs/project-config": "8.6.0"
},
"eslintConfig": {
"extends": "@redwoodjs/eslint-config",
@@ -22,6 +22,6 @@
},
"packageManager": "yarn@4.6.0",
"resolutions": {
"@storybook/react-dom-shim@npm:7.6.17": "https://verdaccio.tobbe.dev/@storybook/react-dom-shim/-/react-dom-shim-8.0.8.tgz"
"@storybook/react-dom-shim@npm:7.6.20": "https://verdaccio.tobbe.dev/@storybook/react-dom-shim/-/react-dom-shim-8.0.8.tgz"
}
}
12 changes: 6 additions & 6 deletions __fixtures__/test-project/web/package.json
Original file line number Diff line number Diff line change
@@ -11,20 +11,20 @@
]
},
"dependencies": {
"@redwoodjs/auth-dbauth-web": "8.5.0",
"@redwoodjs/forms": "8.5.0",
"@redwoodjs/router": "8.5.0",
"@redwoodjs/web": "8.5.0",
"@redwoodjs/auth-dbauth-web": "8.6.0",
"@redwoodjs/forms": "8.6.0",
"@redwoodjs/router": "8.6.0",
"@redwoodjs/web": "8.6.0",
"humanize-string": "2.1.0",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@redwoodjs/vite": "8.5.0",
"@redwoodjs/vite": "8.6.0",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"autoprefixer": "^10.4.20",
"postcss": "^8.5.1",
"postcss": "^8.5.3",
"postcss-loader": "^8.1.1",
"prettier-plugin-tailwindcss": "^0.5.12",
"tailwindcss": "^3.4.17"
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -145,6 +145,9 @@ module.exports = {
},
],
// Ignore test directories when we're not testing
// Note: No matter what you try to do here, babel will still include
// snapshot files in the dist output.
// See https://github.com/babel/babel/issues/11394
ignore:
process.env.NODE_ENV === 'test'
? []
2 changes: 1 addition & 1 deletion docs/docs/contributing-overview.md
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ Love Redwood and want to get involved? You’re in the right place and in good c

There are several ways you can contribute to Redwood:

- join the [community Forums](https://community.redwoodjs.com/) and [Discord server](https://discord.gg/jjSYEQd) — encourage and help others 🙌
- join the [community Forums](https://community.redwoodjs.com/) and [Discord server](https://discord.com/invite/redwoodjs) — encourage and help others 🙌
- [triage issues on the repo](https://github.com/redwoodjs/redwood/issues) and [review PRs](https://github.com/redwoodjs/redwood/pulls) 🩺
- write and edit [docs](#contributing-docs) ✍️
- and of course, write code! 👩‍💻
2 changes: 1 addition & 1 deletion docs/docs/graphql.md
Original file line number Diff line number Diff line change
@@ -1635,7 +1635,7 @@ The [GraphQL Playground](https://www.graphql-yoga.com/docs/features/graphiql) is
> Because both introspection and the playground share possibly sensitive information about your data model, your data, your queries and mutations, best practices for deploying a GraphQL Server call to disable these in production, RedwoodJS **, by default, only enables introspection and the playground when running in development**. That is when `process.env.NODE_ENV === 'development'`.
However, there may be cases where you want to enable introspection as well as the GraphQL PLaygrouns. You can enable introspection by setting the `allowIntrospection` option to `true` and enable GraphiQL by setting `allowGraphiQL` to `true`.
However, there may be cases where you want to enable introspection as well as the GraphQL Playground. You can enable introspection by setting the `allowIntrospection` option to `true` and enable GraphiQL by setting `allowGraphiQL` to `true`.
Here is an example of `createGraphQLHandler` function with the `allowIntrospection` and `allowGraphiQL` options set to `true`:
Loading