includio-cms 0.6.1 → 0.6.2

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,21 @@
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.6.2 — 2026-03-11
7
+
8
+ Admin hydration fix
9
+
10
+ ### Fixed
11
+ - Admin hydration — replace boundary pending with onMount preloader, type-only remotes import
12
+
13
+ ## 0.6.1 — 2026-03-10
14
+
15
+ Maintenance release — update definitions, changelog, roadmap
16
+
17
+ ### Notes
18
+
19
+ No functional changes
20
+
6
21
  ## 0.6.0 — 2026-03-10
7
22
 
8
23
  Entity module, collection filters, layout dot-notation, peerDeps migration
@@ -4,16 +4,30 @@
4
4
  import { Toaster } from '../../../components/ui/sonner/index.js';
5
5
  import { MediaSort, setMediaSort } from '../../state/media-sort.svelte.js';
6
6
  import AdminPreloader from './admin-preloader.svelte';
7
+ import { onMount } from 'svelte';
7
8
 
8
9
  setMediaSort(new MediaSort());
9
10
 
10
11
  let { children }: { children: Snippet } = $props();
12
+
13
+ let mounted = $state(false);
14
+ onMount(() => {
15
+ mounted = true;
16
+ });
11
17
  </script>
12
18
 
13
19
  <Toaster richColors />
14
20
 
15
- <svelte:boundary>
16
- {#snippet pending()}<AdminPreloader />{/snippet}
21
+ {#if !mounted}
22
+ <AdminPreloader />
23
+ {/if}
24
+
25
+ <div class:hidden={!mounted}>
26
+ <svelte:boundary>
27
+ {#snippet failed(error)}
28
+ <pre style="color:red;padding:2rem">{error?.message ?? error}</pre>
29
+ {/snippet}
17
30
 
18
- {@render children()}
19
- </svelte:boundary>
31
+ {@render children()}
32
+ </svelte:boundary>
33
+ </div>
@@ -1,3 +1,3 @@
1
- import * as remotes from '../remote/index.js';
1
+ import type * as remotes from '../remote/index.js';
2
2
  export declare function setRemotes(data: typeof remotes): void;
3
3
  export declare function getRemotes(): typeof remotes;
@@ -1,5 +1,4 @@
1
1
  import { getContext, setContext } from 'svelte';
2
- import * as remotes from '../remote/index.js';
3
2
  const contextKey = Symbol('remotes');
4
3
  export function setRemotes(data) {
5
4
  setContext(contextKey, data);
@@ -0,0 +1,2 @@
1
+ import type { CmsUpdate } from '../index.js';
2
+ export declare const update: CmsUpdate;
@@ -0,0 +1,9 @@
1
+ export const update = {
2
+ version: '0.6.1',
3
+ date: '2026-03-10',
4
+ description: 'Maintenance release — update definitions, changelog, roadmap',
5
+ features: [],
6
+ fixes: [],
7
+ breakingChanges: [],
8
+ notes: 'No functional changes'
9
+ };
@@ -0,0 +1,2 @@
1
+ import type { CmsUpdate } from '../index.js';
2
+ export declare const update: CmsUpdate;
@@ -0,0 +1,8 @@
1
+ export const update = {
2
+ version: '0.6.2',
3
+ date: '2026-03-11',
4
+ description: 'Admin hydration fix',
5
+ features: [],
6
+ fixes: ['Admin hydration — replace boundary pending with onMount preloader, type-only remotes import'],
7
+ breakingChanges: []
8
+ };
@@ -21,7 +21,9 @@ import { update as update056 } from './0.5.6/index.js';
21
21
  import { update as update057 } from './0.5.7/index.js';
22
22
  import { update as update058 } from './0.5.8/index.js';
23
23
  import { update as update060 } from './0.6.0/index.js';
24
- export const updates = [update0065, update0066, update0067, update0068, update0069, update010, update011, update012, update013, update014, update015, update020, update022, update050, update051, update052, update053, update054, update055, update056, update057, update058, update060];
24
+ import { update as update061 } from './0.6.1/index.js';
25
+ import { update as update062 } from './0.6.2/index.js';
26
+ export const updates = [update0065, update0066, update0067, update0068, update0069, update010, update011, update012, update013, update014, update015, update020, update022, update050, update051, update052, update053, update054, update055, update056, update057, update058, update060, update061, update062];
25
27
  export const getUpdatesFrom = (fromVersion) => {
26
28
  const fromParts = fromVersion.split('.').map(Number);
27
29
  return updates.filter((update) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "includio-cms",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",