@avstantso/utils-names-tree 1.2.1 → 1.3.2

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,6 +1,42 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [1.3.2] - 2026-02-04
5
+
6
+ ### Changed
7
+
8
+ - Removed `dev-basic` workspace dependency (dev deps now resolved via `.yarnrc.yml` packageExtensions)
9
+
10
+
11
+ ## [1.3.1] - 2026-02-04
12
+
13
+ ### Added
14
+
15
+ - **`NamesTree.symbolRootAlias`** — Symbol for accessing the `rootAlias` value from tree instances via `tree[NamesTree.symbolRootAlias]`, avoiding property name conflicts
16
+
17
+
18
+ ## [1.3.0] - 2026-01-31
19
+
20
+ ### Added
21
+
22
+ - **20+ new built-in kinds** for various formatting scenarios:
23
+ - Basic delimiters: `slash`, `backslash`, `dot`, `amp`, `hash`, `colon`, `arrow`, `dash`, `underscore`, `doubleColon`, `comma`, `semicolon`, `space`, `pipe`
24
+ - Derived kinds: `url`, `query`, `longArg`, `shortArg`, `envVar`, `cssClass`, `cssId`, `anchor`, `scoped`, `param`, `arg`, `params`, `args`
25
+ - Aliases: `snake`, `namespace`, `csv`, `title`
26
+ - **`rootAlias` option** - adds an alias property for tree root (e.g., `{ rootAlias: 'Home' }` for URL trees)
27
+ - **`defaultKind` option** - specifies which kind to use for default `toString()` output
28
+ - **Flexible leaf values** - source data leaf nodes can be any type (string, number, boolean, etc.), not just empty strings
29
+ - **`ResolveKind` type** - compile-time kind resolution for precise type inference
30
+ - **`KindMeta` interface** - metadata system for kinds (prefix, separator, beforeEach, afterEach, up)
31
+
32
+ ### Changed
33
+
34
+ - **BREAKING:** `splitted` renamed to `$splitted`
35
+ - **BREAKING:** `merge` renamed to `$merge`
36
+ - Improved type inference — `as const` no longer needed for data structures (only for options like `prefix`, `rootAlias`)
37
+ - Updated `@avstantso/ts` dependency
38
+
39
+
4
40
  ## [1.2.1] - 2026-01-18
5
41
 
6
42
  ### Changed