2.4.0
Changelog
All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
2.4.0 (2025-07-10)
Features
- filter hidden field props (76f8e6f)
2.3.1 (2025-07-09)
Bug Fixes
2.3.0 (2025-07-03)
Features
- enhance CheckBoxField to improve checked value logic with boolean handling (163b7f0)
- update CheckBoxField to simplify active state handling and improve checked value logic (21c8780)
2.2.0 (2025-07-02)
Features
- refine DynamicSelect component by improving value handling and query enabling logic (c21f1b7)
2.1.1 (2025-07-02)
2.1.0 (2025-06-25)
Features
- add localText for LocalizationProvider (38f81fc)
2.0.0 (2025-06-19)
⚠ BREAKING CHANGES
-
passage à la version 2.0.0
-
release major version (2808a00)
Features
- add ancestor injection examples and enhance Sandbox for dynamic tree selection (23b2c59)
- add ancestor injection support in TreeNode structures and introduce UUID-based retrieval utility (bdb6001)
- add ancestor value support to FieldFactory, SwitchField, and TextField components (691ca31)
- add formatValue function to handle rawValue formatting in TimePicker component (bd97080)
- add tests for paramsBuilder and urlBuilder utilities to ensure correct parameter handling (406a858)
- add urlBuilder utility and integrate dynamic URL handling in ApiAutocomplete and DynamicSelect components (e0d4dd5)
- display loading state in select value and remove redundant helper text in DynamicSelect (23fa865)
- encode dynamic values in URL builder to ensure proper formatting (764d2eb)
- enhance Address component and address adapter for improved ancestor value handling (e893324)
- enhance addressToGoogleAutocompleteAdapter to return structured geocoding address type (64816f3)
- enhance ancestor value handling and update autocomplete parameters (b39dc79)
- enhance ancestor value handling and update related components (b09668c)
- enhance ancestor value handling with safe property access and improve type definitions (f329bfa)
- enhance ancestor value propagation and improve form handling in input components (a83e7a0)
- enhance ancestor value update in DatePicker to trigger onChange only on actual changes (d1c12a2)
- enhance ApiAutocomplete and FieldFactory to support ancestor value injection (2ef2c79)
- enhance App, DataViewer, Sandbox, TextField, and useTreegeConsumer components to improve detailFieldValues handling and synchronization logic (a1bb8f1)
- enhance App, TextField, and TreegeConsumer components to improve detailFieldValues handling and synchronization logic (8bda964)
- enhance CheckBoxField, FieldFactory, Radio, and SwitchField components to support ancestorValue handling and improve default selection logic (e90f63f)
- enhance DatePicker and FieldFactory components to improve ancestorValue handling and synchronization logic (b43724b)
- enhance DatePicker and FieldFactory components to support ancestorValue handling and improve value consumption logic (d926a11)
- enhance DatePicker and SwitchField components to improve ancestorValue synchronization logic (e0a74c9)
- enhance DatePicker, FieldFactory, SwitchField, and TextField components to improve ancestorValue handling and state management (df3267b)
- enhance DateRange and FieldFactory components to improve ancestorValue handling and synchronization logic (7719f4b)
- enhance DynamicSelect component to support URL change detection and improve value handling (35d9097)
- enhance FieldFactory and TextField components to support dynamic ancestorValue handling and update testWorksiteHours structure (961b4d2)
- enhance FieldFactory, Radio, and SwitchField components to support ancestorValue handling and improve default selection logic (1710a9e)
- enhance Radio component to support ancestorValue changes and improve default selection logic (b9cbb70)
- enhance Select and SwitchField components to improve ancestorValue handling and synchronization logic (558d34d)
- enhance TextField component to improve ancestorValue handling and state synchronization (b096e59)
- enhance TimePicker and FieldFactory components to support time type and ancestorValue synchronization (e55ed14)
- enhance TimeRange component to support timeRange structure and improve parsing logic (37494a0)
- exemple improvement (aaad4c7)
- handle undefined ancestorValue in TextField component (a04d44b)
- implement ancestor injection in TreeNode structure and add utility for node retrieval by UUID (ce76005)
- implement ancestor value handling in Autocomplete component and add address adapter (e937d14)
- improve placeholder resolution and enhance input value handling in DynamicSelect component (112382e)
- refactor Address and FieldFactory components to replace ancestorValue handling with detailFieldValues integration (1d5d64c)
- refactor App and Sandbox components to improve tree data handling and add example selection (90e22b2)
- refactor component structure and enhance type definitions (1606eb0)
- refactor components to replace TreeFieldValues with DetailFieldValues for improved data handling (9bd6e5d)
- refactor dynamic select component and update parameter handling (eeb0928)
- refactor Radio component to improve ancestorValue handling and default selection logic (0e33b27)
- refactor Radio component to improve ancestorValue handling and default selection logic (7f7d3ef)
- refactor request fetching and enhance parameter handling in autocomplete components (d80ead9)
- refine isActive logic in CheckBoxField to handle undefined ancestorValue (ddc86f6)
- refine value handling in DynamicSelect and FieldFactory components for improved safety and clarity (1edb4e4)
- remove unused tree prop from TreegeConsumer component (afc77f0)
- remove unused tree prop from TreegeConsumer component (b792b31)
- remove unused tree prop from TreegeConsumer component (3cf3226)
- rename 'raw' to 'rawData' for consistency and add ancestor test data (2aa64e2)
- replace custom property getter with getObjectValue utility in FieldFactory and ApiAutocomplete (b4ce894)
- replace type checks with isString utility for ancestorValue handling across components (29aecac)
- simplify ancestor value consumption logic in FieldFactory component (f768dcd)
- simplify isActive calculation in SwitchField component (6b5ac26)
- simplify isActive handling in CheckBoxField component (bac66b5)
- sync ancestor value with onChange handler in Select component (9f60e37)
- update @tracktor/react-utils dependency to version 1.23.0 (ed67141)
- update @tracktor/react-utils to version 1.24.0 and enhance parameter string conversion logic (ac25d6c)
- update @tracktor/types-treege dependency to version 0.3.14 and clean up onSubmit logic in TreegeConsumer (cb88e87)
- update address validation to include streetNumber in AddressAdapterParams (37955d9)
- update ancestor handling to use autocomplete test data and refactor raw data access (1c209f1)
- update ApiAutocomplete to use dynamic URL for search requests (1b645de)
- update App and DatePicker components to integrate testBookingWorksiteHours and enhance ancestorValue handling (c79d7be)
- update App component to use basicExample data and clean up TextField component's ancestorValue handling (94becf1)
- update App component to use testWorksiteHours data and enhance DynamicSelect and TimeRange components with ancestorValue handling (c3a27c3)
- update DatePicker to remove null value assignment in value prop (ffe2dd8)
- update environment variable access for authorization and Google API key (ec4e3c8)
- update FieldFactory and TextField to support ancestor value handling (0b6339b)
- update gitignore (158df6a)
- use isArray and isObject for improved type checks in paramsBuilder (13a6581)
- use isObject and isArray utils for consistent type checks in adaptRouteResponseToOptions (3397bdf)
- use isObject and related utils for safer type checks and value extraction across components (0dfc2d5)
Bug Fixes
- correct typo in ResponseGeocodingAddress interface name in addressToGoogleAutocompleteAdapter (40bbbb6)
[2.0.0] - 2025-06-19
New Features
- Ancestor injection in tree structures: Added support for injecting ancestor field values directly into
TreeNodestructures, enabling nested context propagation throughout dynamic form trees. - UUID-based TreeNode retrieval utility: Introduced a utility to efficiently retrieve tree nodes by UUID, simplifying lookup and state mapping in complex trees.
- Added support for propagating ancestor field values to child input components, enabling dynamic field dependencies and value inheritance in forms.
- Introduced new utility functions for building dynamic URLs and API parameters based on ancestor values.
- Added new example datasets and advanced tree structures for demonstration and testing.
Enhancements
- All input components now accept and respond to ancestor values, ensuring form fields can automatically update based on related field changes.
- Improved form submission to include detailed field value tracking.
- Upgraded multiple dependencies and bumped version to 2.0.0.
Bug Fixes
- Improved value validation and initialization logic in input components to ensure consistency with ancestor context.
Refactor
- Simplified and unified internal state management in form components.
- Replaced custom hooks with direct utility usage for API data fetching.
Chores
- Removed redundant re-export files and unused icon components.
- Updated
.gitignoreto exclude environment files.
Tests
- Added comprehensive unit tests for new utility functions and parameter builders.
- Added tests for tree node search utility and URL building logic.