Commit 77fac3c
committed
🔖 release v1.4.0
## 1.4.0
* [FEAT] add `EncodeOptions.max_depth` to cap encoding traversal depth (capped to the current recursion limit)
* [FIX] avoid `RecursionError` on deeply nested input by enforcing a configurable encoding depth guard
* [FIX] make `WeakWrapper` hashing identity-based to keep weak-key lookups stable after mutations
* [CHORE] optimize encode/merge paths (shallow-copy root mappings, reuse dict targets in internal merges)
* [CHORE] expand tests and documentation for encoding depth limits1 parent 35494c7 commit 77fac3c
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
1 | 9 | | |
2 | 10 | | |
3 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments