@xnoxs/flux-lang 3.1.2 → 3.2.0

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
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ---
9
9
 
10
+ ## [3.2.0] — 2026-06-24
11
+
12
+ ### Added
13
+ - **Decorators** — `@name` and `@name(args)` syntax on `fn` and `class` declarations; applied post-definition (bottom-up order)
14
+ - **Private fields** — `private var field` in classes emits JS `#field` syntax with proper `#field;` declaration at class top
15
+ - **Stdlib — Array extras** (20 new): `first/head`, `last`, `tail`, `nth`, `take`, `drop`, `takeWhile`, `dropWhile`, `compact`, `intersection`, `difference`, `arrayUnion`, `unzip`, `countBy`, `minBy`, `maxBy`, `toPairs`, `partition`, `count`, `rotate`, `sliding`
16
+ - **Stdlib — Math** (10 new): `min`, `max`, `abs`, `floor`, `ceil`, `round`, `mean`, `median`, `stdDev`, `lerp`
17
+ - **Stdlib — Objects** (6 new): `keys`, `values`, `entries`, `merge`, `invert`, `defaults`
18
+ - **Stdlib — Strings** (11 new): `padStart`, `padEnd`, `trim`, `trimStart`, `trimEnd`, `words`, `lines`, `startsWith`, `endsWith`, `repeat`, `replaceAll`, `reverseStr`
19
+ - **Stdlib — Type checks** (7 new): `isNil`, `isString`, `isNumber`, `isArray`, `isObject`, `isFunction`, `isBool`
20
+ - **Stdlib — Async** (4 new): `timeout`, `allSettled`, `debounce`, `throttle`
21
+ - **Stdlib — Functional** (5 new): `identity`, `noop`, `once`, `flip`, `complement`
22
+ - **Docs** — all stdlib sections fully updated; new "Type Checks" section and sidebar entry
23
+
24
+ ### Changed
25
+ - Stdlib is now tree-shaken: only symbols actually used in compiled output are injected
26
+ - Transpiler version bumped to v3.2.0 in generated file header
27
+
28
+ ---
29
+
10
30
  ## [3.1.0] — 2026-06-24
11
31
 
12
32
  ### Added