@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 +30 -10
- package/index.d.ts +349 -349
- package/index.esm.js +1 -1
- package/lite.esm.js +1 -1
- package/package.json +11 -2
- package/src/index.d.ts +3 -3
- package/src/managers/field.d.ts +3 -0
- package/src/managers/form.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## [1.1.1] - 2025-06-25
|
|
6
6
|
|
|
7
|
-
|
|
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
|
-
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
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
|