includio-cms 0.6.2 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to includio-cms are documented here.
4
4
  Generated from `src/lib/updates/` — do not edit manually.
5
5
 
6
+ ## 0.7.0 — 2026-03-11
7
+
8
+ Auth core refactor & design system alignment
9
+
10
+ ### Fixed
11
+ - Auth moved into CMS core — lazy betterAuth init from config, simplified AuthConfig interface
12
+ - Media checkered bg & overlay gradient aligned with design system palette
13
+ - Form inputs use consistent bg-card background
14
+ - Blocks field accordion: rounded borders, card background
15
+ - Media file miniature: reset img/svg margins
16
+
17
+ ### Breaking
18
+ - Auth config: AuthAdapter replaced with AuthConfig (secret + baseURL), auth init moved to CMS class
19
+
6
20
  ## 0.6.2 — 2026-03-11
7
21
 
8
22
  Admin hydration fix
package/ROADMAP.md CHANGED
@@ -147,14 +147,22 @@
147
147
  - [ ] `[feature]` `[P1]` Media gallery virtualization/pagination <!-- files: src/lib/admin/components/media/files-list.svelte -->
148
148
  - [ ] `[feature]` `[P2]` Image styles UI — preview generated variants in editor
149
149
 
150
- ## 0.7.0 — SEO module
150
+ ## 0.7.0 — Auth core refactor & design fixes
151
+
152
+ - [x] `[breaking]` `[P0]` Auth moved into CMS core — lazy betterAuth init from config, AuthAdapter → AuthConfig <!-- files: src/lib/core/cms.ts, src/lib/types/cms.ts, src/lib/sveltekit/server/handle.ts -->
153
+ - [x] `[fix]` `[P1]` Media checkered bg & overlay gradient aligned with design system palette <!-- files: src/lib/admin/styles/admin.css -->
154
+ - [x] `[fix]` `[P1]` Form inputs (input, textarea, select, input-group) use consistent bg-card background
155
+ - [x] `[fix]` `[P2]` Blocks field accordion: rounded borders, card background
156
+ - [x] `[fix]` `[P2]` Media file miniature: reset img/svg margins
157
+
158
+ ## 0.8.0 — SEO module
151
159
 
152
160
  - [ ] `[feature]` `[P1]` SERP preview + character limits for title/description <!-- files: src/lib/admin/components/fields/seo-field.svelte -->
153
161
  - [ ] `[feature]` `[P1]` Global SEO settings
154
162
  - [ ] `[feature]` `[P1]` Dedicated frontend SEO components <!-- files: src/lib/sveltekit/components/seo.svelte -->
155
163
  - [ ] `[feature]` `[P2]` Sitemap generation
156
164
 
157
- ## 0.8.0 — WCAG/ATAG compliance
165
+ ## 0.9.0 — WCAG/ATAG compliance
158
166
 
159
167
  - [ ] `[chore]` `[P0]` Full WCAG/ATAG audit
160
168
  - [ ] `[feature]` `[P0]` Accessibility rework based on audit findings
@@ -1,5 +1,5 @@
1
1
  import { getInvitationByToken, markInvitationUsed } from '../remote/invite.js';
2
- import { auth } from '../../server/auth.js';
2
+ import { getAuth } from '../../server/auth.js';
3
3
  import { json } from '@sveltejs/kit';
4
4
  export const POST = async ({ request }) => {
5
5
  const { token, name, password } = await request.json();
@@ -10,7 +10,7 @@ export const POST = async ({ request }) => {
10
10
  if (!inv) {
11
11
  return json({ error: 'Invalid or expired invitation' }, { status: 400 });
12
12
  }
13
- const response = await auth.api.createUser({
13
+ const response = await getAuth().api.createUser({
14
14
  body: {
15
15
  email: inv.email,
16
16
  password,