Skip to content

4.12.0

Compare
Choose a tag to compare
@idmarinas idmarinas released this 22 Jan 15:08

πŸŒ€ CHANGES

  • Migrated Lotgd\Core\Template\Theme factory to LoTGD Kernel service
    • LotgdNavigation:: static class get the new Kernel service

⭐ FEATURES

  • Nothing

πŸ”₯ DEPRECATED

  • Nothing

πŸ”§ FIXES

  • Nothing

❌ REMOVES/Break Changes

  • Remove factory of Lotgd\Core\Template\Theme use LotgdKernel::get('twig') instead.
    • Remove related files:
      • src/core/Factory/Template/EntrypointLookupCollection.php
      • src/core/Factory/Template/Packages.php
      • src/core/Factory/Template/TagRender.php
      • src/core/Factory/Template/Theme.php
  • Remove file src/core/Template/Base.php not in use and is deprecated.
  • Remove deprecated file src/core/Template/Theme.php.

πŸ““ NOTES

  • IMPORTANT This is the latest version of the 4.x series. The next version will be 5.0.0 which will remove many obsolete parts.
  • Upgrade/Install for version 4.9.0 and up
    • First, upload files to your server (production compilation):
    • Second, empty cache:
      • var/ delete this folder (or use command in console php bin/console cache:clear).
        • From version 4.9.0 use Symfony Kernel, so work like Symfony Framework.
      • storage/cache/* can empty with console comand php bin/lotgd storage:cache_clear
        • Not delete .gitkeep files. Remember to keep the main structure of the folder storage/cache/
        • It is highly recommended to use the command php bin/lotgd storage:cache_clear instead delete folder.
        • Note: if fail when run console command, manual delete: storage/cache/service-manager.config.php
    • Third, read info in storage/log/tracy/* files, and see the problem.
    • If you can't solve the problem go to: Repository issues
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies