You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following package is built-in to StudioCMS and provides the core database functionality used by StudioCMS. It is intended to be used internally by StudioCMS, but users can also use it directly in their projects for more advanced use cases.
21
+
A comprehensive Software Development Kit for StudioCMS, providing a unified API for interacting with the CMS core functionality. Built with TypeScript and Effect-ts for type-safety and functional programming patterns, with Kysely DB ([`@withstudiocms/kysely`](/en/ecosystem/packages/kysely/)) for dynamic database storage.
22
22
23
23
<Asidetype="caution"title="Warning">
24
24
This package is primarily intended for internal use by StudioCMS. While you can use it directly in your projects, be aware that it may change without notice as StudioCMS evolves.
@@ -28,12 +28,6 @@ The following package is built-in to StudioCMS and provides the core database fu
28
28
Want to learn more about how to use the SDK with StudioCMS? Check out [The SDK](/en/how-it-works/sdk/) documentation to learn how to use it in your StudioCMS project!
A comprehensive Software Development Kit for StudioCMS, providing a unified API for interacting with the CMS core functionality. Built with TypeScript and Effect-ts for type-safety and functional programming patterns, with Kysely DB ([`@withstudiocms/kysely`](/en/ecosystem/packages/kysely/)) for dynamic database storage.
36
-
37
31
### Features
38
32
39
33
-**Authentication Module** - User authentication and session management
StudioCMS `0.1.0-beta.32` introduces several breaking changes, new features, and bug fixes. This guide will help you navigate the upgrade process smoothly.
18
+
StudioCMS `0.1.0` introduces several breaking changes, new features, and bug fixes. This guide will help you navigate the upgrade process smoothly.
19
19
20
20
## Breaking changes
21
21
- Replaced `@libsql/kysely-libsql` with `kysely-turso` for Turso database client. If you were using `@libsql/kysely-libsql` in your project, please update your dependencies to use `kysely-turso` instead.
@@ -51,6 +51,7 @@ StudioCMS `0.1.0-beta.32` introduces several breaking changes, new features, and
51
51
- Fixes various CSS issues across all dashboard and auth pages.
52
52
- Ensures DB Studio custom element is defined if dev-toolbar is not present
53
53
- Reworks CLI to fix async/sync code handling for `studiocms users` command
54
+
- Replaced all instances of `.returning()`/`returningAll()` with transactions to properly support SQL dialects that do not support returning such as MySQL
In this example, we define a StudioCMS plugin called `My Plugin` that requires StudioCMS version `0.1.0-beta.31` or higher. The plugin also provides an Astro Integration that logs a message to the console when the `astro:config:setup` hook is called.
103
+
In this example, we define a StudioCMS plugin called `My Plugin` that requires StudioCMS version `v0.1.0` or higher. The plugin also provides an Astro Integration that logs a message to the console when the `astro:config:setup` hook is called.
104
104
105
105
<ReadMore>For more information on building plugins checkout the [Making Plugins Useful][extended-plugins] Guide</ReadMore>
<LinkCardtitle="Upgrading StudioCMS to Latest"href="/en/guides/upgrade/latest/"description="Looking to Upgrade to the latest version? Look here!" />
22
22
23
23
<Asidetype="caution"title="Attention">
24
-
This guide was recently revised for major changes in StudioCMS `0.1.0-beta.31`. If you've previously read this guide, please the review the changes carefully to ensure you are up to date with the latest setup instructions.
24
+
This guide was recently revised for changes in StudioCMS `v0.1.0`. If you've previously read this guide, please the review the changes carefully to ensure you are up to date with the latest setup instructions.
25
25
26
26
Or if you are upgrading from a previous version of StudioCMS, please see the [Upgrading StudioCMS to Latest](/en/guides/upgrade/latest/) guide for more information.
27
27
</Aside>
@@ -374,7 +374,7 @@ The following paths are examples of the callback URL for each provider:
### Configure Storage API Manager (optional) <Badgetext='Added in beta.32'variant='success' />
377
+
### Configure Storage API Manager (optional) <Badgetext='Added in v0.1.0'variant='success' />
378
378
379
379
StudioCMS supports using different Storage API Managers to handle file and image storage. By default, StudioCMS uses a built-in no-op storage manager that does not store any files or images.
0 commit comments