Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Roadmap for V3 and V4 #39

Open
4 of 9 tasks
Maks3w opened this issue Aug 24, 2015 · 9 comments
Open
4 of 9 tasks

Roadmap for V3 and V4 #39

Maks3w opened this issue Aug 24, 2015 · 9 comments
Milestone

Comments

@Maks3w
Copy link
Member

Maks3w commented Aug 24, 2015

Proposal of roadmap for next major versions.

V3:
V3 should silently fail if any deprecation feature is used. i.e. No file/method removal/rename is allowed.

  • Deprecate Continue If Empty & AllowEmpty
  • Silently ignore continue_if_empty / allow_empty options
  • Let Input validate unknown value (not-set) or know value.
  • Leverage InputFilter from apply complex rules for to determinate if input is valid/invalid
  • Add a resetX method for clear the class state

V4:
V4 does not (currently) restrict any bc break type.

  • Remove deprecated features
  • Fix class inheritance (subclasses must follow the api contract set by the parent) Affected: CollectionInputFilter, ArrayInput and FileInput
  • Make classes stateless
  • Adapted for zend-validator v3
@bakura10
Copy link
Contributor

Hi,

We shoudl also have a look at the refactor I did: #13

It simplified A LOT of things regarding to continue/allow_empty, stateless, refactored collection input filter... and a lot of other things. I did that a lot of time ago so I don't exactly remember, but this refactor mostly answered to most of the problems you are referring to :).

I will start working again on this, but first we'll need to have the stateless zend-validator and zend-filter.

@RalfEggert
Copy link

What is the status for the stateless input filters?

@weierophinney
Copy link
Member

@RalfEggert Still in planning stages, though @bakura10 has done significant work on a fork he's maintaining. (I've asked him to document usage so I can actually evaluate the changes and the migration/usage impact.)

@bakura10
Copy link
Contributor

bakura10 commented Jan 7, 2016

Stateless input filter can only be done once we have stateless validators :).

@xorock
Copy link

xorock commented Jun 8, 2016

What do You think of renaming this component to something more accurate? I dont know, maybe inputparser?
Inputfilter name is very confusing. What it does is filtration and validation. For someone who does not know Zend libraries it is hard to find the difference between filter and inputfilter.

@weierophinney weierophinney modified the milestone: 3.0.0 Aug 18, 2016
@thexpand
Copy link

@bakura10 @weierophinney What is the status of this? Is it being abandoned in favor of the eventually up-coming zend-datavalidator in the future?

@froschdesign
Copy link
Member

@thexpand

Is it being abandoned in favor of the eventually up-coming zend-datavalidator in the future?

Please keep in mind that the input-filter is doing something more than validation for values. The zend-datavalidator will replace zend-validator and not zend-inputfilter.

@weierophinney
Copy link
Member

weierophinney commented Aug 13, 2018 via email

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-inputfilter; a new issue has been opened at laminas/laminas-inputfilter#11.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants