Releases: withstudiocms/studiocms
studiocms@0.4.4
Patch Changes
-
#1480
aebe8bcThanks @Adammatthiesen! - Fix user filtering logic in RestApiSecureHandler -
Updated dependencies [
3f7e6cf]:- effectify@0.2.0
- @withstudiocms/api-spec@0.3.2
- @withstudiocms/effect@0.4.1
effectify@0.2.0
Minor Changes
-
#1481
3f7e6cfThanks @Adammatthiesen! - Adds new astro-integration-kit-inspireddefineIntegrationutility helper for building Astro integrations with Effect. ThedefineIntegrationfunction introduces schema-validation for integration options using Effect Schema and automatically wraps integration hooks to surface errors asEffectifyIntegrationHookErrorinstances. This provides better type safety and error handling for Astro integration authors.Behavioral Changes:
- Integration options are now validated against the provided schema at integration initialization time, throwing
EffectifyIntegrationHookErrorwithhook: 'integration:options'for invalid options - All Effect-based integration hooks are automatically wrapped to catch and re-throw errors with proper context (hook name, integration name, and error details)
- Hook errors are logged to the console and thrown as
EffectifyIntegrationHookErrorinstances
Pre-1.0 Versioning Note: While this is technically a minor version bump (new feature addition), the introduction of schema-validation and automatic error wrapping represents a behavioral change that integration authors should be aware of. Existing code using raw Effect patterns for Astro integrations should evaluate whether to adopt this new utility for improved error handling and type safety.
- Integration options are now validated against the provided schema at integration initialization time, throwing
@withstudiocms/effect@0.4.1
Patch Changes
- Updated dependencies [
3f7e6cf]:- effectify@0.2.0
@withstudiocms/api-spec@0.3.2
Patch Changes
- Updated dependencies [
3f7e6cf]:- effectify@0.2.0
studiocms@0.4.3
Patch Changes
-
#1470
66b634cThanks @Adammatthiesen! - Fixes createResetLink endpoints rank check -
#1472
87f0239Thanks @Adammatthiesen! - Improves permission checks for user ranks during user creation in the REST API endpoint -
#1466
d65992dThanks @Adammatthiesen! - Fixes peerDependencies and associated metadata -
#1471
66b30b7Thanks @Adammatthiesen! - Prevents unauthorized modification of user notification preferences
@studiocms/s3-storage@0.3.1
Patch Changes
- #1468
42c47d9Thanks @Adammatthiesen! - Fixes missing awaits in the Storage Manager
studiocms@0.4.2
Patch Changes
-
#1463
d17d916Thanks @Adammatthiesen! - Fixes import paths, build scripts, and tweaks Astro config for StudioCMS installations -
Updated dependencies [
d17d916]:- @withstudiocms/api-spec@0.3.1
- effectify@0.1.1
studiocms@0.4.1
Patch Changes
- #1461
af78a9cThanks @Adammatthiesen! - Fixes imports in Analytics plugin
studiocms@0.4.0
Minor Changes
-
#1401
de6bb17Thanks @Adammatthiesen! - Migrates RestAPI to utilize new API-Spec package for better type safety -
#1421
d7a0217Thanks @Adammatthiesen! - Removes deprecated and unused SDK listpages endpoint, and updates the changelog json endpoint to not use .json in the pathname -
#1433
64ff643Thanks @Adammatthiesen! - Migrates StorageFileBrowser script to utilize new API spec client for typesafe API interactions -
#1440
9eec9c3Thanks @Adammatthiesen! - Introduces new admin level api token revocation endpoint -
#1438
f4a209fThanks @Adammatthiesen! - Refactors and cleans up API spec handlers to remove un-needed variables and tighten security -
#1448
35a1984Thanks @Adammatthiesen! - Deprecates thestudiocmsMinimumVersionsetting from the plugins API, it is recommended to rely onpeerDependenciesinstead. -
#1322
0ae47b0Thanks @Adammatthiesen! - Migrate from Zod Schemas to Effect Schemas -
#1342
7773e9cThanks @Adammatthiesen! - Moves to new data-middleware system for being able to handle dynamic authentication checks. -
#1375
c9f32d0Thanks @Adammatthiesen! - Extends rendering functionality to allow site-wide post-processors, or single page post-processors (augments) -
#1430
a78f6d5Thanks @Adammatthiesen! - Migrates dashboard components to use new api spec clients -
#1434
ef7197eThanks @Adammatthiesen! - Adds SDK utility endpoints for markdown rendering and user-list HTML, replacing legacy page partial routes.
Consumers now go through the SDK utilities for these renders, and the markdown render route is POST-based. -
#1373
5d6ec77Thanks @Adammatthiesen! - Reworks API handling and migrates to Effect HttpApi Spec -
#1429
1cc8957Thanks @Adammatthiesen! - Migrates various frontend pages to utilize new dashboard API client -
#1374
33d3c2bThanks @Adammatthiesen! - Migrates frontend utils to use new API spec for SDK and Auth endpoints -
#1307
a855f94Thanks @Adammatthiesen! - New Effect Schema based validation for plugin schemas -
#1322
0ae47b0Thanks @Adammatthiesen! - Update Plugin hooks to align with new schemas -
#1311
2d2ff4eThanks @Adammatthiesen! - Implements new Effect-based config schemas
Patch Changes
-
#1351
94b6d4fThanks @Adammatthiesen! - Fixes folder deletion schema calls that caused folder deletion to return a server error -
#1381
07b3508Thanks @Adammatthiesen! - Deduplicates API spec definitions and expands LocalsSessionData middleware context data -
#1287
2ea1074Thanks @renovate! - fix(deps): update studiocms dependencies -
#1336
e85f46bThanks @renovate! - fix(deps): update dependency @inox-tools/runtime-logger to ^0.8.1 -
#1385
9ef4b85Thanks @renovate! - fix(deps): update dependency @iconify-json/simple-icons to ^1.2.71 -
#1402
2123645Thanks @renovate! - fix(deps): update dependency nanostores to ^1.1.1 -
#1442
ea2298eThanks @renovate! - fix(deps): update dependency @iconify-json/simple-icons to ^1.2.72 -
#1453
fb59e23Thanks @renovate! - fix(deps): update studiocms dependencies -
#1352
27fd734Thanks @Adammatthiesen! - Fixes outdated done page instructions -
#1446
7d2ebfbThanks @Adammatthiesen! - Code cleanup and OCD, purges dead and unused code -
#1441
39e367dThanks @renovate! - fixes CSS lint error with duplicate CSS variable -
#1422
de78276Thanks @Adammatthiesen! - Ensures proper permissions for API route, and updates client script to align with new API spec -
#1353
54d5a3eThanks @Adammatthiesen! - Fixesstudiocms initoptional option parsing -
#1420
139b3a6Thanks @Adammatthiesen! - Adds new config option for built-in API spec docs available in studiocms config as a boolean optionfeatures.api.apiDocs -
Updated dependencies [
a67bcc0, [d7a0217](https://github.com/withstudiocms/s...
effectify@0.1.1
Patch Changes
- #1463
d17d916Thanks @Adammatthiesen! - Fixes import paths, build scripts, and tweaks Astro config for StudioCMS installations