Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.35 KB

UPGRADING.md

File metadata and controls

19 lines (14 loc) · 1.35 KB

Upgrade Guide

Version 2 to 3


Note: This is a complete refactor! Please be sure to read the docs carefully before upgrading.

  • Minimum PHP version has been bumped to 7.4 to match the upcoming framework changes
  • All properties that can be typed have been
  • The services no longer exist; remove all references to Services::Assets and Services::manifests to avoid exceptions
  • This library no longer publishes Assets; convert Manifests to the framework's new Publisher format
  • Many of the example Manifests now have an official Publisher equivalent at Tatter\Frontend
  • The DirectoryHandler (mapping public directories to routes) has no equivalent in v3 so be sure to create explicit bundles and routes for any you were using
  • The view files have been removed and replaced by AssetsFilter to handle tag injection directly; read the docs on setting up the filter

For an example of converting a v2 JSON manifest to a v3 framework Publisher compare these files: