-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roadmap for v1.0 #1
Comments
Hello! I'm dropping by from the JSON Schema specification project to let you know that the current draft is draft-07, which is a minor update of the more significant draft-06. Guide for core and validation Note that implementations that do not support at least draft-06 will soon be moved to an "obsolete" or "older" section of the json-schema.org web site. Implementations supporting draft-06 or newer will remain prominently featured on the existing implementations page. Since Liform is not a validator, "support" probably just means ensuring that you don't emit something incompatible with draft-06 (e.g. I see that you mention base64 data. Draft-07 adds |
This post was written in 2017, 2024 is just a few days away. What do you think about a 1.0 release this locks this library to the existing feature set, then a 2.0 that merges answears fork and updates all the dependencies, per #72 ? |
Allow php8, add github workflows, phpstan, drop support for sf4, drop support for php < 7.4
This is the list of things that I would consider a must for v1.0
Validators
We can extract much information from validators. See this example of minLength and this code for guessing.
Note that this code, that is used in Symfony, will only extract maxLength if Symfony is forces to guess the type of the validator. (using
null
as type in the builder). This would probably be a good PR to Symfony to fix this issue. So I guess the example of minLength is better than the example of maxLength.JSON Schema keywords:
We could add our own validation keywords, but I think that this would be the minimum. It can also happen that some of these keywords don't make sense or cannot be extracted.
Other:
Document how to upload files. We already have an example in the Sandbox using Base64 for file uploading, but a doc section will prevent issues and questions.
Check i18n. I have not been paying much attention to i18n. It shouldn't be difficult to fix issues, but this needs to be checked.
The text was updated successfully, but these errors were encountered: