Skip to content

Commit 11c383e

Browse files
committed
Updated readme and upgrade
1 parent e533cc1 commit 11c383e

3 files changed

Lines changed: 21 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ library into Symfony applications.
1111
It provides an efficient abstraction for the filesystem in order to change the storage backend depending
1212
on the execution environment (local files in development, cloud storage in production and memory in tests).
1313

14-
> Note: you are reading the documentation for flysystem-bundle 2.0, which relies on Flysystem 2 or Flysystem 3.
15-
> If you use Flysystem 1.X, use [flysystem-bundle 1.X](https://github.com/thephpleague/flysystem-bundle/tree/1.x).
14+
> Note: you are reading the documentation for flysystem-bundle 3.0, which relies on Flysystem 3.
15+
> If you use Flysystem 1.X, use [flysystem-bundle 1.X](https://github.com/thephpleague/flysystem-bundle/tree/1.x).
16+
> If you use Flysystem 2.X, use [flysystem-bundle 2.X](https://github.com/thephpleague/flysystem-bundle/tree/2.3.0).
1617
> Read the [Upgrade guide](https://github.com/thephpleague/flysystem-bundle/blob/master/UPGRADE.md) to learn how to upgrade.
1718
1819
## Installation
1920

20-
flysystem-bundle requires PHP 7.2+ and Symfony 4.2+.
21+
flysystem-bundle requires PHP 8.0+ and Symfony 5.4+.
2122

2223
You can install the bundle using Symfony Flex:
2324

UPGRADE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,19 @@ In addition to the library updates, the bundle also changed a bit:
1515
* Drop support for Azure, Dropbox, Rackspace and WebDAV adapters (following the main library) ;
1616
* Drop support for null, cache, zip and replicate adapters (following the main library) ;
1717
* Drop support for plugins ;
18+
19+
# Upgrading from 2.0 to 3.0
20+
21+
flysystem-bundle 3.0 relies on Flysystem 3.0, PHP 8.0+ and Flysystem adapters 3.1+.
22+
23+
The changes in this version focus on dropping support for EOL versions of PHP and Symfony and
24+
adding support for Azure Blob Storage.
25+
No new backwards incompatible code changes have been directly introduced by this new bundle version.
26+
As with any major version upgrade, please be sure to test thoroughly.
27+
28+
These changes are;
29+
30+
* Added support for Azure Blob Storage (`league/flysystem-azure-blob-storage ^3.1`)
31+
* Dropped support for PHP 7
32+
* Dropped support of `league/flysystem ^2.0` and older Flysystem adapters `league/flysystem-* ^2.0|3.0.*`
33+
* Dropped support for Symfony 4.2 to 5.3

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"league/flysystem-azure-blob-storage": "^3.1",
3535
"league/flysystem-ftp": "^3.1",
3636
"league/flysystem-google-cloud-storage": "^3.1",
37-
"league/flysystem-memory": "^3.0",
37+
"league/flysystem-memory": "^3.1",
3838
"league/flysystem-sftp-v3": "^3.1",
3939
"symfony/dotenv": "^5.4|^6.0",
4040
"symfony/framework-bundle": "^5.4|^6.0",

0 commit comments

Comments
 (0)