Skip to content

Commit 88f97ba

Browse files
Prep work for next version
1 parent d745a59 commit 88f97ba

File tree

25 files changed

+2070
-405
lines changed

25 files changed

+2070
-405
lines changed

astro.config.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@ export default defineConfig({
200200
translations: getTranslations('plugins'),
201201
autogenerate: { directory: 'plugins' },
202202
},
203+
{
204+
label: getTranslations('storage-api').en,
205+
translations: getTranslations('storage-api'),
206+
autogenerate: { directory: 'storage-api' },
207+
},
203208
{
204209
label: getTranslations('utils').en,
205210
translations: getTranslations('utils'),

knip.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ const config: KnipConfig = {
1010
'@studiocms/markdoc',
1111
'@studiocms/wysiwyg',
1212
'@studiocms/cloudinary-image-service',
13+
'@studiocms/storage-s3',
1314
"@withstudiocms/template-lang",
15+
"@withstudiocms/sdk",
1416
'@astrojs/node',
1517
'@astrojs/react',
1618
'sharp',
@@ -19,6 +21,7 @@ const config: KnipConfig = {
1921
'effect',
2022
'@withstudiocms/component-registry',
2123
'@withstudiocms/kysely',
24+
"@withstudiocms/effect",
2225
'@docsearch/js',
2326
'studiocms:ui',
2427
'studiocms',

package.json

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,21 @@
2121
"gen-changelogs": "tsm --require=./scripts/filter-warnings.cjs ./scripts/generate-release-notes.ts"
2222
},
2323
"dependencies": {
24-
"@studiocms/blog": "0.1.0-beta.31",
25-
"@studiocms/cloudinary-image-service": "0.1.0-beta.31",
26-
"@studiocms/devapps": "0.1.0-beta.31",
27-
"@studiocms/html": "0.1.0-beta.31",
28-
"@studiocms/markdoc": "0.1.0-beta.31",
29-
"@studiocms/md": "0.1.0-beta.31",
30-
"@studiocms/mdx": "0.1.0-beta.31",
31-
"@studiocms/wysiwyg": "0.1.0-beta.31",
32-
"studiocms": "0.1.0-beta.31",
33-
"@withstudiocms/component-registry": "0.1.0-beta.7",
34-
"@withstudiocms/kysely": "0.1.0-beta.1",
35-
"@withstudiocms/template-lang": "0.1.0-beta.1",
24+
"@studiocms/blog": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/blog@9f45a21",
25+
"@studiocms/cloudinary-image-service": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/cloudinary-image-service@9f45a21",
26+
"@studiocms/devapps": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/devapps@9f45a21",
27+
"@studiocms/html": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/html@9f45a21",
28+
"@studiocms/markdoc": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/markdoc@9f45a21",
29+
"@studiocms/md": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/md@9f45a21",
30+
"@studiocms/mdx": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/mdx@9f45a21",
31+
"@studiocms/wysiwyg": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/wysiwyg@9f45a21",
32+
"@studiocms/storage-s3": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/s3-storage@9f45a21",
33+
"studiocms": "https://pkg.pr.new/withstudiocms/studiocms@9f45a21",
34+
"@withstudiocms/component-registry": "https://pkg.pr.new/withstudiocms/studiocms/@withstudiocms/component-registry@9f45a21",
35+
"@withstudiocms/kysely": "https://pkg.pr.new/withstudiocms/studiocms/@withstudiocms/kysely@9f45a21",
36+
"@withstudiocms/sdk": "https://pkg.pr.new/withstudiocms/studiocms/@withstudiocms/sdk@9f45a21",
37+
"@withstudiocms/template-lang": "https://pkg.pr.new/withstudiocms/studiocms/@withstudiocms/template-lang@9f45a21",
38+
"@withstudiocms/effect": "https://pkg.pr.new/withstudiocms/studiocms/@withstudiocms/effect@9f45a21",
3639

3740
"@studiocms/ui": "1.0.0-beta.4",
3841
"@studiocms/web-vitals": "^4.5.3",

pnpm-lock.yaml

Lines changed: 1616 additions & 343 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/generate-release-notes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const preBranch: string =
99
'https://raw.githubusercontent.com/withstudiocms/studiocms/changeset-release/main/packages/studiocms/CHANGELOG.md';
1010

1111
// Allow Switching into a pre-release mode for development of pre-release docs
12-
const pre = false;
12+
const pre = true;
1313

1414
const changelogUrl = pre ? preBranch : mainBranch;
1515

src/content/docs/en/config-reference/index.mdx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,24 @@ export default defineStudioCMSConfig({
6868
})
6969
```
7070

71+
## `storageManager`
72+
73+
`storageManager` is used to configure the storage manager plugin for StudioCMS.
74+
75+
- **Type:** `StudioCMSStorageManager`
76+
- **Default:** `undefined`
77+
78+
### Usage
79+
80+
```ts twoslash {3} title="studiocms.config.mjs"
81+
import { defineStudioCMSConfig } from 'studiocms/config';
82+
// ---cut---
83+
import s3Storage from '@studiocms/storage-s3';
84+
export default defineStudioCMSConfig({
85+
storageManager: s3Storage(),
86+
})
87+
```
88+
7189
## `verbose`
7290

7391
`verbose` is a boolean that is used to enable or disable verbose logging.
@@ -136,7 +154,7 @@ import { defineStudioCMSConfig } from 'studiocms/config';
136154
// ---cut---
137155
export default defineStudioCMSConfig({
138156
componentRegistry: {
139-
'my-component': 'src/components/MyComponent.astro',
157+
'my-component': './src/components/MyComponent.astro',
140158
},
141159
})
142160
```

src/content/docs/en/guides/contributing/translations.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ title: Translations
44
description: Learn how to contribute translations to StudioCMS
55
sidebar:
66
order: 2
7-
badge:
8-
text: Updated
9-
variant: success
107
---
118

129
import ReadMore from '~/components/ReadMore.astro';

src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-31.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ description: Upgrade StudioCMS to Beta.31
55
topic: guides
66
sidebar:
77
label: 0.1.0-beta.31
8-
badge:
9-
text: NEW
10-
variant: success
118
order: 999984
129
---
1310

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
i18nReady: true
3+
title: "Upgrade: 0.1.0-beta.32"
4+
description: Upgrade StudioCMS to Beta.32
5+
topic: guides
6+
sidebar:
7+
label: 0.1.0-beta.32
8+
badge:
9+
text: NEW
10+
variant: success
11+
order: 999983
12+
---
13+
14+
import ReadMore from '~/components/ReadMore.astro'
15+
import { PackageManagers } from 'starlight-package-managers'
16+
import { FileTree, TabItem, Tabs, Steps, Aside } from '@astrojs/starlight/components';
17+
18+
## Breaking changes
19+
- Replaced `@libsql/kysely-libsql` with `kysely-turso` for Turso database client.
20+
- If you were using `@libsql/kysely-libsql` directly in your project, please update your imports to use `kysely-turso` instead.
21+
- Update any code that interacts with the database to ensure compatibility with the new client.
22+
- Removes deprecated hideDefaultIndex site config variable from SDK and updates all instances of usage in StudioCMS.
23+
- Note for anyone previously relying on this feature, it has now been completely removed. Users will need to adjust any code relying on this functionality.
24+
- Migrates table imports to new `@withstudiocms/sdk/tables` export, and update other relevant imports
25+
- Update imports for Migrator to `@withstudiocms/sdk/migrator`
26+
27+
## New Features
28+
- Added new Storage API for StudioCMS files and Assets.
29+
- This new API provides a standardized way to manage files and assets within StudioCMS, allowing for better integration with various storage backends.
30+
- Check out the [Storage API Documentation](/en/storage-api/) for more details on how to use the new Storage API in your projects.
31+
- Implements new FolderTree rendering system and updated content management inner sidebar
32+
- Implements taxonomy management in the StudioCMS dashboard
33+
- Adds Taxonomy support for REST API and SDK
34+
- Adds Taxonomy management UI in the StudioCMS Dashboard
35+
- Implements new component registry UI for content editing and System management pages.
36+
- Fixes issue with debug info having Unavailable outputs during PROD
37+
38+
## Bug Fixes & Improvements
39+
- Reworks table types to better align with actual table schemas and improve type safety across the SDK.
40+
- Improves error handling and logging for database operations to aid in debugging and maintenance.
41+
- Fixes various CSS issues across all dashboard and auth pages.
42+
- Ensures DB Studio custom element is defined if devtoolbar is not present
43+
- Reworks CLI to fix async/sync code handling for `studiocms users` command

src/content/docs/en/how-it-works/cli.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ title: "The CLI"
44
description: "Learn about the StudioCMS CLIs and how to use them."
55
sidebar:
66
order: 2
7-
badge:
8-
text: Updated
9-
variant: success
107
tableOfContents:
118
minHeadingLevel: 2
129
maxHeadingLevel: 4

0 commit comments

Comments
 (0)