Elliot DeNolf
45d20643df
chore(release): v3.6.0 [skip ci]
2024-12-11 13:05:47 -05:00
Elliot DeNolf
ff62017cf2
chore(release): v3.5.0 [skip ci]
2024-12-06 14:58:41 -05:00
Alessio Gravili
8f3f44922e
feat: upgrade to React 19 stable and Next.js 15.0.4 ( #9801 )
...
No need for those ugly @types/react overrides anymore!
2024-12-06 14:53:36 -05:00
Elliot DeNolf
0ca473e6ca
chore(release): v3.4.0 [skip ci]
2024-12-04 10:32:41 -05:00
Elliot DeNolf
a6ba9e3a41
chore(release): v3.3.0 [skip ci]
2024-12-03 12:53:42 -05:00
Alessio Gravili
24c75b09c0
fix(ui): upgrade sonner from 1.5.0 to 1.7.0 ( #9666 )
...
This fixes React 19 peer dependency warnings for sonner
2024-12-02 18:08:22 +00:00
Alessio Gravili
877b89962e
chore: upgrade all dependencies used to build payload (swc, esbuild, react compiler, babel) ( #9658 )
2024-12-02 09:07:48 -07:00
Alessio Gravili
71ba4a8bce
chore: upgrade all react and next-related packages ( #9655 )
...
This PR updates all react and next-related packages to the latest
version in our test directory and in our templates, while still allowing
older versions to be used.
Additionally, this ensures that the "scheduler" package version we
install matches the version installed by react-dom
2024-12-02 00:48:39 -07:00
Elliot DeNolf
07e40d37ac
chore(release): v3.2.2 [skip ci]
2024-11-29 12:59:59 -05:00
Elliot DeNolf
be59d52ac7
chore(release): v3.2.1 [skip ci]
2024-11-26 22:29:29 -05:00
Elliot DeNolf
c8bee29920
chore(release): v3.2.0 [skip ci]
2024-11-26 20:39:41 -05:00
Elliot DeNolf
058bd02ebd
chore(release): v3.1.1 [skip ci]
2024-11-25 16:42:21 -05:00
Elliot DeNolf
65ac739da9
chore(release): v3.1.0 [skip ci]
2024-11-22 11:54:08 -05:00
Elliot DeNolf
025d917fa0
chore(release): v3.0.2 [skip ci]
2024-11-20 16:06:04 -05:00
Elliot DeNolf
9ea26638e9
chore(release): v3.0.1 [skip ci]
2024-11-19 14:33:41 -05:00
Elliot DeNolf
6407e577d3
chore(release): v3.0.0 [skip ci]
2024-11-18 20:10:16 -05:00
Elliot DeNolf
fade739f77
chore(release): v3.0.0-beta.135 [skip ci]
2024-11-18 19:19:55 -05:00
Elliot DeNolf
cb6ceaec76
chore(release): v3.0.0-beta.134 [skip ci]
2024-11-17 11:43:43 -05:00
James Mikrut
31b32ef941
feat: deprecates getPayloadHMR in favor of simpler getPayload ( #9249 )
...
Deprecates `getPayloadHMR` and simplifies this pattern into a single
`import { getPayload } from 'payload'`.
We will still retain the exported `getPayloadHMR` but it now will throw
a deprecation warning with instructions for how to migrate.
2024-11-16 15:30:05 -05:00
Elliot DeNolf
457be31ed2
chore(release): v3.0.0-beta.133 [skip ci]
2024-11-16 13:59:41 -05:00
Elliot DeNolf
ff8e7bb968
chore(release): v3.0.0-beta.132 [skip ci]
2024-11-15 18:13:02 -05:00
Elliot DeNolf
90686fa50a
chore(release): v3.0.0-beta.131 [skip ci]
2024-11-15 15:34:50 -05:00
Elliot DeNolf
6baff8a3ba
chore(release): v3.0.0-beta.130 [skip ci]
2024-11-13 14:18:00 -05:00
Elliot DeNolf
8c2fc71149
chore(release): v3.0.0-beta.129 [skip ci]
2024-11-12 17:07:25 -05:00
Elliot DeNolf
d3cd9baa9b
chore(release): v3.0.0-beta.128 [skip ci]
2024-11-12 15:52:52 -05:00
Alessio Gravili
4f6651433c
chore: ensure all packages have consistent licenses and package.json metadata ( #9079 )
2024-11-12 10:27:36 -05:00
Alessio Gravili
03291472d6
chore: bump all eslint dependencies, run lint and prettier ( #9128 )
...
This fixes a peer dependency error in our monorepo, as
eslint-plugin-jsx-a11y finally supports eslint v9.
Additionally, this officially adds TypeScript 5.6 support for
typescript-eslint.
2024-11-12 10:18:22 -05:00
Elliot DeNolf
0c19afcf91
chore(release): v3.0.0-beta.127 [skip ci]
2024-11-11 09:56:14 -05:00
Elliot DeNolf
f878e35cc7
chore(release): v3.0.0-beta.126 [skip ci]
2024-11-06 16:23:57 -05:00
Elliot DeNolf
8a5f6f044d
chore(release): v3.0.0-beta.125 [skip ci]
2024-11-06 10:24:31 -05:00
Elliot DeNolf
e390835711
chore(release): v3.0.0-beta.124 [skip ci]
2024-11-04 14:47:38 -05:00
Elliot DeNolf
c33791d1f8
chore(release): v3.0.0-beta.123 [skip ci]
2024-10-31 16:10:52 -04:00
Elliot DeNolf
d192f1414d
chore(release): v3.0.0-beta.122 [skip ci]
2024-10-30 21:02:15 -04:00
Elliot DeNolf
d89db00295
chore(release): v3.0.0-beta.121 [skip ci]
2024-10-30 14:25:34 -04:00
Elliot DeNolf
43fcccab93
chore(release): v3.0.0-beta.120 [skip ci]
2024-10-28 22:08:50 -04:00
Elliot DeNolf
6c2eecc47e
chore(release): v3.0.0-beta.119 [skip ci]
2024-10-25 16:11:53 -04:00
Elliot DeNolf
b482da63c6
chore(release): v3.0.0-beta.118 [skip ci]
2024-10-23 22:07:05 -04:00
Elliot DeNolf
69125504af
chore(release): v3.0.0-beta.117 [skip ci]
2024-10-22 09:33:50 -04:00
Elliot DeNolf
74266bdd9a
feat!: bump next.js to 15.0.0 ( #8825 )
...
Bump Next.js to 15.0.0
2024-10-21 23:12:22 -04:00
Elliot DeNolf
7136515f8d
chore(release): v3.0.0-beta.116 [skip ci]
2024-10-17 09:05:45 -04:00
Elliot DeNolf
0fb92d3a0a
chore(release): v3.0.0-beta.115 [skip ci]
2024-10-16 14:20:27 -04:00
Elliot DeNolf
85e87c15fa
chore(release): v3.0.0-beta.114 [skip ci]
2024-10-15 09:51:54 -04:00
Elliot DeNolf
067d353cdd
chore(release): v3.0.0-beta.113 [skip ci]
2024-10-10 16:42:05 -04:00
Paul
d0a5560629
fix: commonjs exports missing for withPayload ( #8643 )
...
Closes https://github.com/payloadcms/payload/issues/8635
`withPayload.cjs` is now correctly named in the exports
The final exports in package.json looks like this
```
"./withPayload": {
"import": "./dist/withPayload.js",
"require": "./dist/cjs/withPayload.cjs",
"default": "./dist/withPayload.js"
},
```
You can now use withPayload with require inside `next.config.js` files
```
const { withPayload } = require('@payloadcms/next/withPayload')
const nextConfig = {
// Your Next.js config here
experimental: {
reactCompiler: false,
},
}
module.exports = withPayload(nextConfig)
```
2024-10-10 15:25:17 -04:00
Elliot DeNolf
39825dfce5
chore(release): v3.0.0-beta.112 [skip ci]
2024-10-09 09:56:36 -04:00
Elliot DeNolf
e4a413eb9a
chore(release): v3.0.0-beta.111 [skip ci]
2024-10-04 11:31:06 -07:00
Jacob Fletcher
ca90d2b1c9
fix: properly resolves cjs withPayload export ( #8521 )
...
Importing `withPayload` as CommonJS using `require` does not properly
resolve. This was because the exported file path was using the `.cjs`
extension instead of `.js`.
2024-10-02 12:38:49 -04:00
Sasha
fa59d4c0b2
feat!: update next@15.0.0-canary.173, react@19.0.0-rc-3edc000d-20240926 ( #8489 )
...
Updates the minimal supported versions of next.js to
[`15.0.0-canary.173`](https://github.com/vercel/next.js/releases/tag/v15.0.0-canary.173 )
and react to `19.0.0-rc-3edc000d-20240926`.
Adds neccessary awaits according to this breaking change
https://github.com/vercel/next.js/pull/68812
## Breaking Changes
The `params` and `searchParams` types in
`app/(payload)/admin/[[...segments]]/page.tsx` and
`app/(payload)/admin/[[...segments]]/not-found.tsx` must be changed to
promises:
```diff
- type Args = {
- params: {
- segments: string[]
- }
- searchParams: {
- [key: string]: string | string[]
- }
- }
+ type Args = {
+ params: Promise<{
+ segments: string[]
+ }>
+ searchParams: Promise<{
+ [key: string]: string | string[]
+ }>
+ }
```
2024-10-01 13:16:11 -04:00
Elliot DeNolf
96d99cb361
chore(release): v3.0.0-beta.110 [skip ci]
2024-09-30 13:19:32 -04:00
Elliot DeNolf
e900e8974b
chore(release): v3.0.0-beta.109 [skip ci]
2024-09-26 14:00:43 -04:00