Giter Site home page Giter Site logo

Comments (12)

l0gicgate avatar l0gicgate commented on May 27, 2024 2

Here are the releases:

Thank you @MauricioFauth @williamdes for these contributions!

cc: @akrabat

I am closing as resolved now feel free to re-open if there's anything

from slim-psr7.

l0gicgate avatar l0gicgate commented on May 27, 2024 1

@williamdes we cannot do security releases for PHP versions we do not support anymore unfortunately.

We are using typed properties in the codebase which are not supported by either PHP 7.2 or PHP 7.3.

This would be an insane amount of work.

If someone wants to raise the PR for it, I will gladly release it. Otherwise it's not going to happen.

from slim-psr7.

MauricioFauth avatar MauricioFauth commented on May 27, 2024 1

@l0gicgate What can be done is to create a branch from the tag, and then git cherry-pick the commit 4fea29e, which is the security fix.

I wasn't able to do that because there are no 1.4.x and 1.5.x branches to open PRs to.

from slim-psr7.

l0gicgate avatar l0gicgate commented on May 27, 2024 1

@MauricioFauth @williamdes I will create branches for those later today that you can PR against

from slim-psr7.

l0gicgate avatar l0gicgate commented on May 27, 2024 1

Here are the branches @MauricioFauth @williamdes feel free to raise PRs and I will release soon as we merge.

https://github.com/slimphp/Slim-Psr7/tree/1.4.x
https://github.com/slimphp/Slim-Psr7/tree/1.5.x

from slim-psr7.

ve3 avatar ve3 commented on May 27, 2024 1

Thanks for the update. I was used version 0.6 due to I would like to widely support many PHP versions in many places.
However, I have to bump up to minimum PHP 7.4 and Slim\PSr7 version 1.6.1 due to this security reason.
The update looks great because it seems to have nothing break since 0.6. So that I can continuous use my code without a lot of fix.

Thank you.

from slim-psr7.

williamdes avatar williamdes commented on May 27, 2024 1

Only 7.2 is required

"php": "^7.2 || ^8.0",

Since 1.4 was fixed

from slim-psr7.

williamdes avatar williamdes commented on May 27, 2024

@akrabat This is a security concern, could you have a look please ?

from slim-psr7.

williamdes avatar williamdes commented on May 27, 2024

@williamdes we cannot do security releases for PHP versions we do not support anymore unfortunately.

We are using typed properties in the codebase which are not supported by either PHP 7.2 or PHP 7.3.

This would be an insane amount of work.

If someone wants to raise the PR for it, I will gladly release it. Otherwise it's not going to happen.

We could "easily" make a branch from the last releases I mentioned, pick the security fix and release it
It's only a regex change
Seems possible, don't you think?

I can do the PRs if you validate that

from slim-psr7.

williamdes avatar williamdes commented on May 27, 2024

@l0gicgate What can be done is to create a branch from the tag, and then git cherry-pick the commit 4fea29e, which is the security fix.

I wasn't able to do that because there are no 1.4.x and 1.5.x branches to open PRs to.

Maybe you can create them on a fork and @l0gicgate can push the tags from them
Not needing to have a branch on the main repo as a result

from slim-psr7.

williamdes avatar williamdes commented on May 27, 2024

A simple cherry-pick and it worked, tests did run perfectly (for the HeadersTest, others where failing before the PR)

Should I open another PR on 1.4 and 1.5 to fix the currently failing tests (failing before the PR) ?

from slim-psr7.

williamdes avatar williamdes commented on May 27, 2024

Thanks @l0gicgate ! 🎉 🚀

PS: The bot says (github/advisory-database#2233 (comment)) that the advisory needs a manual update here: GHSA-q2qj-628g-vhfw

from slim-psr7.

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.