Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

0.12.1

Choose a tag to compare

@exronnin exronnin released this 29 May 15:26
· 89 commits to main since this release

Release Notes

Added

  • Added support for custom filesystem disk drivers.
  • Added Driver.registerDriver() and Driver.removeDriver() for registering custom Flydrive-compatible drivers.
  • Added custom_drivers support to filesystem config.
  • Added Storage and Driver as dedicated filesystem modules instead of keeping all storage logic in the package entrypoint.
  • Added filesystem config types, including FilesystemConfig, DriverConfig, built-in disk config types, and custom driver registry support.
  • Added in-memory config overrides via config({ ... }).
  • Added tests for config loading, config overrides, filesystem config, and custom filesystem drivers.

Changed

  • Refactored @arkstack/filesystem exports to expose storage, driver, FTP driver, and shared filesystem types from dedicated modules.
  • Updated Express and H3 filesystem templates to use typed FilesystemConfig.
  • Improved config interface generation to prefer explicit config return types, such as FilesystemConfig, instead of reconstructing large object shapes.
  • Generated config declarations now include needed import type statements for referenced config return types.

Fixed

  • Fixed generated config types for complex configs with known return types.
  • Fixed config mutation behavior so runtime overrides are stored in memory and merged with loaded config.
  • Fixed filesystem tests to use isolated config fixtures and custom driver helpers.

Full Changelog: 0.12.0...0.12.1