@eventcatalog/core 3.19.2 → 3.19.3

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.
@@ -37,7 +37,7 @@ var import_axios = __toESM(require("axios"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
 
39
39
  // package.json
40
- var version = "3.19.2";
40
+ var version = "3.19.3";
41
41
 
42
42
  // src/constants.ts
43
43
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-GQZQOHQ6.js";
4
- import "../chunk-ZHTPK6EP.js";
3
+ } from "../chunk-SIX2GI6M.js";
4
+ import "../chunk-43676EB5.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -111,7 +111,7 @@ var import_axios = __toESM(require("axios"), 1);
111
111
  var import_os = __toESM(require("os"), 1);
112
112
 
113
113
  // package.json
114
- var version = "3.19.2";
114
+ var version = "3.19.3";
115
115
 
116
116
  // src/constants.ts
117
117
  var VERSION = version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-6IYYCXKO.js";
4
- import "../chunk-GQZQOHQ6.js";
3
+ } from "../chunk-R6VVTGJG.js";
4
+ import "../chunk-SIX2GI6M.js";
5
5
  import "../chunk-4UVFXLPI.js";
6
- import "../chunk-ZHTPK6EP.js";
6
+ import "../chunk-43676EB5.js";
7
7
  import "../chunk-5T63CXKU.js";
8
8
  export {
9
9
  log_build_default as default
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.19.2";
2
+ var version = "3.19.3";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-ZKN3CMF6.js";
3
+ } from "./chunk-GZLYTEKP.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-ZHTPK6EP.js";
3
+ } from "./chunk-43676EB5.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-GQZQOHQ6.js";
3
+ } from "./chunk-SIX2GI6M.js";
4
4
  import {
5
5
  countResources,
6
6
  serializeCounts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-ZHTPK6EP.js";
3
+ } from "./chunk-43676EB5.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "3.19.2";
28
+ var version = "3.19.3";
29
29
 
30
30
  // src/constants.ts
31
31
  var VERSION = version;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-ZHTPK6EP.js";
3
+ } from "./chunk-43676EB5.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -114,7 +114,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
114
114
  var import_picocolors = __toESM(require("picocolors"), 1);
115
115
 
116
116
  // package.json
117
- var version = "3.19.2";
117
+ var version = "3.19.3";
118
118
 
119
119
  // src/constants.ts
120
120
  var VERSION = version;
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-PLNJC7NZ.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-6IYYCXKO.js";
10
- import "./chunk-GQZQOHQ6.js";
9
+ } from "./chunk-R6VVTGJG.js";
10
+ import "./chunk-SIX2GI6M.js";
11
11
  import "./chunk-4UVFXLPI.js";
12
12
  import {
13
13
  runMigrations
@@ -22,13 +22,13 @@ import {
22
22
  } from "./chunk-3KXCGYET.js";
23
23
  import {
24
24
  generate
25
- } from "./chunk-WUBGLZHM.js";
25
+ } from "./chunk-G7RVOVBS.js";
26
26
  import {
27
27
  logger
28
- } from "./chunk-ZKN3CMF6.js";
28
+ } from "./chunk-GZLYTEKP.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-ZHTPK6EP.js";
31
+ } from "./chunk-43676EB5.js";
32
32
  import {
33
33
  getEventCatalogConfigFile,
34
34
  verifyRequiredFieldsAreInCatalogConfigFile
package/dist/generate.cjs CHANGED
@@ -78,7 +78,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
78
78
  var import_picocolors = __toESM(require("picocolors"), 1);
79
79
 
80
80
  // package.json
81
- var version = "3.19.2";
81
+ var version = "3.19.3";
82
82
 
83
83
  // src/constants.ts
84
84
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-WUBGLZHM.js";
4
- import "./chunk-ZKN3CMF6.js";
5
- import "./chunk-ZHTPK6EP.js";
3
+ } from "./chunk-G7RVOVBS.js";
4
+ import "./chunk-GZLYTEKP.js";
5
+ import "./chunk-43676EB5.js";
6
6
  import "./chunk-5T63CXKU.js";
7
7
  export {
8
8
  generate
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(cli_logger_exports);
36
36
  var import_picocolors = __toESM(require("picocolors"), 1);
37
37
 
38
38
  // package.json
39
- var version = "3.19.2";
39
+ var version = "3.19.3";
40
40
 
41
41
  // src/constants.ts
42
42
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  logger
3
- } from "../chunk-ZKN3CMF6.js";
4
- import "../chunk-ZHTPK6EP.js";
3
+ } from "../chunk-GZLYTEKP.js";
4
+ import "../chunk-43676EB5.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -35,13 +35,7 @@ import { resourceToCollectionMap, collectionToResourceMap, getDeprecatedDetails
35
35
  import { getSchemasFromResource } from '@utils/collections/schemas';
36
36
  import { getIcon } from '@utils/badges';
37
37
  import { buildUrl, buildEditUrlForResource } from '@utils/url-builder';
38
- import {
39
- isEventCatalogChatEnabled,
40
- isMarkdownDownloadEnabled,
41
- isVisualiserEnabled,
42
- isChangelogEnabled,
43
- isRSSEnabled,
44
- } from '@utils/feature';
38
+ import { isEventCatalogChatEnabled, isMarkdownDownloadEnabled, isVisualiserEnabled, isRSSEnabled } from '@utils/feature';
45
39
  import { getMDXComponentsByName } from '@utils/markdown';
46
40
 
47
41
  import type { CollectionTypes } from '@types';
@@ -523,17 +517,6 @@ nodeGraphs.push({
523
517
  />
524
518
  )
525
519
  }
526
- <!-- Change log link -->
527
- {
528
- isChangelogEnabled() && shouldRenderSideBarSection(props, 'changelog') && (
529
- <a
530
- href={buildUrl(`/docs/${props.collection}/${props.data.id}/${props.data.latestVersion}/changelog`)}
531
- class="text-xs text-[rgb(var(--ec-page-text-muted))] underline hover:text-[rgb(var(--ec-page-text))]"
532
- >
533
- <span class="block">Read changelog &rarr;</span>
534
- </a>
535
- )
536
- }
537
520
  </div>
538
521
  </aside>
539
522
  </div>
@@ -10,7 +10,7 @@ import {
10
10
  buildDiagramNavItems,
11
11
  buildResourceDocsSection,
12
12
  } from './shared';
13
- import { isVisualiserEnabled } from '@utils/feature';
13
+ import { isVisualiserEnabled, isChangelogEnabled } from '@utils/feature';
14
14
 
15
15
  export const buildContainerNode = (
16
16
  container: CollectionEntry<'containers'>,
@@ -62,12 +62,19 @@ export const buildContainerNode = (
62
62
  badge: 'Container',
63
63
  summary: container.data.summary,
64
64
  pages: [
65
- buildQuickReferenceSection([
66
- {
67
- title: 'Overview',
68
- href: buildUrl(`/docs/containers/${container.data.id}/${container.data.version}`),
69
- },
70
- ]),
65
+ buildQuickReferenceSection(
66
+ [
67
+ {
68
+ title: 'Overview',
69
+ href: buildUrl(`/docs/containers/${container.data.id}/${container.data.version}`),
70
+ },
71
+ isChangelogEnabled() &&
72
+ shouldRenderSideBarSection(container, 'changelog') && {
73
+ title: 'Changelog',
74
+ href: buildUrl(`/docs/containers/${container.data.id}/${container.data.version}/changelog`),
75
+ },
76
+ ].filter(Boolean) as { title: string; href: string }[]
77
+ ),
71
78
  docsSection,
72
79
  renderVisualiser && {
73
80
  type: 'group',
@@ -2,7 +2,7 @@ import type { CollectionEntry } from 'astro:content';
2
2
  import { buildUrl } from '@utils/url-builder';
3
3
  import type { NavNode, ChildRef, ResourceGroupContext } from './shared';
4
4
  import { buildQuickReferenceSection, buildOwnersSection, shouldRenderSideBarSection, buildResourceDocsSection } from './shared';
5
- import { isVisualiserEnabled } from '@utils/feature';
5
+ import { isVisualiserEnabled, isChangelogEnabled } from '@utils/feature';
6
6
  import { getItemsFromCollectionByIdAndSemverOrLatest, sortVersioned } from '@utils/collections/util';
7
7
  import { getSchemaFormatFromURL } from '@utils/collections/schemas';
8
8
 
@@ -96,9 +96,16 @@ export const buildDataProductNode = (
96
96
  badge: 'Data Product',
97
97
  summary: dataProduct.data.summary,
98
98
  pages: [
99
- buildQuickReferenceSection([
100
- { title: 'Overview', href: buildUrl(`/docs/data-products/${dataProduct.data.id}/${dataProduct.data.version}`) },
101
- ]),
99
+ buildQuickReferenceSection(
100
+ [
101
+ { title: 'Overview', href: buildUrl(`/docs/data-products/${dataProduct.data.id}/${dataProduct.data.version}`) },
102
+ isChangelogEnabled() &&
103
+ shouldRenderSideBarSection(dataProduct, 'changelog') && {
104
+ title: 'Changelog',
105
+ href: buildUrl(`/docs/data-products/${dataProduct.data.id}/${dataProduct.data.version}/changelog`),
106
+ },
107
+ ].filter(Boolean) as { title: string; href: string }[]
108
+ ),
102
109
  docsSection,
103
110
  renderVisualiser && {
104
111
  type: 'group',
@@ -11,7 +11,7 @@ import {
11
11
  buildDiagramNavItems,
12
12
  buildResourceDocsSection,
13
13
  } from './shared';
14
- import { isVisualiserEnabled } from '@utils/feature';
14
+ import { isVisualiserEnabled, isChangelogEnabled } from '@utils/feature';
15
15
  import { pluralizeMessageType } from '@utils/collections/messages';
16
16
  import { getSpecificationsForDomain } from '@utils/collections/domains';
17
17
 
@@ -74,10 +74,20 @@ export const buildDomainNode = (domain: CollectionEntry<'domains'>, owners: any[
74
74
  badge: 'Domain',
75
75
  summary: domain.data.summary,
76
76
  pages: [
77
- buildQuickReferenceSection([
78
- { title: 'Overview', href: buildUrl(`/docs/domains/${domain.data.id}/${domain.data.version}`) },
79
- renderUbiquitousLanguage && { title: 'Ubiquitous Language', href: buildUrl(`/docs/domains/${domain.data.id}/language`) },
80
- ]),
77
+ buildQuickReferenceSection(
78
+ [
79
+ { title: 'Overview', href: buildUrl(`/docs/domains/${domain.data.id}/${domain.data.version}`) },
80
+ renderUbiquitousLanguage && {
81
+ title: 'Ubiquitous Language',
82
+ href: buildUrl(`/docs/domains/${domain.data.id}/language`),
83
+ },
84
+ isChangelogEnabled() &&
85
+ shouldRenderSideBarSection(domain, 'changelog') && {
86
+ title: 'Changelog',
87
+ href: buildUrl(`/docs/domains/${domain.data.id}/${domain.data.version}/changelog`),
88
+ },
89
+ ].filter(Boolean) as { title: string; href: string }[]
90
+ ),
81
91
  docsSection,
82
92
  {
83
93
  type: 'group',
@@ -1,7 +1,8 @@
1
1
  import type { CollectionEntry } from 'astro:content';
2
2
  import { buildUrl } from '@utils/url-builder';
3
3
  import type { NavNode, ChildRef, ResourceGroupContext } from './shared';
4
- import { buildQuickReferenceSection, buildResourceDocsSection } from './shared';
4
+ import { buildQuickReferenceSection, buildResourceDocsSection, shouldRenderSideBarSection } from './shared';
5
+ import { isChangelogEnabled } from '@utils/feature';
5
6
 
6
7
  export const buildFlowNode = (flow: CollectionEntry<'flows'>, context: ResourceGroupContext): NavNode => {
7
8
  const docsSection = buildResourceDocsSection(
@@ -19,7 +20,16 @@ export const buildFlowNode = (flow: CollectionEntry<'flows'>, context: ResourceG
19
20
  badge: 'Flow',
20
21
  summary: flow.data.summary,
21
22
  pages: [
22
- buildQuickReferenceSection([{ title: 'Overview', href: buildUrl(`/docs/flows/${flow.data.id}/${flow.data.version}`) }]),
23
+ buildQuickReferenceSection(
24
+ [
25
+ { title: 'Overview', href: buildUrl(`/docs/flows/${flow.data.id}/${flow.data.version}`) },
26
+ isChangelogEnabled() &&
27
+ shouldRenderSideBarSection(flow, 'changelog') && {
28
+ title: 'Changelog',
29
+ href: buildUrl(`/docs/flows/${flow.data.id}/${flow.data.version}/changelog`),
30
+ },
31
+ ].filter(Boolean) as { title: string; href: string }[]
32
+ ),
23
33
  docsSection,
24
34
  {
25
35
  type: 'group',
@@ -11,7 +11,7 @@ import {
11
11
  buildDiagramNavItems,
12
12
  buildResourceDocsSection,
13
13
  } from './shared';
14
- import { isVisualiserEnabled } from '@utils/feature';
14
+ import { isVisualiserEnabled, isChangelogEnabled } from '@utils/feature';
15
15
 
16
16
  export const buildMessageNode = (
17
17
  message: CollectionEntry<'events' | 'commands' | 'queries'>,
@@ -59,12 +59,19 @@ export const buildMessageNode = (
59
59
  badge,
60
60
  summary: message.data.summary,
61
61
  pages: [
62
- buildQuickReferenceSection([
63
- {
64
- title: 'Overview',
65
- href: buildUrl(`/docs/${collection}/${message.data.id}/${message.data.version}`),
66
- },
67
- ]),
62
+ buildQuickReferenceSection(
63
+ [
64
+ {
65
+ title: 'Overview',
66
+ href: buildUrl(`/docs/${collection}/${message.data.id}/${message.data.version}`),
67
+ },
68
+ isChangelogEnabled() &&
69
+ shouldRenderSideBarSection(message, 'changelog') && {
70
+ title: 'Changelog',
71
+ href: buildUrl(`/docs/${collection}/${message.data.id}/${message.data.version}/changelog`),
72
+ },
73
+ ].filter(Boolean) as { title: string; href: string }[]
74
+ ),
68
75
  docsSection,
69
76
  renderVisualiser && {
70
77
  type: 'group',
@@ -13,7 +13,7 @@ import {
13
13
  buildDiagramNavItems,
14
14
  buildResourceDocsSection,
15
15
  } from './shared';
16
- import { isVisualiserEnabled } from '@utils/feature';
16
+ import { isVisualiserEnabled, isChangelogEnabled } from '@utils/feature';
17
17
  import { pluralizeMessageType } from '@utils/collections/messages';
18
18
 
19
19
  export const buildServiceNode = (
@@ -69,9 +69,16 @@ export const buildServiceNode = (
69
69
  badge: 'Service',
70
70
  summary: service.data.summary,
71
71
  pages: [
72
- buildQuickReferenceSection([
73
- { title: 'Overview', href: buildUrl(`/docs/services/${service.data.id}/${service.data.version}`) },
74
- ]),
72
+ buildQuickReferenceSection(
73
+ [
74
+ { title: 'Overview', href: buildUrl(`/docs/services/${service.data.id}/${service.data.version}`) },
75
+ isChangelogEnabled() &&
76
+ shouldRenderSideBarSection(service, 'changelog') && {
77
+ title: 'Changelog',
78
+ href: buildUrl(`/docs/services/${service.data.id}/${service.data.version}/changelog`),
79
+ },
80
+ ].filter(Boolean) as { title: string; href: string }[]
81
+ ),
75
82
  docsSection,
76
83
  {
77
84
  type: 'group',
@@ -23,7 +23,8 @@ import config from '@config';
23
23
  import { getDesigns } from '@utils/collections/designs';
24
24
  import { getChannels } from '@utils/collections/channels';
25
25
  import { createVersionedMap, findInMap } from '@utils/collections/util';
26
- import { buildQuickReferenceSection, buildResourceDocsSection } from './builders/shared';
26
+ import { buildQuickReferenceSection, buildResourceDocsSection, shouldRenderSideBarSection } from './builders/shared';
27
+ import { isChangelogEnabled } from '@utils/feature';
27
28
 
28
29
  export type { NavigationData, NavNode, ChildRef };
29
30
 
@@ -301,12 +302,19 @@ export const getNestedSideBarData = async (): Promise<NavigationData> => {
301
302
  badge: 'Channel',
302
303
  summary: channel.data.summary,
303
304
  pages: [
304
- buildQuickReferenceSection([
305
- {
306
- title: 'Overview',
307
- href: buildUrl(`/docs/${channel.collection}/${channel.data.id}/${channel.data.version}`),
308
- },
309
- ]),
305
+ buildQuickReferenceSection(
306
+ [
307
+ {
308
+ title: 'Overview',
309
+ href: buildUrl(`/docs/${channel.collection}/${channel.data.id}/${channel.data.version}`),
310
+ },
311
+ isChangelogEnabled() &&
312
+ shouldRenderSideBarSection(channel, 'changelog') && {
313
+ title: 'Changelog',
314
+ href: buildUrl(`/docs/${channel.collection}/${channel.data.id}/${channel.data.version}/changelog`),
315
+ },
316
+ ].filter(Boolean) as { title: string; href: string }[]
317
+ ),
310
318
  docsSection,
311
319
  ].filter(Boolean) as ChildRef[],
312
320
  };
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/event-catalog/eventcatalog.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "3.19.2",
9
+ "version": "3.19.3",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -26,7 +26,6 @@
26
26
  "@astrojs/node": "^9.5.4",
27
27
  "@astrojs/react": "^4.4.2",
28
28
  "@astrojs/rss": "^4.0.15",
29
- "@tailwindcss/vite": "^4.1.5",
30
29
  "@asyncapi/avro-schema-parser": "3.0.24",
31
30
  "@asyncapi/parser": "3.6.0",
32
31
  "@asyncapi/react-component": "3.0.2",
@@ -47,10 +46,11 @@
47
46
  "@radix-ui/react-tooltip": "^1.1.8",
48
47
  "@scalar/api-reference-react": "^0.4.37",
49
48
  "@tailwindcss/typography": "^0.5.16",
49
+ "@tailwindcss/vite": "^4.1.5",
50
50
  "@tanstack/react-table": "^8.17.3",
51
51
  "@xyflow/react": "^12.3.6",
52
52
  "ai": "^6.0.17",
53
- "astro": "^5.17.3",
53
+ "astro": "^5.18.0",
54
54
  "astro-compress": "^2.3.8",
55
55
  "astro-expressive-code": "^0.41.3",
56
56
  "astro-seo": "^0.8.4",
@@ -101,8 +101,8 @@
101
101
  "update-notifier": "^7.3.1",
102
102
  "uuid": "^10.0.0",
103
103
  "zod": "^3.25.0",
104
- "@eventcatalog/linter": "1.0.8",
105
- "@eventcatalog/sdk": "2.15.1",
104
+ "@eventcatalog/sdk": "2.16.0",
105
+ "@eventcatalog/linter": "1.0.9",
106
106
  "@eventcatalog/visualiser": "^3.15.3"
107
107
  },
108
108
  "devDependencies": {