You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
724 B

3 years ago
  1. # Deprecations
  2. This document lists all the planned deprecations.
  3. ## Handlers will be removed in 2.0
  4. The `Handler` type and associated calls will be removed in version 2.0.
  5. ### Upgrade path
  6. You should create your own implementation for handling OOP usage,
  7. but it's recommended to move away from using an OOP-style wrapper entirely.
  8. The reason for this is that it's too easy for implementation details (for
  9. your application this is Flysystem) to leak into the application. The most
  10. important part for Flysystem is that it improves portability and creates a
  11. solid boundary between your application core and the infrastructure you use.
  12. The OOP-style handling breaks this principle, therefore I want to stop
  13. promoting it.