Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.9 KB

File metadata and controls

43 lines (30 loc) · 1.9 KB

Upgrading

We aim to make upgrading between versions as smooth as possible, but sometimes it involves specific steps to be taken. This document will outline those steps. And as much as we try to cover all cases, we might miss some. If you come across such a case, please let us know by opening an issue, or by adding it yourself and creating a pull request.

v0.8.0

  • The namespace for the AnonymizeUsers processor was changed. Make sure to update your config file accordingly:

    - \VanOns\LaravelEnvironmentImporter\Processors\AnonymizeUsers::class
    + \VanOns\LaravelEnvironmentImporter\Processors\Data\AnonymizeUsers::class
  • The db_timeout configuration option was added (default: 60, same as the default shell command timeout). Set the option to null to disable the timeout.

  • The db_ssh_tunnel_timeout configuration option was added (default: 30 seconds). This sets the timeout for establishing an SSH tunnel to the remote database server. Set the option to null to disable the timeout.

  • The db_type configuration option was added to environments.*. This allows specifying the database type of the remote environment (mysql (default), mariadb, mongodb, pgsql or sqlite).

v0.6.0

  • The configuration for the AnonymizeUsers processor was changed. Make sure to update your config file accordingly, so that it follows the following format:

    \VanOns\LaravelEnvironmentImporter\Processors\Data\AnonymizeUsers::class => [
        'preserve_emails' => ['@example.com', 'john@doe.com'],
        'email_domain' => 'example.com',
        'password_override' => 'password',
    ]

v0.4.0

  • The sensitive_tables config key was renamed to empty_tables. A fallback has been put in place that will use the old key, in case the new key is empty, but it is recommended to update your config.