Skip to content

Releases: squirrelphp/strings

Set PHP8 as minimum version

15 Jun 15:51

Choose a tag to compare

  • Rename Annotation directory to Attribute (BC break)
  • Check tests with Psalm
  • Remove doctrine annotations dependency & support

Add streamline email filter

14 Apr 12:28

Choose a tag to compare

This will lowercase the domain part but keep the username part of the email case-sensitive, as defined by the current RFCs. This way duplicates because of domain part casings can be avoided.

v0.9.2: Make $names in attribute public

20 Dec 17:02

Choose a tag to compare

There were some problems with Symfony var-exporter when using
forms. Actual cause is unclear, but setting $names to public
fixes the issue and has no other ramifications.

Support PHP8 attributes

18 Dec 12:50

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

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

Choose a tag to compare

Relax PHP version constraint

Add RemoveHTMLTagCharacters filter

11 Jun 11:37

Choose a tag to compare

v0.8.4: Make library PHP 7.4+ only

27 Apr 10:00

Choose a tag to compare

- Use new functionality as far as possible
- Improve project configuration

v0.8.3

29 Nov 14:32

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

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.