Skip to content

Releases: ai-primitives/mdxld-workers

v1.1.0

21 Dec 21:04
7c53fb9

Choose a tag to compare

1.1.0 (2024-12-21)

Bug Fixes

  • add import.meta define to both build configs (1a59485)
  • add proper null checks for optional MDXLD properties (3ed8434)
  • add proper type checks for WorkerConfig properties (92e34b8)
  • add type annotation to array map function (5f3585a)
  • align type exports between deploy/types.ts and index.ts (0f2ab7c)
  • consolidate metadata processing and improve special field handling (2cf44dc)
  • define import.meta and import.meta.url in build config (e1af19f)
  • define import.meta.url in esbuild config (0fbb628)
  • ensure special fields are present with all prefix variants (c58586d)
  • improve code block handling and JSON stringification (71ac99b)
  • improve code block handling and YAML-LD prefix support (6b43009)
  • improve code block handling to preserve only first line (f658f29)
  • improve control character handling in metadata serialization (93c7b02)
  • improve control character handling without regex ranges (f217f03)
  • improve metadata handling and fix lint errors (05f58f0)
  • improve metadata handling and JSON parsing in test helper (acab466)
  • improve metadata handling and JSON serialization (b9a3f3a)
  • improve metadata handling and YAML-LD frontmatter processing (54340c3)
  • improve metadata handling with proper type assertions and value processing (84bff3c)
  • improve metadata handling with two-pass processing (c820c6d)
  • improve metadata serialization and type safety in worker template (1efe80b)
  • improve metadata structure and field preservation (4e4e0bf)
  • improve test file structure and remove syntax errors (4f3fc32)
  • improve type safety and metadata field handling (0019f1c)
  • improve type safety and remove unused imports in metadata handling (af8c103)
  • improve type safety in metadata handling with proper type assertions (4dd36e9)
  • improve type safety in test helpers and YAML preprocessing (3e6aee0)
  • improve YAML preprocessing and metadata handling (695675b)
  • improve YAML-LD parsing and worker context handling (501f970)
  • improve YAML-LD parsing and WORKER_CONTEXT format (5844894)
  • make wrangler types optional in build script (73e5cf4)
  • preserve @ and $ prefixes in YAML-LD metadata (ec3440b)
  • remove duplicate format property and update ESM config (ffc5109)
  • remove import.meta.url shim in favor of process.cwd() (bfb4a01)
  • remove unused import-meta.js shim (9c8d077)
  • remove unused processMetadata function (32ded06)
  • resolve merge conflicts and improve metadata handling (65607cf)
  • resolve merge conflicts and improve metadata handling (fcae6ca)
  • resolve merge conflicts in compiler files (2fd1037)
  • resolve syntax errors and improve metadata handling (62c50da)
  • simplify build config and disable import.meta.url (d1fcec5)
  • simplify ESM build configuration (4009916)
  • update build config for dual CJS/ESM output (f250260)
  • update build config to properly handle ESM and import.meta.url (30aaf99)
  • update build config to use IIFE format and handle import.meta (aba21bb)
  • update build configuration to handle ESM modules correctly (9203b10)
  • update build configuration to use IIFE format consistently (aa2f97c)
  • update build script to use build.config.ts and document build issues (ffa9558)
  • update esbuild config for proper ESM handling (96e7b50)
  • update ESM configuration and export syntax (e17ab2b)
  • update ESM configuration and import.meta handling (8f7daec)
  • update ESM configuration and metadata handling (13c4024)
  • update import-meta-url shim to handle URL global properly (567360a)
  • update mdxld dependency to latest available version (d033065)
  • update MDXLD interface to handle optional properties (6b834fb)
  • update MDXLD interface to support string indexing (1a99c73)
  • update metadata parsing to handle @ and $ prefixes correctly (5656fa9)
  • update worker template to use IIFE format (095ddab)
  • update worker template to use proper ESM exports (0edfa5d)
  • update WORKER_CONTEXT format and YAML-LD @ prefix handling (33a6d64)
  • update WORKER_CONTEXT format to match test expectations ([635c31d](https://github.com/ai-primitives/mdxld-...
Read more

v1.0.0

21 Dec 09:55
412b96c

Choose a tag to compare

1.0.0 (2024-12-21)

Bug Fixes

  • add cloudflare workers types reference for fetch API (7ed3a33)
  • add deployment utilities and fix linting errors (746e6ec)
  • add dom lib and remove unused imports (7cfe352)
  • add eslint config with fetch global (25e5262)
  • add missing closing brace in CLI test file (97787e1)
  • add process.exit mocking and improve Commander.js exit handling (db877cf)
  • align CompileOptions type with compiler implementation (4b638fc)
  • capture console output and improve error handling (bb51abc)
  • ensure compatibility date is always defined in CLI options (61d04f4)
  • ensure console output before exit handling and improve error messages (2ea6bf3)
  • ensure console output before throwing exit errors (534feae)
  • ensure console output is captured before exit handling (00039cc)
  • ensure exit spy is called before throwing expected error (af4d437)
  • ensure explicit console output for version and help commands (82726ef)
  • ensure version and help text are logged before exit (1358916)
  • improve CLI command definitions and error handling (430e200)
  • improve CLI error handling and test assertions (43e445c)
  • improve CLI help handling and compile test assertions (bf47994)
  • improve CLI test assertions and platform API deployment handling (113b32e)
  • improve CLI type safety and options handling (1c5ee9d)
  • improve Commander.js exit handling with event listeners (f6af2c1)
  • improve error handling with proper type checking and specific error messages (547f1bc)
  • improve process.exit mock and CLI exit handling (6cc066f)
  • improve process.exit mock implementation with correct type signature (d6a8e11)
  • improve process.exit mocking and test assertions (9231aca)
  • improve process.exit mocking with direct assignment (9c4e861)
  • improve test types and restore all test cases (179fc9e)
  • let Commander.js handle exit behavior naturally (141bf7d)
  • mock process.exit in test environment and simplify error handling (71cb2f9)
  • move exitOverride before program configuration and simplify error handling (f07ca53)
  • remove redundant help output in exitOverride handler (9ba6e3a)
  • remove unused ast variable and add execa dependency (ab8ae32)
  • replace process.exit with throw Error to match test expectations (e79fc34)
  • restore compile options and update CLI handlers (328747c)
  • restore help command functionality and fix CLI tests (a5f77cf)
  • restore required type imports and update error message format (e256eb9)
  • restore test-specific exit handling and fix process.exit calls (30249c7)
  • simplify CLI implementation and restore exitOverride for consistent test behavior (7d8defd)
  • simplify CLI implementation and use Commander.js built-in help handling (feb253c)
  • simplify CLI implementation to use Commander's built-in help (32c55a2)
  • simplify Commander.js help and version handling (7e4d875)
  • streamline Commander.js exit handling through exitOverride (d429365)
  • Update ci.yml with GITHUB_TOKEN (412b96c)
  • update CLI command handlers and type definitions (7f3c7e8)
  • update CLI default action to use outputHelp (95cf31c)
  • update CLI error handling for help and version commands (a07bb59)
  • update CLI error handling for help text display (3238f73)
  • update CLI error handling to use Commander's exitOverride (9fbd728)
  • update CLI exit code handling and documentation (c644934)
  • update CLI exit handling to match test expectations (3e14623)
  • update CLI exit handling to use process.exit(0) for help and version commands (07be855)
  • update CLI help and version output handling (dbd9e5c)
  • update CLI help text handling and process exit codes (0812b04)
  • update CLI implementation and test setup (e1b1fe7)
  • update CLI implementation to match test expectations (ef3aa6d)
  • update CLI implementation to match test expectations and fix TypeScript errors (836a4e2)
  • update CLI success messages to match test expectations (872a5ee)
  • update CLI to use console.log for version and help output (ede24ab)
  • update CLI version and help flag handling (44c4e90)
  • update ESLint config and fix unused variable warning (d7384d2)
  • update eslint config for web APIs and document changes ([...
Read more