This is the first stable release of the WP File System, a library that provides an object — oriented, secure, and extensible interface for working with the WordPress file system. This version includes a complete set of tools for reading, writing, managing, and auditing the file system, as well as advanced utilities wrapped in an easy-to-use WPFS facade.
- Layered Structure: The architecture is divided into clear layers: contracts (interfaces), adapters to the native API, decorators for extending functionality, and a single facade for access.
- Guarded Mode: An optional mode is implemented, which instead of returning false generates typed exceptions (FSPathNotFoundException, FSPermissionException), which allows using modern error handling via try/catch.
- Hooks API: Every operation in the system is wrapped in WordPress actions (do_action) and filters (apply_filters), which makes the library fully extensible.
- Fluent Builder: The FSBuilder class has been added to perform complex sequential file operations in a single, readable call stream.