Git Product home page Git Product logo

Comments (4)

goetas avatar goetas commented on June 26, 2024

Can you send a PR with the needed updates?

from jmstranslationbundle.

burki avatar burki commented on June 26, 2024

It's not straight forward since https://github.com/schmittjoh/JMSTranslationBundle/blob/master/Resources/config/services.xml#L64 refers to %kernel.root_dir% which is no longer present (see https://symfony.com/blog/new-in-symfony-4-2-important-deprecations#deprecated-the-kernel-name-and-the-root-dir)

from jmstranslationbundle.

wumke avatar wumke commented on June 26, 2024

@burki : that can be fixed in multiple ways:

1: Update the parameter to kernel.project_dir, which makes the library incompatible with older Symfony versions... and dont't care. (or see 2)
2: ... and tell users of older symfony versions to create the kernel.project_dir parameter themselves based on the kernel.root_dir .
3: Make the library users inject the directory themselves, tell them that it must reference to the root directory of their project.

I would go for 1, since there might be other incompatible things. This implies that when bug or security fixes are implemented, 2 versions of this library should be updated and pushed to packagist. Since I do not think such fixes will occur I'd say new major release and the previous is no longer updated.

Does that make sense?

from jmstranslationbundle.

goetas avatar goetas commented on June 26, 2024

done in #530

from jmstranslationbundle.

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.