{"version":"0.2.83","anchor":"internal-architecture-changes","canonical_anchor":"internal-architecture-changes","heading":"Internal Architecture Changes","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/0.2.83\/e\/internal-architecture-changes","release_url":"https:\/\/changelogs.core-directive.com\/v\/0.2.83","markdown":"### Internal Architecture Changes\n\nDependency Updates\n\n- **Removed legacy polyfills**: Removed Microsoft tslib polyfills (Vj1) and several older semver-related modules (ti, XY1)\n- **Added ES module introspection utilities**: New low-level JavaScript runtime introspection modules for better error handling and type checking\n- **Enhanced runtime environment detection**: Added comprehensive checks for JavaScript built-in objects and methods\n\nJSON Schema Processing Enhancements\n\n- **New schema validation options**:\n- Added `allowedAdditionalProperties` configuration option (default: true)\n- Added `rejectedAdditionalProperties` configuration option (default: false)\n- These options provide finer control over how additional properties in JSON schemas are handled during validation\n- **Post-processing support**: Added `postProcess` callback support in the JSON schema generation pipeline, allowing for custom transformations after schema generation\n\nTool System Improvements\n\n- **Removed deprecated todo tool**: The internal `tengu_todo_tool` reference has been removed from the codebase\n- **Enhanced error handling**: Improved type checking for tool parameters with better runtime validation\n\nEvent Stream Processing\n\n- **Improved SSE parser**: Enhanced Server-Sent Events parser with better error handling and support for BOM (Byte Order Mark) detection\n- **Added stream reset options**: New `consume` parameter in the reset function for better stream state management\n\nPerformance and Stability\n\n- **Code simplification**: Removed approximately 44 deprecated functions while adding 473 new utility functions\n- **Better type safety**: Enhanced runtime type checking with new introspection utilities\n- **Improved error messages**: More descriptive error reporting with enhanced type validation"}