Page MenuHomeDevCentral

Switch Smarty from bundled library to Composer package
ClosedPublic

Authored by dereckson on Oct 19 2025, 21:38.
Tags
None
Referenced Files
F19112353: D3778.diff
Tue, Dec 23, 23:56
Unknown Object (File)
Mon, Dec 22, 18:10
Unknown Object (File)
Mon, Dec 22, 08:05
Unknown Object (File)
Mon, Dec 22, 07:42
Unknown Object (File)
Sun, Dec 21, 16:44
Unknown Object (File)
Sat, Dec 20, 19:04
Unknown Object (File)
Sat, Dec 20, 16:47
Unknown Object (File)
Sat, Dec 20, 05:46
Subscribers
None

Details

Summary

Smarty was previously bundled with the application.

This change requires Smarty as a Composer package.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

This is a more straightforward compared to the Zed same change:

  • we already have a method to initialize the template engine in Context class
  • we don't have custom plugin

But see also this big Smarty templates upgrade for PHP 8.1 where extra logic for Azhàr variables have been added to the engine class.

This revision is now accepted and ready to land.Oct 19 2025, 21:43