Skip to content

Releases: withstudiocms/studiocms

studiocms@0.1.0-beta.11

05 Mar 21:18
b9f6927
Compare
Choose a tag to compare
Pre-release

Patch Changes

@studiocms/devapps@0.1.0-beta.11

05 Mar 21:18
b9f6927
Compare
Choose a tag to compare
Pre-release

Patch Changes

@studiocms/blog@0.1.0-beta.11

05 Mar 21:18
b9f6927
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Updated dependencies [bceda0a]:
    • studiocms@0.1.0-beta.11

studiocms@0.1.0-beta.10

04 Mar 22:31
31d49a6
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • #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 ready

    This 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

@studiocms/devapps@0.1.0-beta.10

04 Mar 22:30
31d49a6
Compare
Choose a tag to compare
Pre-release

Patch Changes

@studiocms/blog@0.1.0-beta.10

04 Mar 22:30
31d49a6
Compare
Choose a tag to compare
Pre-release

Patch Changes

studiocms@0.1.0-beta.9

28 Feb 23:20
e956c2e
Compare
Choose a tag to compare
Pre-release

Patch Changes

studiocms@0.1.0-beta.8

28 Feb 08:22
b5474dd
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • #333 62ff52f Thanks [@column.text({](https://github.com/column.text({)! - Auth system overhaul:

    studiocms

    • Updated all Dependencies

    @studiocms/auth

    • Update astro:env schema:
      • CMS_ENCRYPTION_KEY: NEW - Required variable used for auth encryption, can be generated using openssl 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 and Lucia-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
    • 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.

    @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, auth0
          providerUserId: 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/*
    • Updated Strings:

      • Add new Encryption messages for the new CMS_ENCRYPTION_KEY variable
    • Removed now unused auth types.

    @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 integration

    Dynamic Sitemap Generation:

    • packages/studiocms/src/index.ts: Replaced the static sitemap integration with the new dynamicSitemap function to support multiple sitemaps from plugins.
    • packages/studiocms/src/lib/dynamic-sitemap/index.ts: Added the dynamicSitemap 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:

    • packages/studiocms/src/schemas/plugins/index.ts: Updated the plugin schema to include an optional sitemaps field, allowing plugins to specify their own sitemap configurations.

    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 systems

    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 and create-user-invite to handle user creation and invite processes.
    • Updated routeMap.ts to include new endpoints for user creation and invites.

    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:

    • Added new utility functions for generating random passwords and IDs in generators.ts, and updated references in core.ts.
    • Updated the SDK core to support rank assignment during user creation.
  • #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! - Impleme...

Read more

@studiocms/devapps@0.1.0-beta.9

28 Feb 23:20
e956c2e
Compare
Choose a tag to compare
Pre-release

Patch Changes

@studiocms/devapps@0.1.0-beta.8

28 Feb 08:22
b5474dd
Compare
Choose a tag to compare
Pre-release

Patch Changes