@bolttech/form-engine-core 1.1.0 → 1.1.1

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
@@ -1,16 +1,36 @@
1
1
  # Changelog
2
2
 
3
- ## [1.1.0] - 2025-06-02
3
+ All notable changes to this project will be documented in this file.
4
4
 
5
- ### Features
5
+ ## [1.1.1] - 2025-06-25
6
6
 
7
- - **SSR compatibility**: Replaced `XMLHttpRequest` with `fetch` API for HTTP requests, enabling server-side rendering in Node.js 18+ environments
8
- - **`prefetchedData` schema option**: Added `prefetchedData` field to `IFormSchema` allowing pre-populated API response caches for fields during SSR
9
- - **`TPrefetchedFieldData` interface**: New type for defining pre-fetched API data per field
10
- - **Package metadata**: Added `"sideEffects": false` and `"exports"` field for proper tree-shaking in modern bundlers
7
+ ### Fixed
11
8
 
12
- ### Breaking Changes
9
+ - Sync externally controlled value to field state after mount
10
+ - Ensure validation, formatter, and mask handlers are registered before manager initialization by importing them directly in `field.ts` and `form.ts`
11
+ - Move handler imports to the top of `index.ts` entry point to guarantee registration order
12
+ - Update `sideEffects` configuration in `package.json` to properly mark handler files, preventing tree-shaking from removing registration side effects
13
13
 
14
- - `makeRequest` now uses `fetch` instead of `XMLHttpRequest`
15
- - `TApiConfig.headers` type changed from `OutgoingHttpHeaders` (Node.js `http2`) to `Record<string, string>`
16
- - Minimum Node.js version: 18+ (required for native `fetch`)
14
+ ### Changed
15
+
16
+ - Remove unused `BehaviorSubject` import from `form.ts`
17
+ - Remove unused `validationRegistry` import from `validations/handler.ts`
18
+
19
+ ## [1.1.0] - 2025-05-12
20
+
21
+ ### Added
22
+
23
+ - Plugin registry system with `registerValidations`, `registerFormatters`, and `registerMasks`
24
+ - Lite entry point (`/lite`) without built-in validations/formatters/masks
25
+ - Separate entry points for credit-card, document, currency, and date modules
26
+ - Tree-shakeable architecture with modular exports
27
+
28
+ ## [1.0.0] - 2025-04-01
29
+
30
+ ### Added
31
+
32
+ - Initial release of `@bolttech/form-engine-core`
33
+ - RxJS-based reactive form state management
34
+ - Built-in validations, formatters, and masks
35
+ - Schema-driven form field configuration
36
+ - API integration support with debouncing