Alessio Gravili
59cde0dbb3
feat: match next.js env file loading behavior in bin scripts & importConfig, clean up installed packages & mismatching package versions ( #6601 )
2024-06-03 21:23:05 +00:00
Alessio Gravili
f41bb05c70
feat(richtext-lexical)!: configurable fixed toolbar ( #6560 )
...
**BREAKING**: useEditorFocusProvider has been removed and merged with
useEditorConfigContext. You can now find information about the focused
editor, parent editors and child editors within useEditorConfigContext
2024-05-30 20:08:22 +00:00
Elliot DeNolf
4884f0d297
fix(cpa): safer command exists check ( #6569 )
...
- Use execa to check if command exists
- Remove third-party dep
2024-05-30 11:11:40 -04:00
Elliot DeNolf
8506385ef9
fix(cpa): improve package manager detection ( #6546 )
...
Improves package manager detection.
Closes #6231
2024-05-29 09:30:15 -04:00
Alessio Gravili
33d53121a2
feat(richtext-lexical): link markdown transformers ( #6543 )
...
Closes https://github.com/payloadcms/payload/issues/6507
---------
Co-authored-by: ShawnVogt <41651465+shawnvogt@users.noreply.github.com >
2024-05-29 03:28:26 +00:00
Elliot DeNolf
0b274dd67e
chore: adjust email-nodemailer workspace dep pattern ( #6539 )
...
Adjust dep pattern for email-nodemailer reference from plugin-cloud
2024-05-28 14:19:21 -04:00
Elliot DeNolf
2ddd50edc4
fix(deps): proper location for scheduler peer dep ( #6537 )
...
Properly put `scheduler` dep under `ui` instead of `payload`.
2024-05-28 14:15:56 -04:00
Alessio Gravili
ea48ca377e
chore: move lexical package from workspace-root to test package ( #6533 )
2024-05-28 15:01:30 +00:00
Alessio Gravili
96181d91a6
chore(ui): add ability to compile using react compiler ( #6483 )
...
This does not enable the react compiler by default
2024-05-27 22:54:36 -04:00
Alessio Gravili
35f961fecb
feat!: next.js 15, react 19, react compiler support ( #6429 )
...
**BREAKING:**
- bumps minimum required next.js version from `14.3.0-canary.68` to
`15.0.0-rc.0`
- bumps minimum required react and react-dom versions to `19.0.0
`(`19.0.0-rc-f994737d14-20240522` should be used)
- `@types/react` and `@types/react-dom` have to be bumped to
`npm:types-react@19.0.0-beta.2` using overrides and pnpm overrides, if
you want correct types. You can find an example of this here:
https://github.com/payloadcms/payload/pull/6429/files#diff-10cb9e57a77733f174ee2888587281e94c31f79e434aa3f932a8ec72fa7a5121L32
## Issues
- Bunch of todos for our react-select package which is having type
issues. Works fine, just type issues. Their type defs are importing JSX
in a weird way, we likely just have to wait until they fix them in a
future update.
2024-05-23 13:30:12 -04:00
Elliot DeNolf
73d0b209d7
fix: isHotkey webpack error ( #6466 )
...
Fixes webpack issue with isHotkey: `TypeError:
is_hotkey__WEBPACK_IMPORTED_MODULE_9__ is not a function`
Changing this from a default import to a named export, and it appears to
resolve the issue.
Fixes #6421
2024-05-22 17:41:15 +00:00
Dan Ribbens
12c812d379
fix(db-postgres): query with like on id columns ( #6414 )
...
When typing into the search input on the list view of a collection, the
`like` operator is used for id which causes an error for postgres. To
fix this we are sanitizing the `like` for number or uuid fields to
instead be an `equals` operator. An alternate solution would have been
to cast the ids to text `id::text` but this would have performence
implications on larger data sets.
---------
Co-authored-by: James <james@trbl.design >
2024-05-17 14:09:44 -04:00
Alessio Gravili
9d5c0d350c
feat!: upgrade minimum next version to 14.3.0-canary.68 & upgrade react packages, react-toastify ( #6387 )
...
**BREAKING:**
- The minimum required next version is now 14.3.0-canary.68. This is
because we are migrating away from the deprecated
experimental.serverComponentsExternalPackages next config key to
experimental.serverExternalPackages, which is not available in older
next canaries
- The minimum `react` and `react-dom` versions have been bumped to
^18.2.0 or ^19.0.0. This matches the minimum react version recommended
by next
2024-05-17 12:48:37 -04:00
James Mikrut
5083525189
fix: loader support for server-only ( #6383 )
...
## Description
Allows `server-only` to work within the Payload loader.
Fixes https://github.com/payloadcms/payload-3.0-demo/issues/218
2024-05-17 09:07:18 -04:00
Jacob Fletcher
9556d1bd42
feat!: replaces admin.meta.ogImage with admin.meta.openGraph.images ( #6227 )
2024-05-16 12:40:15 -04:00
Paul
a6bf05815c
chore!: remove unused staticOptions config on uploads ( #6378 )
...
Removes the unused `staticOptions` on upload config, it was previously
typed to express configuration and is unused anywhere in the codebase
2024-05-16 15:15:35 +00:00
Alessio Gravili
eed9676536
chore(richtext-lexical): add @lexical/eslint-plugin eslint plugin and fix all eslint errors & warnings
2024-05-15 12:41:10 -04:00
Alessio Gravili
22480a7648
feat(richtext-lexical)!: upgrade lexical from 0.14.5 to 0.15.0 and ensure peerDependencies force correct lexical version
2024-05-15 12:22:26 -04:00
Alessio Gravili
ea90018979
chore: auto-translation script for v3, and translate all missing translation keys ( #6361 )
2024-05-15 13:54:25 +00:00
Jacob Fletcher
ef5197a514
Merge branch 'beta' into feat/next-icons
2024-05-14 09:30:01 -04:00
Jacob Fletcher
7438812db3
feat!: replaces admin.favicon with admin.icons
2024-05-14 08:56:21 -04:00
Elliot DeNolf
40d3078bf2
feat(cpa): initialize git repo on project creation ( #6342 )
2024-05-13 14:59:39 -04:00
Elliot DeNolf
ed880d5018
feat: storage-uploadthing package ( #6316 )
...
Co-authored-by: James <james@trbl.design >
2024-05-10 17:05:35 -04:00
Patrik
4aeefc5a1a
feat: adds plugin-relationship-object-ids package ( #6045 )
2024-05-10 09:31:25 -04:00
Elliot DeNolf
848c05f247
chore(deps): sync pnpm-lock.yaml
2024-05-08 14:37:48 -04:00
Elliot DeNolf
9c13089a2f
chore: add dotenv to test dir [skip ci]
2024-05-03 13:42:01 -04:00
Jarrod Flesch
bdf08a19d1
fix: moves ts-essentials to prod deps ( #6187 )
2024-05-02 16:37:05 -04:00
Elliot DeNolf
b05a5e1fb6
chore(deps): bump turborepo
2024-05-02 15:57:18 -04:00
Paul
75a95469b2
feat(plugin-stripe): update plugin stripe for v3 ( #6019 )
2024-05-02 16:19:27 -03:00
Jarrod Flesch
c0ae287d46
fix: reset password validations ( #6153 )
...
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
Co-authored-by: James <james@trbl.design >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2024-05-02 15:08:47 -04:00
Elliot DeNolf
1c490aee42
fix(deps): move file-type to deps ( #6171 )
2024-05-01 12:20:45 -04:00
Elliot DeNolf
c6132df866
chore: rename resend package ( #6168 )
2024-05-01 12:02:40 -04:00
Elliot DeNolf
17bee6a145
ci: reworks changelog and release notes generation ( #6164 )
2024-04-30 23:50:49 -04:00
Elliot DeNolf
45b3f06e1b
chore: implement better tsconfig reset mechanism
2024-04-29 23:23:09 -04:00
Elliot DeNolf
3d50caf985
feat: implement resend rest email adapter ( #5916 )
2024-04-29 22:06:53 -04:00
Alessio Gravili
bae0c2df5f
fix(richtext-lexical): add missing uuid dependency
2024-04-28 19:26:25 -04:00
Alessio Gravili
c00babf9b3
chore(richtext-lexical): upgrade all lexical dependencies from 0.13.1 to 0.14.5
2024-04-28 17:52:11 -04:00
Alessio Gravili
943681ae3c
chore: upgrade typescript from 5.4.4 to 5.4.5 ( #6093 )
2024-04-28 17:46:41 -04:00
Jacob Fletcher
a4e8795666
fix(deps): dedupes react ( #6064 )
2024-04-26 13:22:12 -04:00
Elliot DeNolf
df77152851
chore: add sort-package-json, sort all package.json files
2024-04-25 22:19:37 -04:00
Elliot DeNolf
937202b27c
fix(deps): remove monorepo deps
2024-04-25 22:12:44 -04:00
Paul
24b18fb0fd
feat!: removed getDataAndFile and getLocales from createPayloadRequest in favour of new utilities addDataAndFileToRequest and addLocalesToRequest ( #5999 )
2024-04-24 13:31:54 -03:00
Elliot DeNolf
899faa62f1
chore: update pnpm-lock
2024-04-23 17:01:57 -04:00
Jarrod Flesch
74bdf1c681
chore: reduces graphql dependencies ( #5979 )
...
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
2024-04-23 15:00:09 -04:00
Elliot DeNolf
dbbcb658a9
fix(deps): proper deps for storage-s3 and storage-vercel-blob ( #5975 )
2024-04-23 13:17:00 -04:00
Elliot DeNolf
c23984cac3
feat(plugin-cloud-storage): implement storage packages ( #5928 )
2024-04-22 14:31:20 -04:00
Elliot DeNolf
6685a0fa7e
feat!: email adapter ( #5901 )
2024-04-22 14:26:12 -04:00
Elliot DeNolf
102feb9576
chore: updates telemetry ( #5883 )
2024-04-22 09:44:34 -04:00
Dan Ribbens
d987e5628a
feat(live-preview-vue): new live-preview-vue package ( #5933 )
...
Co-authored-by: Christian Gil <mrcgam.christian@gmail.com >
2024-04-20 07:52:00 -04:00
Kendell Joseph
3af3a91c87
feat: json field schemas ( #5898 )
2024-04-19 13:35:59 -04:00