@hyperfixi/core 2.8.0 → 2.9.1

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/ast-utils/index.js +1201 -891
  3. package/dist/ast-utils/index.mjs +1201 -891
  4. package/dist/chunks/{bridge-DHj-SYm2.js → bridge-BYhqTOnL.js} +2 -2
  5. package/dist/chunks/browser-modular-D2BHzZFB.js +2 -0
  6. package/dist/chunks/feature-eventsource-Bxg_UNZo.js +2 -0
  7. package/dist/chunks/feature-sockets-CcTxD5sT.js +2 -0
  8. package/dist/chunks/feature-webworker-DoqZ0Grg.js +2 -0
  9. package/dist/chunks/{index-CuPeasRm.js → index-DXgJaDj-.js} +2 -2
  10. package/dist/commands/index.js +168 -112
  11. package/dist/commands/index.mjs +168 -112
  12. package/dist/hyperfixi-browser-classic-i18n.js +1 -1
  13. package/dist/hyperfixi-browser-minimal.js +1 -1
  14. package/dist/hyperfixi-browser-standard.js +1 -1
  15. package/dist/hyperfixi-browser.js +1 -1
  16. package/dist/hyperfixi-classic-i18n.js +1 -1
  17. package/dist/hyperfixi-hx-v4.js +1 -1
  18. package/dist/hyperfixi-minimal.js +1 -1
  19. package/dist/hyperfixi-multilingual.js +1 -1
  20. package/dist/hyperfixi-standard.js +1 -1
  21. package/dist/hyperfixi.js +1 -1
  22. package/dist/hyperfixi.mjs +1 -1
  23. package/dist/index.js +2119 -1538
  24. package/dist/index.min.js +1 -1
  25. package/dist/index.mjs +2119 -1538
  26. package/dist/lokascript-browser-classic-i18n.js +1 -1
  27. package/dist/lokascript-browser-minimal.js +1 -1
  28. package/dist/lokascript-browser-standard.js +1 -1
  29. package/dist/lokascript-browser.js +1 -1
  30. package/dist/lokascript-multilingual.js +1 -1
  31. package/dist/lsp-metadata.js +5 -5
  32. package/dist/lsp-metadata.mjs +5 -5
  33. package/dist/metadata.js +25 -25
  34. package/dist/metadata.mjs +25 -25
  35. package/dist/multilingual/index.js +17 -17
  36. package/dist/multilingual/index.mjs +17 -17
  37. package/dist/parser/command-parsers/utility-commands.d.ts +1 -0
  38. package/dist/parser/full-parser.js +155 -106
  39. package/dist/parser/full-parser.mjs +155 -106
  40. package/dist/parser/parser.d.ts +1 -0
  41. package/dist/reference/index.js +1 -0
  42. package/dist/reference/index.mjs +1 -0
  43. package/dist/registry/index.js +155 -106
  44. package/dist/registry/index.mjs +155 -106
  45. package/dist/types/base-types.d.ts +3 -0
  46. package/package.json +7 -6
  47. package/dist/chunks/browser-modular-D1m0Eikh.js +0 -2
  48. package/dist/chunks/feature-eventsource-BpZvPy_K.js +0 -2
  49. package/dist/chunks/feature-sockets-CrYvjZ4j.js +0 -2
  50. package/dist/chunks/feature-webworker-BSYguEIW.js +0 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,52 @@
1
+ # Changelog
2
+
3
+ All notable changes to @lokascript/core will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [2.1.0] - 2025-01-25
9
+
10
+ ### Added
11
+
12
+ - **Fixi.js compatibility** in hybrid-hx bundle
13
+ - `fx-action`, `fx-method`, `fx-trigger`, `fx-target`, `fx-swap`, `fx-ignore` attributes
14
+ - Full fixi event lifecycle: `fx:init`, `fx:config`, `fx:before`, `fx:after`, `fx:error`, `fx:finally`, `fx:swapped`
15
+ - Request dropping (anti-double-submit) - new requests dropped while one is pending
16
+ - `fx-ignore` attribute to exclude elements from processing
17
+
18
+ ## [2.0.0] - 2025-01-19
19
+
20
+ ### Added
21
+
22
+ - Complete hyperscript runtime with 43 command implementations
23
+ - Full AST parser with ~3800 lines of parsing logic
24
+ - Multilingual support via semantic parser integration
25
+ - TypeScript-first API with comprehensive type safety
26
+ - Multiple bundle options: lite (8KB), hybrid-complete (28KB), full (912KB)
27
+ - Custom bundle generator for tree-shaking
28
+ - Command pattern architecture for extensibility
29
+ - Expression system with 6 categories (references, logical, conversion, positional, properties, special)
30
+ - Unified `MultilingualHyperscript` API for 23 languages
31
+ - Debug control system with persistent localStorage
32
+ - Event metadata tracking and debugging tools
33
+ - htmx compatibility layer with lifecycle events
34
+ - Comprehensive test suite (4045+ tests passing)
35
+
36
+ ### Changed
37
+
38
+ - Refactored from version 1.x to 2.0 with breaking API changes
39
+ - Improved parser performance and error messages
40
+ - Enhanced TypeScript types with conditional environment types
41
+ - Updated bundle generation strategy for better tree-shaking
42
+
43
+ ### Fixed
44
+
45
+ - Event handler binding with correct addEventListener signature
46
+ - Expression evaluation in various contexts
47
+ - Memory leaks in event listeners
48
+ - Edge cases in command execution
49
+
50
+ ## [1.x] - Previous Versions
51
+
52
+ See git history for changes in 1.x versions.