@crownpeak/dqm-react-component 1.2.2 → 1.3.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/LICENSE +1 -1
  3. package/dist/DQMSidebar.d.ts.map +1 -1
  4. package/dist/auth-ui/assets/index-CcFepUgA.js +158 -0
  5. package/dist/auth-ui/index.html +1 -1
  6. package/dist/components/modals/AISettingsDialog.d.ts +5 -0
  7. package/dist/components/modals/AISettingsDialog.d.ts.map +1 -1
  8. package/dist/context/ai/AIContext.d.ts.map +1 -1
  9. package/dist/context/ai/types.d.ts +4 -0
  10. package/dist/context/ai/types.d.ts.map +1 -1
  11. package/dist/dqm-widget.esm.js +169 -154
  12. package/dist/dqm-widget.iife.js +18 -18
  13. package/dist/i18n/index.d.ts +30 -0
  14. package/dist/i18n/index.d.ts.map +1 -1
  15. package/dist/i18n/sidebar/de.d.ts +10 -0
  16. package/dist/i18n/sidebar/de.d.ts.map +1 -1
  17. package/dist/i18n/sidebar/en.d.ts +10 -0
  18. package/dist/i18n/sidebar/en.d.ts.map +1 -1
  19. package/dist/i18n/sidebar/es.d.ts +10 -0
  20. package/dist/i18n/sidebar/es.d.ts.map +1 -1
  21. package/dist/index.cjs +46 -46
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.js +7277 -7122
  24. package/dist/index.js.map +1 -1
  25. package/dist/store/slices/aiSlice.d.ts +11 -1
  26. package/dist/store/slices/aiSlice.d.ts.map +1 -1
  27. package/dist/store/slices/index.d.ts +1 -1
  28. package/dist/store/slices/index.d.ts.map +1 -1
  29. package/dist/utils/modelCapabilities.d.ts +69 -0
  30. package/dist/utils/modelCapabilities.d.ts.map +1 -0
  31. package/dist/utils/openaiJsonClient.d.ts +2 -0
  32. package/dist/utils/openaiJsonClient.d.ts.map +1 -1
  33. package/dist/utils/translationUtils.d.ts.map +1 -1
  34. package/package.json +4 -3
  35. package/dist/auth-ui/assets/index-YKFZYENy.js +0 -158
package/CHANGELOG.md CHANGED
@@ -5,6 +5,56 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.3.0] - 2026-01-09
9
+
10
+ ### Added
11
+ - **GPT-5.2 Support**: Default AI model upgraded from `gpt-4.1-mini` to `gpt-5.2`
12
+ - 1M token context window enables larger translation batches and fewer API calls
13
+ - New `reasoning_effort` parameter (`low`/`medium`/`high`) for GPT-5 models
14
+ - Automatic API adaptation for GPT-5 vs GPT-4 differences:
15
+ - Token parameter: `max_completion_tokens` (GPT-5) vs `max_tokens` (GPT-4)
16
+ - Structured output: `json_schema` (GPT-5) vs `json_object` (GPT-4)
17
+ - System role: `developer` (GPT-5) vs `system` (GPT-4)
18
+ - 50,000 token context budget (vs 12,000 for GPT-4o)
19
+ - **Model Capabilities Module**: New `src/utils/modelCapabilities.ts` for centralized model detection
20
+ - `isGPT5Model()`, `isReasoningModel()` utility functions
21
+ - `getModelCapabilities()` returns full capability info per model
22
+ - `buildTokenParams()`, `buildReasoningParams()`, `getSystemRole()` helpers
23
+ - **Reasoning Effort UI**: New setting in AI Settings dialog (only visible for GPT-5 models)
24
+ - Persisted to `localStorage` as `dqm_reasoning_effort`
25
+ - Full i18n support (EN/DE/ES)
26
+ - **MCP Server Feature**: Added MCP Server section to website features
27
+ - New feature card with link to documentation
28
+ - Translations for all 3 languages
29
+
30
+ ### Changed
31
+ - **AI Settings Dialog**: GPT-5.2 now shown with "NEW" badge in model selector
32
+ - **AI Summary Card**: Improved layout with column flex direction for better readability
33
+ - **Website Hero Badge**: Updated from version number to "GPT-5.2 Powered AI"
34
+ - **Website MSW Provider**: Refactored to `useMSW()` hook for better lifecycle control
35
+ - MSW now starts only when sidebar opens
36
+ - MSW resets completely when sidebar closes
37
+ - **Footer Links**: Updated Crownpeak DQM Platform URL to German FirstSpirit product page
38
+
39
+ ### Fixed
40
+ - **Translation Feature Descriptions**: Updated to reflect GPT-5.2 capabilities
41
+ - **Website Feature Cards**: Added MCP Server feature with external documentation link
42
+ - **Accessibility**: Added `aria-label` to MCP Server feature link
43
+
44
+ ## [1.2.4] - 2026-01-08
45
+
46
+ ### Added
47
+ - **Marketing Website**: New Next.js marketing/documentation website deployed to GitHub Pages
48
+ - Hero section with animated feature highlights
49
+ - Interactive demo section with live sidebar preview
50
+ - Integration section with code examples and copy functionality
51
+ - Multi-language support (English, German, Spanish) using react-i18next
52
+ - Framer Motion animations throughout
53
+ - Built with Tailwind CSS and shadcn/ui components
54
+ - WCAG AA accessibility compliant (proper aria-labels, 4.5:1+ contrast ratios)
55
+ - Static export for GitHub Pages hosting
56
+ - **AI Agent Documentation**: Added comprehensive Website section to `.github/copilot-instructions.md`
57
+
8
58
  ## [1.2.2] - 2026-01-08
9
59
 
10
60
  ### Fixed
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Crownpeak Technology GmbH
3
+ Copyright (c) 2025-2026 Crownpeak Technology GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1 +1 @@
1
- {"version":3,"file":"DQMSidebar.d.ts","sourceRoot":"","sources":["../src/DQMSidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiD,MAAM,OAAO,CAAC;AA4CtE,OAAO,KAAK,EAA8B,eAAe,EAAc,MAAM,SAAS,CAAC;AAukFvF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAahD,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"DQMSidebar.d.ts","sourceRoot":"","sources":["../src/DQMSidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiD,MAAM,OAAO,CAAC;AA4CtE,OAAO,KAAK,EAA8B,eAAe,EAAc,MAAM,SAAS,CAAC;AAikFvF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAahD,CAAC;AAEF,eAAe,UAAU,CAAC"}