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
76286136ba
chore(cpa): update init next to use latest
2024-11-18 20:29:07 -05:00
Elliot DeNolf
6407e577d3
chore(release): v3.0.0 [skip ci]
2024-11-18 20:10:16 -05:00
Elliot DeNolf
cc04396a4f
chore(cpa): unpin template version tag for release
2024-11-18 20:00:38 -05:00
Elliot DeNolf
fade739f77
chore(release): v3.0.0-beta.135 [skip ci]
2024-11-18 19:19:55 -05:00
Elliot DeNolf
2b955a4aa3
chore(cpa): remove beta from vercel pg and sqlite
2024-11-18 15:40:18 -05:00
Elliot DeNolf
cb6ceaec76
chore(release): v3.0.0-beta.134 [skip ci]
2024-11-17 11:43:43 -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
Sasha
810c29b189
fix!: improve collection / global slugs type-safety in various places ( #8311 )
...
**BREAKING:**
Improves type-safety of collection / global slugs by using `CollectionSlug` / `UploadCollectionSlug` and `GlobalSlug` types instead of `string` in these places:
Adds `UploadCollectionSlug` and `TypedUploadCollection` utility types
This also changes how we suggest to add an upload collection to a cloud-storage adapter:
Before:
```ts
azureStorage({
collections: {
[Media.slug]: true,
},
})
```
After:
```ts
azureStorage({
collections: {
media: true,
},
})
```
2024-11-15 19:33:26 +00: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
Elliot DeNolf
def595e645
feat(templates): add with-vercel-website ( #9144 )
...
Add new `with-vercel-website` that uses the website template as a base.
2024-11-12 13:12:37 -05:00
Elliot DeNolf
7cd805adb9
fix(cpa): use proper branch tag ( #9141 )
...
The pinned git tag was not being threaded all the way through to where
the download was occurring.
2024-11-12 16:13:19 +00: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
e907724af7
chore(cpa): use git tags for template urls ( #9065 )
...
`create-payload-app` will now use git tags when cloning down the
templates instead of using latest from a branch.
The mechanism is cpa will read its own package.json version and use that
as a git tag prefixed w/ `v`
2024-11-07 11:47:26 -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
cdcefa88f2
fix(cpa): remove lock file on project creation
2024-11-06 10:02:29 -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
Sasha
aea1b41f90
fix(cpa): write POSTGRES_URL to .env for vercel postgres ( #8743 )
...
Fixes https://github.com/payloadcms/payload/issues/8877
Current behaviour:
`pnpx create-payload-app@beta`, select "Vercel Postgres",
`.env` file:
```env
# Added by Payload
# should be POSTGRES_URL here!
DATABASE_URI=postgres://postgres:<password>@127.0.0.1:5432/f
PAYLOAD_SECRET=4415faad68a15727b4ebf582
```
`payload.config.ts`:
```ts
db: vercelPostgresAdapter({
pool: {
connectionString: process.env.POSTGRES_URL || '',
},
}),
```
2024-10-28 17:34:58 +00:00
Elliot DeNolf
6c2eecc47e
chore(release): v3.0.0-beta.119 [skip ci]
2024-10-25 16:11:53 -04:00
Elliot DeNolf
1b1dc82cfb
feat!: rename @payloadcms/plugin-cloud ( #8828 )
...
BREAKING CHANGE: Rename `@payloadcms/plugin-cloud` to
`@payloadcms/payload-cloud`. Anyone using the existing plugin will need
to switch to using the new package.
## Why?
Since v3 will be using _fixed versioning_, all versions of `^3` must be
available. Unfortunately, the `@payloadcms/plugin-cloud` version has
already breached that version number. Renaming will allow it to be on
the same version as other monorepo packages.
Additionally, the name `plugin-cloud` is quite ambiguous and sometimes
is confused with `plugin-cloud-storage`, so using `payload-cloud` feels
like a good move to make this more evident.
2024-10-24 21:19:15 -04:00
Elliot DeNolf
1a15425b59
fix(cpa): properly detect if pnpm exists on windows ( #8855 )
...
Use `where <command>` if using windows when detecting package manager
2024-10-24 14:53:11 -04:00
Elliot DeNolf
749a7d9131
chore(cpa): remove beta from postgres selection
2024-10-24 13:07:38 -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
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
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
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
Elliot DeNolf
040c2a2fbb
chore(eslint): FlatConfig type deprecated, set to Config
2024-09-20 22:46:40 -04:00
Elliot DeNolf
7faa6253fc
chore(release): v3.0.0-beta.108 [skip ci]
2024-09-20 15:58:38 -04:00
Elliot DeNolf
55afbe589c
chore(cpa): prefer pnpm if exists ( #8345 )
...
Prefer pnpm if it exists.
2024-09-20 15:35:30 -04:00