Comments (15)
Looks like twig-extensions needs a branch for twig 3.0 support as they have 1.x support in the master branch still.
https://github.com/jasny/twig-extensions
from legacy-twig-view.
jasny/twig-extensions
now have v1.3 released which supports Twig 3, so we can now move ahead with updating the twig version constraint for TwigView.
from legacy-twig-view.
The other two dependencies aptoma/twig-markdown
and asm89/twig-cache-extension
will also need a new releases :/
from legacy-twig-view.
from legacy-twig-view.
There seems to be an official markdown plugin too https://github.com/twigphp/markdown-extra, so perhaps aptoma/twig-markdown
should be replaced with that?
asm89/twig-cache-extension
also seems to be unmaintained. It was meant to be replaced by https://github.com/twigphp/twig-cache-extension but even that doesn't have any activity and no releases.
from legacy-twig-view.
I'm using the markdown-extra package with twig 3.
from legacy-twig-view.
Any objections against going 3.0 only?
from legacy-twig-view.
Any objections against going 3.0 only?
None from me. Twig 3 requires 7.2+ which is inline with Cake 4.
from legacy-twig-view.
@WyriHaximus Is the asm89/twig-cache-extension
dependency essential for TwigView's working? Cause I don't see it getting updated to support Twig 3 anytime soon.
from legacy-twig-view.
Unless someone has the time and motivation to get asm89/twig-cache-extension
or twigphp/twig-cache-extension
to do a Twig 3 compatible release the best course of action right now would be simply replace aptoma/twig-markdown
with twigphp/markdown-extra
and release TwigView 5 without support for Twig 3.
Currently Bake 2.0.0 had to be tagged with while using dev-master
of this plugin which isn't very nice. So we need to come up with a short term solution quickly and look into supporting Twig 3 later.
from legacy-twig-view.
@ADmad planned to do it today after dinner :). And no we don't need the cache extensions to work.
from legacy-twig-view.
@WyriHaximus Great to hear.
from legacy-twig-view.
WIP PR: #224
from legacy-twig-view.
@ADmad locally all tests are passing, only need to get the markdown plugin in
from legacy-twig-view.
5.0
is out 🎉
from legacy-twig-view.
Related Issues (20)
- Deprecation error while running cake bake HOT 1
- Dependabot can't resolve your PHP dependency files HOT 2
- Deprecations warnings HOT 4
- Using include function HOT 1
- Dependabot couldn't fetch the branch/reference for cakephp/cakephp-codesniffer
- Unknown "getVars" function HOT 6
- Call to a member function loadTemplate() on null HOT 1
- Disable Twig cache in debug mode
- Align travis and composer scripts with cakephp
- Move to cakephp namespace with backwards compatible alias
- Align phpcs settings HOT 1
- Align code coverage with cakephp
- The unit tests will be failed on CakePHP 4.1.x version HOT 2
- update links
- Issue with Twig when trying to bake in cakephp 3.x HOT 1
- Name conflict with Twig default filter HOT 4
- Roadmap v5.0 HOT 31
- mb_convert_encoding(): Illegal character encoding specified HOT 8
- add missing inflectors HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legacy-twig-view.