Skip to content

Releases: squirrelphp/strings

Support PHP8 attributes

18 Dec 12:50
Compare
Choose a tag to compare

Attributes instead of annotations can now be used. Both are supported on PHP8.

Better support typed properties

25 Nov 14:11
Compare
Choose a tag to compare

Also removes compatibility to diverging property paths defined
in the form, we only support direct properties which are
mapped 1:1 in the form. This seems easiest and anything else
would just lead to a headache, although maybe there is a better
option sometime in the future or when we go PHP 8 only.

Note that if filter annotations are used without direct mappings,
this might lead to errors and/or not work anymore.

The PHP 8 support is preliminary, as it was not tested yet.

v0.8.6

17 Nov 18:13
Compare
Choose a tag to compare
Relax PHP version constraint

Add RemoveHTMLTagCharacters filter

11 Jun 11:37
Compare
Choose a tag to compare

v0.8.4: Make library PHP 7.4+ only

27 Apr 10:00
Compare
Choose a tag to compare
- Use new functionality as far as possible
- Improve project configuration

v0.8.3

29 Nov 14:32
Compare
Choose a tag to compare
Allow Symfony 5 and switch to composer-bin-plugin

v0.8.2: Add string testers to component

17 Nov 17:47
Compare
Choose a tag to compare
These test a string according to a certain criteria and
return either true or false.

The goal is to have some commonly useful testers in
this component. So far we just have the valid UTF8
and the valid datetime testers, but additional testers
for things like IPs, domains, emails etc. could be
helpful too. Some of the string filters could be adapted
to have a tester version, for when you just want to find
out if a string is valid not forceably change it.

v0.8.1

04 Nov 21:11
Compare
Choose a tag to compare
Add property path checks with forms

Major improvements to documentation & filters

12 Jul 14:43
Compare
Choose a tag to compare
  • Add documentation for all filters
  • Refine many filters to be more unicode compatible, cover more use cases, or be more efficient (less regex)
  • Adjusts tests to remain at 100% coverage

v0.7.1: Improve NormalizeLettersToAscii & add new filters

11 Jul 19:37
Compare
Choose a tag to compare
- Make very intense tests about the characters which should
  be converted in NormalizeLettersToAsciiFilter and add many
  additional conversions to have better and more complete
  results
- Add RemoveEmailsFilter and RemoveURLsFilter
- Rename the "Manager" tests to "Selector" tests to be consistent