Skip to content

Releases: medishen/gland

v1.1.1

16 Sep 16:45
Compare
Choose a tag to compare

[1.1.1] - 2024.09.16

fix

  • remove console.logs

Full Changelog: v1.1.0...v1.1.1

v1.1.0

16 Sep 16:03
Compare
Choose a tag to compare

[1.1.0] - 2024-09-16

Added

  • Batch Loading Support: Implemented batch loading of routes with a configurable batch size of 10 to improve the efficiency of module loading, especially with a large number of routes.
  • File Watcher: Added a file watcher feature to reload modules dynamically when the files change. This can be enabled via the watch option in the configuration.
  • Route Parsing: Enhanced configuration parsing to support the definition of multiple routes under the router section. The routes are automatically resolved based on the provided configuration file.

Changed

  • Improved Configuration Handling: The module loader now merges the default configuration with the provided configuration, ensuring proper handling of missing or optional fields like path, routes, cache, and watch.

Fixed

  • Error Handling: Improved error handling for missing routes in the configuration file. A clear error message is now thrown if no routes are specified.

Performance Improvements

  • Module Caching: Added caching logic to prevent redundant module imports, leading to faster performance when caching is enabled.

Full Changelog: v1.0.0...v1.1.0