Git Product home page Git Product logo

Comments (15)

othercorey avatar othercorey commented on May 28, 2024

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.

ADmad avatar ADmad commented on May 28, 2024

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.

ADmad avatar ADmad commented on May 28, 2024

The other two dependencies aptoma/twig-markdown and asm89/twig-cache-extension will also need a new releases :/

from legacy-twig-view.

ADmad avatar ADmad commented on May 28, 2024

aptoma/twig-markdown#34

from legacy-twig-view.

ADmad avatar ADmad commented on May 28, 2024

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.

othercorey avatar othercorey commented on May 28, 2024

I'm using the markdown-extra package with twig 3.

from legacy-twig-view.

WyriHaximus avatar WyriHaximus commented on May 28, 2024

Any objections against going 3.0 only?

from legacy-twig-view.

ADmad avatar ADmad commented on May 28, 2024

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.

ADmad avatar ADmad commented on May 28, 2024

@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.

ADmad avatar ADmad commented on May 28, 2024

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.

WyriHaximus avatar WyriHaximus commented on May 28, 2024

@ADmad planned to do it today after dinner :). And no we don't need the cache extensions to work.

from legacy-twig-view.

ADmad avatar ADmad commented on May 28, 2024

@WyriHaximus Great to hear.

from legacy-twig-view.

WyriHaximus avatar WyriHaximus commented on May 28, 2024

WIP PR: #224

from legacy-twig-view.

WyriHaximus avatar WyriHaximus commented on May 28, 2024

@ADmad locally all tests are passing, only need to get the markdown plugin in

from legacy-twig-view.

WyriHaximus avatar WyriHaximus commented on May 28, 2024

5.0 is out 🎉

from legacy-twig-view.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.