Skip to content

Latest commit

 

History

History
87 lines (68 loc) · 1.71 KB

UPGRADE.md

File metadata and controls

87 lines (68 loc) · 1.71 KB

UPGRADE before 1.0-RC1

Table of Contents

Plugin installation

Since 1.0.0-RC1 the reconfigure command was renamed to plugins:install (which uses the lock file) and plugins:update (which updates the lock file).

Remote configuration

Since 0.11.0 the bundle OneupFlysystemBundle was removed and replaced with a simpler configuration (see #113).

Before: nanbando.yml

nanbando:
    storage:
        local_directory: "%home%/nanbando"
        remote_service: filesystem.remote

oneup_flysystem:
    adapters:
        remote:
            local:
                directory: "%home%/nanbando/remote"

    filesystems:
        remote:
            adapter: remote
            alias: filesystem.remote
            plugins:
                - filesystem.list_files

After:: nanbando.yml

nanbando:
    storage:
        local_directory: "%home%/nanbando"
        remote:
            local:
                directory: "%home%/nanbando/remote"

Plugin Discovery

Before: puli.json

{
    "version": "1.0",
    "name": "<name>",
    "bindings": {
        "<uuid>": {
            "_class": "Puli\\Discovery\\Binding\\ClassBinding",
            "class": "<bundle-class>",
            "type": "nanbando/bundle"
        }
    }
}

After: composer.josn

{
    ...
    "extra": {
        "nanbando-bundle-class": "<bundle-class>"
    }
}

Filenames

The filenames was changed in 0.5.0 (see #62) from pattern H-i-s-Y-m-d to Y-m-d-H-i-s. Rename files to fit the new pattern.