Release Notes - studiocms
Ce contenu n’est pas encore disponible dans votre langue.
The following is automated release notes for the studiocms
package.
For more information, see the Changelog file^
0.1.0-beta.16
Section titled “0.1.0-beta.16”-
#563^
1256340
^ Thanks @Adammatthiesen^! - Implement new CLI functionality to generate JWT tokens usable for custom sqld servers -
#571^
ec92a2b
^ Thanks @Adammatthiesen^! - Update password system -
#557^
0536040
^ Thanks @Adammatthiesen^! - Implement new CLI command for StudioCMSThere is now a
studiocms add <plugin...>
command that allows you to add plugins to studiocms easily! -
#569^
e6276f3
^ Thanks @Adammatthiesen^! - fix editing users for cli -
#566^
1b63cc5
^ Thanks @Adammatthiesen^! - migrate cli to utilize @withstudiocms/cli-kit -
#568^
1f5c3d7
^ Thanks @Adammatthiesen^! - Update to Astro v5.7 and Implement new Astro Fonts feature
0.1.0-beta.15
Section titled “0.1.0-beta.15”-
#553^
ae8cdfc
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #553) -
#544^
83a05db
^ Thanks @Adammatthiesen^! - Optimized data processing with concurrent operations, resulting in faster content rendering and improved responsiveness. -
#510^
6944793
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #510) -
#531^
ec4530b
^ Thanks @Adammatthiesen^! - fix bug with page creation and cache -
#522^
de1dbec
^ Thanks @Adammatthiesen^! - Fix SDK JWT generation and verification -
#512^
cd10407
^ Thanks @Adammatthiesen^! - Update to utilize new@withstudiocms/buildkit
for build and dev -
#552^
1ee31e6
^ Thanks @Adammatthiesen^! - tweak sidebar css -
#556^
13f2d99
^ Thanks @Adammatthiesen^! - update script to send proper response -
#528^
d3674d6
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #528) -
#511^
c3d0b1e
^ Thanks @Adammatthiesen^! - Update defaulten-us
language code toen
-
#549^
9199097
^ Thanks @Adammatthiesen^! - Update dependencies (Support Astro v5.6) -
#539^
a4ab614
^ Thanks @Adammatthiesen^! - feat(sdk): add pagination support to folderPages and getAllPages functions -
#536^
301ab9f
^ Thanks @Adammatthiesen^! - bugfix: Verify user has the correct permissions before allowing user modification. -
#543^
a7dc2ad
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #543) -
#514^
0d0fbd6
^ Thanks @Adammatthiesen^! - fix webvitals plugin translations for dashboard page -
#527^
c900ab8
^ Thanks @Adammatthiesen^! - fix(dashboard): fix css for two dashboard grid components that in some browsers would show the wrong color -
#529^
089dcc3
^ Thanks @Adammatthiesen^! - Add the ability to both update the Avatar URL, and sync with Libravatar Avatar service. -
#537^
97bbfc8
^ Thanks @Adammatthiesen^! - fix: components in componentRegistry can now have names such astest-comp
-
#530^
7ed3f39
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #530) -
#517^
b710b58
^ Thanks @Adammatthiesen^! - Implement CLI utils for user management -
#538^
6b83369
^ Thanks @Adammatthiesen^! - refactor createPage logic to allow for draft pages and published pages correctly -
#525^
ea82076
^ Thanks @Adammatthiesen^! - Update SDK to allow getting pages by folder, add support to only return the page metadata, and add author and contributor data to page metadata. -
#524^
e2aa9d3
^ Thanks @Adammatthiesen^! - fix version cache generation -
#545^
10d64cf
^ Thanks @Adammatthiesen^! - More route optimizations, moving variables that are called on multiple pages/endpoints to middleware
0.1.0-beta.14
Section titled “0.1.0-beta.14”-
#505^
ae5176d
^ Thanks @Adammatthiesen^! - Refactor StudioCMS and remove dependencies,package-json
is now removed, as we have an included function to get the latest version from npm directly. (much simpler interface)- Move functionality from
@matthiesenxyz/integrationUtils
for checkIfUnsafe() util, since that is the only util we are using, into StudioCMS. removing the need for this dep all together
-
#500^
1e61e13
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #500) -
#507^
4d42b42
^ Thanks @Adammatthiesen^! - Refactor SDK and page scripts- SDK cache is now busted when it should be
- Content management page sidebar now refreshes
- You can now hide the default index in the siteConfig on the dashboard
NOTICE (non-breaking schema update)
Section titled “NOTICE (non-breaking schema update)”- You will need to push the new schema
astro db push --remote
-
#503^
55663b2
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #503) -
#506^
b26cfb5
^ Thanks @Adammatthiesen^! - Export runtime functions in package.json for plugins to use. -
#496^
f45607e
^ Thanks @Adammatthiesen^! - Update responses for username or password when invalid -
#492^
7d14e58
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #492) -
#495^
62ee6fc
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #495) -
#504^
055824c
^ Thanks @Adammatthiesen^! - Introduce new JWT Token system to reduce dependencies
0.1.0-beta.13
Section titled “0.1.0-beta.13”-
#484^
48630ef
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #484) -
#483^
3612916
^ Thanks @Adammatthiesen^! - Fix Missing CSS on DB start pages for the code blocks -
#489^
77f89d6
^ Thanks @Adammatthiesen^! - Update dependencies -
#490^
5780894
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #490) -
#476^
a430661
^ Thanks @Adammatthiesen^! - fix(auth): Re-enable the verification for usernames and passwords to ensure data safety -
#474^
4fc5d6b
^ Thanks @Adammatthiesen^! - Refactor internal integration logic to cleanup old logic and simplify main integration -
#480^
3f8b220
^ Thanks @Adammatthiesen^! - NEW: HTML pageType available for pages, build HTML pages with the new SunEditor HTML builder. -
#488^
501d11c
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #488) -
#485^
ab1714c
^ Thanks @Adammatthiesen^! - Update Diff page- Update pageMetaData section to use disabled inputs to display previous/current data
- Implement diff endpoint for reverting changes
- Add interactive buttons for reverting changes
- Add helpful information to the top section to display info about the diff
-
#477^
0901215
^ Thanks @Adammatthiesen^! - Remove oldtestingAndDemoMode
developer option and add newdemoMode
option with a simple interfaceDemo mode can either be
false
or an object with the following type{ username: string; password: string; }
. This will allow you to create demo user credentials that are public.Please note, this does not prevent changes and resetting the DB is up to the developer to configure on their own. (a github action that clears the tables and adds the desired values back on a schedule is one idea for this.)
-
#478^
df24828
^ Thanks @Adammatthiesen^! - Refactor rendering system to rely on plugin PageTypes instead of the old built-in system, this will allow new page types to easily bring their own renderer that can get called from the main renderer component.Breaking Changes
Section titled “Breaking Changes”- Removed MDX, and MarkDoc from built-in renderer. These will be replaced by plugins.
- Rendering system is now directly tied into the plugin PageTypes defined within plugins. Instead of passing just the content to the renderer, you now must pass the entire PageData from the SDK.
- New Rendering Component is now able to auto adapt to the pageType’s provided renderer. (This means you can use the provided
<StudioCMSRenderer />
component to render any pageType that has been configured for StudioCMS through plugins. or use the data directly and render it yourself.)
OLD Method (
[...slug].astro
)[...slug].astro ---import { StudioCMSRenderer } from 'studiocms:renderer';import studioCMS_SDK from 'studiocms:sdk';import Layout from '../layouts/Layout.astro';let { slug } = Astro.params;if (!slug) {slug = 'index';}const page = await studioCMS_SDK.GET.databaseEntry.pages.bySlug(slug);if (!page) {return new Response(null, { status: 404 });}const { title, description, heroImage, defaultContent } = page;const content = defaultContent.content || '';---<Layout title={title} description={description} heroImage={heroImage}><main><StudioCMSRenderer content={content} /></main></Layout>New Method (
[...slug].astro
)[...slug].astro ---import { StudioCMSRenderer } from 'studiocms:renderer';import studioCMS_SDK from 'studiocms:sdk';import Layout from '../layouts/Layout.astro';let { slug } = Astro.params;if (!slug) {slug = 'index';}const page = await studioCMS_SDK.GET.databaseEntry.pages.bySlug(slug);if (!page) {return new Response(null, { status: 404 });}const { title, description, heroImage } = page;---<Layout title={title} description={description} heroImage={heroImage}><main><StudioCMSRenderer data={page} /></main></Layout> -
#481^
dae7795
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #481) -
#473^
ddc7eb8
^ Thanks @Adammatthiesen^! - Fix ambient types, and remove now unused stub files and type injectionConsolidate all virtual types into a single file,
- Previous exports such as
studiocms/v/core.d.ts
are now all understudiocms/v/types
- Previous exports such as
-
#479^
4880ce8
^ Thanks @Adammatthiesen^! - Remove unused dependencies and references -
#471^
9512aac
^ Thanks @Adammatthiesen^! - Update Arctic to v3.5.0 and implement new required code verifier for auth0 and discord -
#486^
ddee17d
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #486) -
#473^
ddc7eb8
^ Thanks @Adammatthiesen^! - Update READMEs
0.1.0-beta.12
Section titled “0.1.0-beta.12”-
#465^
66ca9c7
^ Thanks @Adammatthiesen^! - Revert the SDK back to@astrojs/db
instead ofdrizzle-orm
asdrizzle-orm
was not causing our issues -
#456^
d66d081
^ Thanks @Adammatthiesen^! - Expand SDK virtual cache system to allow more functionality either with the cache or passthrough to the normal SDK -
#455^
a23a95e
^ Thanks @Adammatthiesen^! - Implement runtime logger on all API routes -
#454^
1021093
^ Thanks @Adammatthiesen^! - Refactor pageType api endpoint management to prevent errors when using virtual modules within a APIRoute -
#458^
d445247
^ Thanks @Adammatthiesen^! - Hide and protect the deleted “Ghost” user from the dashboard -
#461^
49171af
^ Thanks @Adammatthiesen^! - Implement forgot password functionality if mailer is enabled -
#466^
feb37bf
^ Thanks @Adammatthiesen^! - Move routes to their ts variant to resolve weird bundling issue with astro -
#464^
c77c4c7
^ Thanks @Adammatthiesen^! - Internal package organization, no user facing changes -
#459^
c914ec4
^ Thanks @Adammatthiesen^! - Extend mailer functionality into the auth system for optional Email verification -
#460^
0b4c1fe
^ Thanks @Adammatthiesen^! - Implement basic email notifier system for User and Admin notifications -
#457^
1421e4c
^ Thanks @Adammatthiesen^! - Implement new SMTPnodemailer
configuration for sending emails from StudioCMSSMTP Mailer Configuration:
Section titled “SMTP Mailer Configuration:”- Added SMTP mailer configuration options in the ConfigForm.astro file, including enabling/disabling the mailer and configuring SMTP settings.
- Introduced new routes and entry points for mailer configuration and test email functionalities in index.ts.
Database Schema Updates:
Section titled “Database Schema Updates:”- Added a new table StudioCMSMailerConfig to store SMTP mailer settings.
- Updated existing tables to remove default values from JSON columns. (Potentially breaking)
-
#462^
bf1b118
^ Thanks @Adammatthiesen^! - Update the email templates, modifying the user invite API route, and improving the handling of email sending errors.
0.1.0-beta.11
Section titled “0.1.0-beta.11”- #451^
bceda0a
^ Thanks @Adammatthiesen^! - Fix integration injection, and when quicktools are usable
0.1.0-beta.10
Section titled “0.1.0-beta.10”-
#445^
a3b0b6d
^ Thanks @Adammatthiesen^! - Refactor.d.ts
files to prevent weird type errors from popping up -
#442^
8d9025d
^ Thanks @Adammatthiesen^! - Refactor integration index to prevent parts of the StudioCMS integration from being enabled during the first-time-setup stage. -
#446^
610b759
^ Thanks @Adammatthiesen^! - Implement nanostore i18n client-side system to be used once i18n is readyThis system is implemented in the dashboard but only the base locale (“en-us”) is available at this time.
-
#447^
a9a2d43
^ Thanks @Adammatthiesen^! - Fix: Create page form was sending the wrong type of data. -
#443^
730b7d9
^ Thanks @Adammatthiesen^! - Update declaration files to use dist directory instead of src
0.1.0-beta.9
Section titled “0.1.0-beta.9”-
#433^
8931327
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #433) -
#432^
4ac1dc2
^ Thanks @Adammatthiesen^! - Relocate static assets to CDN R2 bucket, Users can now delete thestudiocms-resources/
folder within their projectpublic/
folder. -
#437^
e99f3d0
^ Thanks @studiocms-no-reply^! - Translation Updated (PR: #437) -
#441^
9dbe621
^ Thanks @Adammatthiesen^! - fix firsttime setup page redirect, and fix sdk
0.1.0-beta.8
Section titled “0.1.0-beta.8”-
#333^
62ff52f
^ Thanks [@column.text({](https://github.com/column.text({)^! - Auth system overhaul:
Section titled “studiocms”studiocms
- Updated all Dependencies
Section titled “@studiocms/auth”@studiocms/auth
- Update
astro:env
schema:CMS_ENCRYPTION_KEY
: NEW - Required variable used for auth encryption, can be generated usingopenssl rand --base64 16
.CMS_GITHUB_REDIRECT_URI
: NEW - Optional variable for GitHub Redirect URI if using multiple redirect URIs with Github oAuth.
- Removed
Luicia
based auth system andLucia-astrodb-adapter
- Removed old
authHelper
- Add new OAuthButton components
<OAuthButton />
<OAuthButtonStack />
oAuthButtonProviders.ts
- Add new
<AuthLayout />
component and CSS - Add new authentication library:
- Auth library is built using the lucia-next resources and will now be maintained under
@studiocms/auth
as its own full module - Created Virtual module exports available during runtime
- Auth library is built using the lucia-next resources and will now be maintained under
- Add new login/signup backgrounds
- Remove Middleware
- Add
studiocms-logo.glb
for usage with New ThreeJS login/signup page - Update all Auth Routes
- Update schema
- Add new Scripts for ThreeJS
- Update Stubs files and Utils
- Refactor Integration to use new system.
Section titled “@studiocms/core”@studiocms/core
-
Disable interactivity for
<Avatar />
component. (Will always show a empty profile icon until we setup the new system for the front-end) -
Update table schema:
StudioCMSUsers
: Removed oAuth ID’s from main user table
export const StudioCMSUsers = defineTable({columns: {id: column.text({ primaryKey: true }),url: column.text({ optional: true }),name: column.text(),email: column.text({ unique: true, optional: true }),avatar: column.text({ optional: true }),githubId: column.number({ unique: true, optional: true }),githubURL: column.text({ optional: true }),discordId: column.text({ unique: true, optional: true }),googleId: column.text({ unique: true, optional: true }),auth0Id: column.text({ unique: true, optional: true }),username: column.text(),password: column.text({ optional: true }),updatedAt: column.date({ default: NOW, optional: true }),createdAt: column.date({ default: NOW, optional: true }),},});StudioCMSOAuthAccounts
: New table to handle all oAuth accounts and linking to Users
export const StudioCMSOAuthAccounts = defineTable({columns: {provider: column.text(), // github, google, discord, auth0providerUserId: column.text({ primaryKey: true }),userId: column.text({ references: () => StudioCMSUsers.columns.id }),},});StudioCMSPermissions
: Updated to use direct reference to users table
export const StudioCMSPermissions = defineTable({columns: {references: () => StudioCMSUsers.columns.id }),rank: column.text(),},});StudioCMSSiteConfig
: Added new options for login page
export const StudioCMSSiteConfig = defineTable({columns: {id: column.number({ primaryKey: true }),title: column.text(),description: column.text(),defaultOgImage: column.text({ optional: true }),siteIcon: column.text({ optional: true }),loginPageBackground: column.text({ default: "studiocms-curves" }),loginPageCustomImage: column.text({ optional: true }),},}); -
Updated Routemap:
- All Auth api routes are now located at
yourhost.tld/studiocms_api/auth/*
- All Auth api routes are now located at
-
Updated Strings:
- Add new Encryption messages for the new
CMS_ENCRYPTION_KEY
variable
- Add new Encryption messages for the new
-
Removed now unused auth types.
Section titled “@studiocms/dashboard”@studiocms/dashboard
- Refactor to utilize new
@studiocms/auth
lib for user verification
-
#333^
62ff52f
^ Thanks @create-issue-branch^! - Update First time setup routes and API endpoints -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Translation Updated (PR: #391) -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Expand PageData table schema and add Catagory and Tags schemas, and extend WP-importer -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Added Author and Contributor tracking -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Docs, Docs, and more Docs -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Implement new Dashboard design and update API endpoints -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Dynamic Sitemap integrationDynamic Sitemap Generation:
Section titled “Dynamic Sitemap Generation:”packages/studiocms/src/index.ts
: Replaced the static sitemap integration with the newdynamicSitemap
function to support multiple sitemaps from plugins.packages/studiocms/src/lib/dynamic-sitemap/index.ts
: Added thedynamicSitemap
function to generate sitemaps dynamically based on the provided plugin configurations.packages/studiocms/src/lib/dynamic-sitemap/sitemap-index.xml.ts
: Created a new route to serve the sitemap index file, which lists all the individual sitemaps.
Plugin Schema Updates:
Section titled “Plugin Schema Updates:”packages/studiocms/src/schemas/plugins/index.ts
: Updated the plugin schema to include an optionalsitemaps
field, allowing plugins to specify their own sitemap configurations.
Plugin-Specific Sitemaps:
Section titled “Plugin-Specific Sitemaps:”packages/studiocms_blog/src/index.ts
: Updated the StudioCMS Blog plugin to include its own sitemaps for posts and markdown pages.packages/studiocms_blog/src/routes/sitemap-md.xml.ts
: Added a new route to generate the sitemap for markdown pages.packages/studiocms_blog/src/routes/sitemap-posts.xml.ts
: Added a new route to generate the sitemap for blog posts.
-
#333^
62ff52f
^ Thanks @create-issue-branch^! - Remove Astro ViewTransitions/ClientRouter -
#333^
62ff52f
^ Thanks @create-issue-branch^! - User invite and creation systemsUser Management Enhancements:
Section titled “User Management Enhancements:”- Added modals for creating new users and user invites in
InnerSidebarElement.astro
to streamline the user creation process. - Implemented new API routes
create-user
andcreate-user-invite
to handle user creation and invite processes. - Updated
routeMap.ts
to include new endpoints for user creation and invites.
UI Improvements:
Section titled “UI Improvements:”- Modified icons for ‘Create Page’ and ‘Create Folder’ options in
InnerSidebarElement.astro
to use standard document and folder icons. - Enhanced the user management dropdown by reordering properties for better readability.
- Added custom styles for modal bodies to improve the user interface.
Utility and SDK Updates:
Section titled “Utility and SDK Updates:”- Added new utility functions for generating random passwords and IDs in
generators.ts
, and updated references incore.ts
. - Updated the SDK core to support rank assignment during user creation.
- Added modals for creating new users and user invites in
-
#333^
62ff52f
^ Thanks @create-issue-branch^! - Enhance StudioCMS Plugin system- Implement Dashboard pages
- Add Optional API Routes and Fields for page types
- Update Astro Web Vital plugin to add new dashboard page
-
#333^
62ff52f
^ Thanks @create-issue-branch^! - Implement Build step with esbuild and Update for Astro v5 -
#430^
36474b5
^ Thanks @Adammatthiesen^! - Update dependencies -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Add @studiocms/markdown-remark as a renderer option, and implement component proxy system to actually be used by this renderer -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Implement User quick action toolbar for frontend when user’s are logged in -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Translation Updated (PR: #376) -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Implement Diff tracking system -
#333^
62ff52f
^ Thanks @create-issue-branch^! - New Renderer component -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Introduce Dashboard i18n logic-
studiocms
&@studiocms/core
:- Introduce new virtual module
studiocms:i18n
: This module includes utilities for our new i18n system. - Add new LanguageSelector component
- Add
en-us
translation file. (packages/studiocms_core/i18n/translations/
)
- Introduce new virtual module
-
@studiocms/auth
:- Update login/signup routes to utilize new i18n translations
- Transition routes to Hybrid type setup, All API routes will remain server rendered, while pages are now prerendered (Server islands when needed).
-
-
#312^
9c59d72
^ Thanks @create-issue-branch^! - ♻️ Chore: We are now Turso Sponsored! -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Update Frontend logic and fix some small issues with rendering.- New Renderer Partial for rendering on-the-fly
- Updated changelog endpoint to use new partial to fix rendering
- Fixed TS Error in SDK
- Fixed changelog rendering
- Cleaned up Frontend package layout
- Simplified Frontend route generation to use 1 file
- Updated all exports.
-
#333^
62ff52f
^ Thanks @create-issue-branch^! - Introduce BASIC version of our plugin system.Currently Supports:
- Custom Settings Page
- Assign your fields
- Bring your own API Endpoint function
- Ability to add Frontend page links
- Set the minimum StudioCMS Version
- Bring your own Astro Integrations
- Basic Page type identifier system
- This system will eventually be expanded to allow custom Content types and access to passing custom content handling methods for custom implementations.
- Custom Settings Page
-
#333^
62ff52f
^ Thanks @create-issue-branch^! - Implement Component Proxy functionality -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Implement new StudioCMS SDK in @studiocms/core and integrate it into the new dashboard and frontend package -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Remove Unpic and simplify imageHandler -
#301^
ebc297f
^ Thanks @create-issue-branch^! - Update.d.ts
file generation (non breaking) -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Merge StudioCMS packages into main package -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Implement new StudioCMS Auth lib -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Update URLs -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Small css tweak -
#333^
62ff52f
^ Thanks @create-issue-branch^! - New CLI, Updated integration logic and updated config processing. -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Add warning if no Adapter is present -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Fix CSS issue that caused sidebar to flow off the screen -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Adjusted strings to account for Astro Studio sunsetting -
#333^
62ff52f
^ Thanks @create-issue-branch^! - Implement dashboard grid components system -
#333^
62ff52f
^ Thanks @create-issue-branch^! - StudioCMS is now headless, all routes have been moved to@studiocms/blog
and that is now the recommended default plugin to install for users who want a basic headful setup -
#333^
62ff52f
^ Thanks @create-issue-branch^! - New REST API endpoints and Dashboard UI featuresNew Routes:
/studiocms_api/rest/v1/folders
/studiocms_api/rest/v1/folders/[id]
/studiocms_api/rest/v1/pages
/studiocms_api/rest/v1/pages/[id]
/studiocms_api/rest/v1/pages/[id]/history
/studiocms_api/rest/v1/pages/[id]/history/[id]
/studiocms_api/rest/v1/settings
/studiocms_api/rest/v1/users
/studiocms_api/rest/v1/users/[id]
All routes listed above are behind authentication.
There is the following PUBLIC endpoints that ONLY support GET requests to published pages/folders
/studiocms_api/rest/v1/public/pages
/studiocms_api/rest/v1/public/pages/[id]
/studiocms_api/rest/v1/public/folders
/studiocms_api/rest/v1/public/folders/[id]
0.1.0-beta.7
Section titled “0.1.0-beta.7”- Update URL from
astro-studiocms.xyz
tostudiocms.xyz
0.1.0-beta.6
Section titled “0.1.0-beta.6”-
Update dependencies
-
Update readme, and package.json naming as well as references to Astro Studio to AstroDB.
-
Update readmes to reflect new package name
-
[Update readme]: Update Astro Studio references to AstroDB as Studio is closing down.
-
[Refactor]: Update main config schema for renderers.
- Removed
contentRenderer
andmarkedConfig
from the main options - Added config for MarkDoc
- Created new
rendererConfig
section:
astro.config.mjs // https://astro.build/configexport default defineConfig({// ...Rest of Astro Configintegrations: [studiocms({// ...Rest of StudioCMS Config// (This is the same if you use the 'studiocms.config.mjs' file)rendererConfig: {renderer: "marked", // Can also be 'astro', or 'markdoc'markedConfig: {/* MarkedJS Config */},markdocConfig: {/* MarkDoc Config */},},}),],}); - Removed
-
[Migrate/Deprecation]: customRendererPlugin moved to StudioCMSRendererConfig
- Deprecation of StudioCMSPluginOptions defined CustomRenderers
- Add new option to define renderers from StudioCMSOptions config:
astro.config.mjs function simpleHTMLRenderer(content: string) {return {name: "simple-html-renderer",renderer: async (content: string) => {return `<p>${content}</p>`;},};}// https://astro.build/configexport default defineConfig({// ...Rest of Astro Configintegrations: [studiocms({// ...Rest of StudioCMS Config// (This is the same if you use the 'studiocms.config.mjs' file)rendererConfig: {renderer: simpleHTMLRenderer,},}),],});
0.1.0-beta.5
Section titled “0.1.0-beta.5”-
[Refactor/Rename]: Split main package into smaller packages and rename main package.
This change will allow a better divide between the StudioCMS ecosystem packages. The main Astro Integration is now named
studiocms
.Renamed Packages:
studiocms
: The main package that users will download and use.@studiocms/blog
: The StudioCMSBlog Plugin
New Packages and their purposes:
@studiocms/core
: Core components and functions@studiocms/assets
: Assets used for the StudioCMS Dashboard and other integrations@studiocms/renderers
: StudioCMS renderer system@studiocms/imagehandler
: StudioCMS image service and components@studiocms/auth
: StudioCMS auth routes and middleware@studiocms/frontend
: Userfacing pages and routes@studiocms/dashboard
: The main dashboard components, routes, and API endpoints@studiocms/robotstxt
: Generation of robots.txt file@studiocms/betaresources
: Resources for the beta.
-
[Breaking]: Update AstroDB Table Schemas to use prefixed table names (i.e.
Permissions
->StudioCMSPermissions
)This change will require migration to a new database or a full wipe of the current database.
It is recommended to link to a new database and push the new schema changes and migrate your data from the old one.
0.1.0-beta.4
Section titled “0.1.0-beta.4”-
Implement extension system for Plugins to include new dashboard pages right in the sidebar
-
Refactor Authhelper (no end user changes needed)
-
[Fix]: Ensure
@astrojs/web-vitals
integration is an optional addon and not required. -
# Breaking Changes
- [Breaking]: Astro 4.14.5 is now the lowest supported version of StudioCMS
- [Breaking]: AstroDB 0.13.2 is now the lowest supported version of StudioCMS
Non-Breaking Changes
Section titled “Non-Breaking Changes”- [Update]: Utilize new InjectTypes from Astro instead of addDts from AIK (No user changes needed)
- [Update]:
@matthiesenxyz/integration-utils
updated to newest version and fix usage (No user changes needed) - [Refactor]: Move web-vitals child components into their own folder (No user changes needed)
- [Refactor]: Update
isDashboardRoute.ts
^ to use.include()
instead of direct comparison (No user changes needed) - [Refactor]: Move to namespacebuiltins vite plugin(Astro Integration) included from
@matthiesenxyz/integration-utils
instead of the internal copy (No user changes needed) - [Fix]: Remove now not needed exclude rules for
@matthiesenxyz/integration-utils
(No user changes needed)
0.1.0-beta.3
Section titled “0.1.0-beta.3”-
New Mailing system for Beta Feedback form
-
Fix: Allow studiocms-auth.config.json to be created during first time database setup
-
[Bug]: Fix case sensitivity issue in authHelper function
0.1.0-beta.2
Section titled “0.1.0-beta.2”-
Validate secrets (or not) for
astro:env
-
Add check for unsafe usernames or passwords when creating local username/password accounts
-
- StudioCMS-Dashboard:
Update UnoCSS to
0.61.5
and DaisyUI Preset to0.1.1
-
Lint project code
-
Sidebar signout for guest users
0.1.0-beta.1
Section titled “0.1.0-beta.1”- Initial beta release