Alessio Gravili
f6adbae0c7
feat: collection, global and field props for hooks, fix request context initialization, add context to global hooks ( #3780 )
...
* feat: pass collection, global and field props to collection, global and field hooks - where applicable
* fix: initial request context not set for all operations
* chore: add tests which check the collection prop for collection hooks
* feat: add context to props of global hooks
* chore: add global tests for global and field props
* chore: int tests: use JSON instead of object hashes
2023-10-21 11:40:57 +02:00
Jacob Fletcher
67d61df563
fix: standardizes layout of document fields ( #3798 )
2023-10-20 22:22:41 -04:00
Jacob Fletcher
01380bebe5
fix(templates/website): missing env vars ( #3799 )
2023-10-20 18:09:43 -04:00
Elliot DeNolf
5719b1b39a
test: remove declare module from tests
2023-10-20 16:46:14 -04:00
Jarrod Flesch
f259645488
fix: issue where dragging unsortable item would crash the page ( #3789 )
2023-10-20 16:14:08 -04:00
Elliot DeNolf
eec60d5883
chore: rename .eslintrc.cjs -> .js
2023-10-20 15:50:25 -04:00
Elliot DeNolf
d4548d73d5
ci: checkout code for filters to work with non-PRs
2023-10-20 15:14:20 -04:00
Elliot DeNolf
ccc7c51c90
ci: detect code changes by dir, add builds for templates ( #3724 )
...
* ci: add simple website template build
* ci: copy .env.example
* ci: add mongo
* ci: add other templates via matrix
* ci: move templates to separate workflow
* ci: implement paths-filter
* chore: trigger template filter
* chore: refine filters
* chore: adjust needs_build
* chore: undo trigger
2023-10-20 14:57:47 -04:00
Kalon Robson
ec5e35ff71
chore(templates): fix e-commerce template jsx component type error ( #3717 )
2023-10-20 13:37:21 -04:00
Kalon Robson
55b9bf40df
chore(templates): fix website template unused ts-expect-error ( #3652 )
2023-10-20 13:37:02 -04:00
Elliot DeNolf
5282673746
chore(templates): revert unintentional change
2023-10-20 11:58:35 -04:00
Elliot DeNolf
298ca0b7ae
chore(templates): copy yarn.lock in Dockerfile ( #3787 )
2023-10-20 10:52:00 -04:00
Elliot DeNolf
71407e19e2
chore(deps): bump sharp for CVE-2023-4863 ( #3786 )
2023-10-20 10:40:59 -04:00
Jarrod Flesch
09078bdb40
fix(examples): ensure next middleware is built, removes unnecessary alias ( #3771 )
2023-10-20 07:47:07 -04:00
Elliot DeNolf
e84f5ded28
chore: update changelog
2023-10-19 17:34:33 -04:00
Elliot DeNolf
a475b9b28b
chore(release): live-preview-react/0.1.5 [skip ci]
live-preview-react/0.1.5
2023-10-19 16:42:58 -04:00
Elliot DeNolf
baad7d3360
chore(release): live-preview/0.1.5 [skip ci]
live-preview/0.1.5
2023-10-19 16:42:33 -04:00
Jacob Fletcher
7fcb972dfa
fix(live-preview): blocks field ( #3753 )
2023-10-19 16:40:16 -04:00
Elliot DeNolf
01245b07f8
chore(release): richtext-lexical/0.1.14 [skip ci]
richtext-lexical/0.1.14
2023-10-19 16:14:06 -04:00
Elliot DeNolf
d2f45343da
chore(release): db-postgres/0.1.10 [skip ci]
db-postgres/0.1.10
2023-10-19 16:13:55 -04:00
Elliot DeNolf
5ba95df674
chore(release): db-mongodb/1.0.4 [skip ci]
db-mongodb/1.0.4
2023-10-19 16:13:46 -04:00
Elliot DeNolf
40f98e4a0d
chore(release): bundler-webpack/1.0.4 [skip ci]
bundler-webpack/1.0.4
2023-10-19 16:13:39 -04:00
Elliot DeNolf
584ead9fe2
chore(release): bundler-vite/0.1.3 [skip ci]
bundler-vite/0.1.3
2023-10-19 16:13:29 -04:00
Elliot DeNolf
b6bf354f6a
chore(release): payload/2.0.11 [skip ci]
v2.0.11
payload/2.0.11
2023-10-19 16:10:46 -04:00
Elliot DeNolf
9918c2499a
chore(deps): bump sass ( #3768 )
...
* chore(deps): bump sass and sass-loader
* chore: handle sass slash div deprecation
2023-10-19 15:52:39 -04:00
Jarrod Flesch
8c48c8beb5
fix(webpack-bundler): corrects payload alias ( #3769 )
2023-10-19 15:21:39 -04:00
Jacob Fletcher
2697753715
chore(live-preview): significantly improves test coverage ( #3763 )
2023-10-19 14:56:16 -04:00
Jarrod Flesch
4b13686f61
fix: corrects versions collection casing ( #3739 )
2023-10-19 13:08:24 -04:00
Jessica Chowdhury
ab7999d3c1
fix: updates req after file resize ( #3754 )
2023-10-19 12:56:24 -04:00
Jessica Chowdhury
a592188c1d
fix: correctly renders focal point when crop is set to false ( #3759 )
2023-10-19 12:51:13 -04:00
Elliot DeNolf
5ff0846b6c
feat: add ability to opt out of type gen declare statement ( #3765 )
...
* feat: add ability to opt out of type gen declare statement
* chore: docs wording
2023-10-19 12:44:28 -04:00
xHomu
13cabf129e
fix: account for many slug types in generate types ( #3698 )
...
* Fix generate:types bug #3697
generateEntityDeclarations function creates mismatched type names. We'll simply use the existing Config type instead.
* code cleanup
2023-10-19 11:36:26 -04:00
Elliot DeNolf
c173e55b89
fix(bundler-webpack): better node_modules resolution ( #3744 )
...
* fix(bundler-webpack): better node_modules resolution
* chore: see if retries are affecting new webpack changes
* chore: reinstate retries
This reverts commit 96989295ba .
* chore: default to process.cwd() if cannot find node_modules path
2023-10-19 11:28:31 -04:00
Take Weiland
bcdd2d626f
fix: handle graphQL: false on globals when building policy type ( #3729 )
2023-10-19 09:13:51 -04:00
Elliot DeNolf
67682248c8
chore: more master -> main readme renames
2023-10-19 09:08:40 -04:00
Jacob Fletcher
7c52d6ee28
Merge pull request #3745 from payloadcms/fix/misc-admin
...
Fix/misc admin
2023-10-19 09:06:20 -04:00
Elliot DeNolf
bc65b53ce5
chore(release): eslint-config-payload/1.0.0
2023-10-18 21:37:35 -04:00
Elliot DeNolf
c8cc6ea1cc
chore(script): more prompts during publish
2023-10-18 21:29:26 -04:00
Jacob Fletcher
4e05e6fd85
fix(a11y): tab indices
2023-10-18 17:55:55 -04:00
Jacob Fletcher
6988a68eaf
fix: renders id as fallback title in DeleteDocument
2023-10-18 17:55:55 -04:00
Jacob Fletcher
a272692726
chore: refines drawer and blur styles
2023-10-18 17:55:39 -04:00
Dan Ribbens
229e4459cb
fix(db-postgres): block and array inserts error ( #3714 )
...
Co-authored-by: James <james@trbl.design >
2023-10-18 16:53:26 -04:00
Take Weiland
056585ed31
fix: properly handles hideAPIURL ( #3721 )
2023-10-18 16:36:57 -04:00
Elliot DeNolf
b545433ee6
chore(templates): add payload helper npm script
2023-10-18 16:11:58 -04:00
Elliot DeNolf
4c938b5f9e
chore(plugin-nested-docs): lint fix ( #3740 )
2023-10-18 14:40:48 -04:00
Elliot DeNolf
f1d8fa9999
chore: add 2.0 announcement banner
2023-10-18 14:38:58 -04:00
Jarrod Flesch
1670a603f6
chore: adjust where sharp types are imported from ( #3645 )
2023-10-18 11:44:49 -04:00
Elliot DeNolf
22f1fa8fc9
chore: update issue template and repro guide
2023-10-18 11:43:11 -04:00
Jacob Fletcher
370e8d1938
chore: replaces bg blur in document controls ( #3736 )
2023-10-18 11:40:25 -04:00
Elliot DeNolf
3a3eab761e
fix: filesRequiredOnCreate typing, tests, linting ( #3737 )
2023-10-18 11:27:55 -04:00