Respect / Validation

The most awesome validation engine ever created for PHP
https://respect-validation.readthedocs.io
MIT License
5.76k stars 774 forks source link

Is there a roadmap or future plan for this repository? #1385

Closed tchari closed 1 year ago

tchari commented 2 years ago

I was wondering if this repo has been abandoned. I noticed that the latest version is 2.2.3 which is over a year old and excludes useful 8.1 updates. Will this repo continue to be maintained?

alganet commented 2 years ago

I hope so, but we need volunteers. I'm not in a position to help right now, but I can guide someone with more time available.

This lib was designed for PHP 5.3, which means its core is mostly based on features available back then. We've updated it to work with PHP 7.x features (static types, for example) but the gap is getting wider. Octals, enums, generators, etc. All of which could engage in the validation chain in some way or another.

Honestly, I'd like to rewrite it. Maybe a reboot into a 3.0 version, but right now it's just too much for me to do it alone.

A rough roadmap for that would be:

If something is broken with PHP 8.1 (some validation misfires or takes wrong assumptions, security, etc) let me know, I can help you!

tchari commented 2 years ago

My project extensively uses this repo and it would be very time consuming for me to replace it. So I have a vested interest in seeing this repo continue and would be willing to help out however necessary.

tchari commented 2 years ago

If something is broken with PHP 8.1 (some validation misfires or takes wrong assumptions, security, etc) let me know, I can help you!

The only "broken" thing is that the current version of respect that will automatically install with composer is 2.2.3 which has some php 8.1 issues. The dev branch has PRs which fix this issues but really a 2.2.4 version should be release IMHO.

TCB13 commented 1 year ago

The only "broken" thing is that the current version of respect...

There are also a few things broken with type validations under PHP 8.

andus4n commented 1 year ago

any updates on this matter?

alganet commented 1 year ago

Good news everyone! @tchari @andus4n @TCB13

I'll be working on releasing 2.2.4 soon. You can check out the work in progress on the 2.2 branch:

https://github.com/Respect/Validation/blob/2.2/CHANGELOG.md

We should expect a packagist release not later than next month.

The current roadmap is:

TCB13 commented 1 year ago

Hi @alganet great news, thank you for supporting this library. I'm sure we aren't the only three users looking for some updates. The decision to remove support for older facades and versions of PHP seems about right.

andus4n commented 1 year ago

great news indeed. this library really makes validations a pleasure. glad to hear it's alive & kickin'.

alganet commented 1 year ago

Ok, most PRs were now merged into 2.2. I'm taking a look at the issues, and I'll work on them for a week or so trying to find anything important.

All bug and support issues without a usage example will be closed as soon as 2.2.4 is launched :( It is hard for a maintainer to tacke those, and many of those users might not still be invested. If they reopen those will an usage sample, I'll then commit to fix them.

This should bring us up to speed, and reduce the queue of troubleshooting to a minimal.

alganet commented 1 year ago

Release 2.2.4 is out!

https://github.com/Respect/Validation/releases/tag/2.2.4

I'll be closing this and writing more documentation across the repo (maybe a roadmap on a wiki or something).

Ideas, suggestions and questions are always welcome. Feel free to open a new Issue, or open up a topic in the Discussions tab!