Web Packages Changelog
All notable changes to the Web packages (@mbc-cqrs-serverless/master-web, @mbc-cqrs-serverless/survey-web) are documented here.
For backend framework changes, see Changelog.
0.0.43 (2026-02-26)
master-web
Bug Fixes
- Fix JSON Bulk Import 404 error by correcting
MASTER.BULKAPI path (PR #29)API_URLS.MASTER.BULKwas pointing to/master-bulk/bulkbut the backendMasterBulkControlleruses@Post('/'), so corrected to/master-bulk
- Fix runtime crash when
attributes.fieldsis undefined (PR #27)- Added optional chaining (
?.) to allattributes.fieldsaccesses across EditMasterData, MasterData, NewCopy, and schema modules
- Added optional chaining (
- Fix
useEffectinfinite loop in SettingsForm, CopyData, and DetailCopy (PR #27)- Removed unstable dependencies from
useEffectdependency arrays to prevent infinite re-renders - Used
useRefforsavedResultsto prevent stale closure race conditions
- Removed unstable dependencies from
- Add try-catch for
JSON.parsein all AddJsonData components (PR #27)- Previously, invalid JSON input caused an unhandled crash; now shows a user-friendly error toast
- Improve bulk import response handling when no items have changes (PR #27)
- When all submitted items are unchanged (no
requestId), the dialog now closes with a "no changes" message instead of showing an error - Added error toast on API failure
- When all submitted items are unchanged (no
- Fix
BaseUrlProvidergenerating incorrect URLs with empty segment (PR #27)- Empty segment produced a leading
/causing double-slash URLs
- Empty segment produced a leading
Tests
- Add comprehensive unit tests for utilities, validation, hooks, and components (PR #25, PR #27)
- Added 30+ test files covering validation functions, date utilities, form helpers, pagination, exceptions, URL provider, schemas, and component rendering
- Added shared test utilities (
test-utils.ts) and Jest setup for jsdom environment
CI/CD
- Replace legacy deploy workflow with tag-based CI/CD pipeline (PR #31)
- Aligned with mbc-cqrs-serverless framework CI/CD: supports alpha, beta, and production releases
- Added multi-node version testing (18.x, 20.x, 22.x, 24.x), security scanning (Trivy), and lockfile integrity checks
Documentation
- Add README.md with Quick Start guide, component reference, and usage examples
0.0.42 (2026-02-11)
master-web
Bug Fixes
- Externalize React/Next.js peer dependencies to resolve Context isolation issue (See Details) (PR #23)
- React, React DOM, and Next.js are now listed as
peerDependenciesinstead of bundled dependencies - This ensures the host application's React instance is shared, preventing duplicate React contexts
- Resolves
httpClient.get is not a functionerrors caused by context isolation in npm packages
- React, React DOM, and Next.js are now listed as
- Fix
useSubscribeBulkCommandStatusinfinite re-render loop- Stabilized hook dependencies to prevent unnecessary re-renders when listening for bulk command status updates
- Fix DragResizeModal and AddJsonData layout issues
- Corrected layout rendering for modal resize handles and JSON data import form
Tests
- Migrate test framework from Vitest to Jest (87 tests)
- All existing tests converted to Jest syntax and passing
- Added comprehensive test coverage for hooks and components
survey-web
Bug Fixes
- Externalize React and React DOM peer dependencies to resolve Context isolation issue (PR #23)
- Same fix as master-web: ensures shared React instance with host application
Tests
- Migrate test framework from Vitest to Jest
- Test infrastructure aligned with master-web for consistency
0.0.41 (2026-02-10)
Features
- master-web: Update RichTextEditor and field-editor with enhanced toolbar options and color palette
0.0.40 (2026-01-27)
Features
- master-web: Enhance ReactQuill integration with custom block registration
0.0.39 (2025-12-18)
Bug Fixes
- survey-web: Fix Japanese text display issues
Features
- survey-web: Add regex validation logic for survey questions
0.0.38 (2025-12-18)
Features
- survey-web: Show confirmation modal when navigating away with unsaved schema changes
0.0.37 (2025-12-17)
Features
- survey-web: Implement type-specific field clearing in QuestionCreator
- survey-web: Add Japanese text localization, "Other" option support, and CSS improvements
0.0.36 (2025-12-15)
Bug Fixes
- survey-web: Set default validation rule for short text and long text question creators
0.0.35 (2025-12-14)
Features
- survey-web: Add number validation rule for short text questions
0.0.34 (2025-12-12)
Bug Fixes
- survey-web: Fix value number handling and survey creator export
Features
- survey-web: Export survey creator component for external use
0.0.33 (2025-12-08)
Features
- survey-web: Localize long text, short text, date, and linear scale validation options and placeholders in Japanese
0.0.32 (2025-11-25)
Features
- survey-web: Synchronize question ID with label and update routing paths to admin section
0.0.31 (2025-11-19)
Bug Fixes
- master-web: Update error messages for regex validation to be more user-friendly in EditMasterData component
0.0.30 (2025-11-14)
Features
- master-web: Implement helper function to build attributes object for master data form
0.0.29 (2025-11-12)
Features
- master-web: Add clear button functionality to MasterData and MasterSetting components
0.0.28 (2025-11-11)
Features
- master-web: Add regex pattern validation and input field for string data type in AddFieldsForm
0.0.27 (2025-11-10)
Features
- master-web: Add error handling for API responses in AddJsonData component
- master-web: Improve ImportJSONButton to handle file reading errors and allow re-selection of the same file
0.0.26 (2025-11-10)
Features
- survey-web: Enhance SurveyForm component with children support and disabled state handling
0.0.25 (2025-11-06)
Features
- survey-web: Update Japanese placeholder text in dropdown and long-text components
0.0.24 (2025-11-06)
Features
- survey-web: Update options handling in OptionsCreator to synchronize label and value fields
0.0.23 (2025-11-04)
Features
- master-web: Enhance AddJsonData component with mapping functionality and validation for bulk data import
0.0.22 (2025-10-31)
Features
- master-web: Enhance master setting import data and setting functionality
0.0.21 (2025-10-29)
Features
- master-web: Enhance master settings with bulk import support
- master-web: Implement bulk command status hook and update components for bulk data import
0.0.17 (2025-10-16)
Features
- Initial monorepo setup with master-web and survey-web packages
- master-web: Migrate to new monorepo file structure
- survey-web: Initial survey library implementation
Bug Fixes
- Resolve dependency conflicts in package-lock.json
- Resolve picomatch dependency conflicts using npm overrides
- Correct version numbering and improve Lerna workflow