Skip to content

Commit 62b8ac0

Browse files
committed
docs: update documentation and version for v1.0.7
1 parent 2eff994 commit 62b8ac0

3 files changed

Lines changed: 25 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
All notable changes to `nova-dependency-container` will be documented in this file.
44

5+
## [1.0.7] - 2025-11-25
6+
7+
### Fixed
8+
- Fixed cross-group contamination in multi-group Flexible layouts ([#4](https://github.com/iamgerwin/nova-dependency-container/issues/4))
9+
- Fixed context detection failing when container and child field attributes are empty
10+
11+
### Added
12+
- Added `detectFlexibleContextOnMount()` for early context detection at component mount
13+
- Added `contextDetected` flag for better context state management
14+
- Added DOM-based context detection as fallback method
15+
- Added Vue component tree traversal for Flexible layout parent detection
16+
17+
### Changed
18+
- Enhanced context detection to use multiple methods: container attribute, child fields, parent components, and DOM
19+
- Improved event handling to only cache base attribute when context matches
20+
- Events from other Flexible groups are now strictly filtered once context is detected
21+
- Context is now claimed only from events matching dependency fields
22+
23+
### Technical
24+
- Implemented 4-method context detection approach in FormField.vue
25+
- Implemented same detection approach in DetailField.vue for consistency
26+
- Each container now maintains its own isolated context
27+
528
## [1.0.6] - 2025-11-25
629

730
### Fixed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iamgerwin/nova-dependency-container",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "A Laravel Nova 4 and 5 field container allowing to depend on other fields values",
55
"keywords": [
66
"laravel",

docs/flexible-field-support.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ This ensures that changing a field in Overlay Item #1 doesn't affect the depende
168168

169169
## Version History
170170

171+
- **1.0.7**: Fixed multi-group context contamination with 4-method detection approach
171172
- **1.0.6**: Improved Flexible field context detection and cross-group event filtering
172173
- **1.0.5**: Added Flexible field support (this feature)
173174
- **1.0.4**: Nova 4.35.x compatibility fixes

0 commit comments

Comments
 (0)