Skip to content

v4.0.0

Latest

Choose a tag to compare

@Athlon1600 Athlon1600 released this 04 Jun 21:00
· 1 commit to master since this release

Lots of breaking changes, but mostly to do with how plugins are loaded.

  • php-proxy-plugin-bundle package has been deprecated. This project no longer depends on it. If you want to use any of its plugins, you will have to import them manually. See: https://github.com/Athlon1600/php-proxy-plugin-bundle
  • Inside config.php, we load plugins by specifying each plugin class exactly.

Before:

$config['plugins'] = array(
    'HeaderRewrite',
    'Stream'
);

After:

$config['plugins'] = array(
    \Proxy\Plugin\HeaderRewritePlugin::class,
    \Proxy\Plugin\StreamPlugin::class
);

However, you can still specify plugin by name as long as that plugin class is inside plugins/ directory.

If a plugin could not be found, app would no longer crash with error. Plugin would just not be loaded.

Full Changelog: v3.0...v4.0.0