Skip to content

Releases: azjezz/psl

Lavi - 1.9.0

29 Oct 22:03
08a6730
Compare
Choose a tag to compare

Features:
- [Str] add reverse() function ( #238 by @yivi )
- [Str][Grapheme] add reverse() function ( #239 by @yivi )
- [Fun] add tap() function ( #234 by @veewee )
- [Type] performance improvements ( #223 by @Ocramius )

Other:
- add benchmarks ( #223 by @Ocramius )
- add documentation functions to makefile ( #235 by @veewee )

Lavi - 1.8.1

03 Oct 15:45
3860787
Compare
Choose a tag to compare

Features:

  • N/A

Fixes:

  • [Shell] fixed missing shell output from exception message ( #232 by @azjezz )

Other:

Lavi - 1.7.3

25 Aug 01:41
821391f
Compare
Choose a tag to compare
  • [Str][Byte] remove unnecessary @var annotation ( aacfcf6 )
  • [Regex] fix replace_with() signature ( thanks @caugner - #219 )
  • [Math] don't perform operations on possible numeric-string ( thanks @orklah - #220 )

Lavi - 1.8.0

05 Sep 17:38
3d4b50f
Compare
Choose a tag to compare

Features:

  • [Type] Introduce new Type\non_empty_dict ( #200 by @ntzm )
  • [Type] Introduce new Type\non_empty_vec ( #201 by @ntzm )
  • [Type] correct type signature for vec ( #202 by @ntzm )
  • [Type] correct type signature for dict ( #203 by @ntzm )
  • [Filesystem] add argument values to exception message ( #205 by @vaclavvanik )
  • [Fun] add lazy() for doing lazy evaluations ( #215 by @veewee )
  • [Iter] Improved performance of Iter\shuffle ( 6f5c992 by @azjezz )
  • Introduced new Psl\Ref class ( 2d0b3c5 by @azjezz )

Fixes:

  • [Vec] fixed example of Vec\reproduce ( #218 by @hvt )
  • [Math] don't perform operations on possible numeric-string ( #220 by @orklah )
  • [Regex] fix replace_with() signature ( #219 by @caugner )

Other:

  • Suggest php-standard-library/psalm-plugin package ( #217 by @weirdan )

Lavi - 1.7.2

24 May 20:32
0a2149e
Compare
Choose a tag to compare

Lavi - 1.7.1

19 May 11:57
edf5ba8
Compare
Choose a tag to compare

Fixes:

Lavi - 1.6.1

19 May 11:52
60683bf
Compare
Choose a tag to compare

Fixes:

Lavi - 1.7.0

15 May 19:55
1e1831e
Compare
Choose a tag to compare

Features:

Other:

  • dropped support for PHP 7.4

Lavi - 1.6.0

07 Apr 08:26
963a0bb
Compare
Choose a tag to compare

Features:

  • added Psl\Type\positive_int function ( @michaelpetri - #177 )
  • added Psl\Dict\unique_scalar function ( @pencil-dog and @yivi - #168 )
  • simplified Psl\Str\Byte\reverse implementation ( @ntzm - #160 )

BC breaks:

  • changed return type of Psl\Str\metaphone from ?string to string ( @ntzm - #159 )
  • Psl\Str\metaphone now throws Psl\Exception\InvariantViolationException if $phonemes is negative ( @ntzm - #159 )
  • require non-empty-string instead of string when applicable ( @ntzm - #162 )

Lavi - 1.5.0

19 Mar 04:11
Compare
Choose a tag to compare

Components:

Features:

  • added Psl\Shell\execute function
  • added Psl\Shell\escape_argument function
  • added Psl\Shell\escape_command function
  • added Psl\Filesystem\SEPARATOR constant
  • added Psl\Filesystem\change_group function
  • added Psl\Filesystem\change_owner function
  • added Psl\Filesystem\change_permissions function
  • added Psl\Filesystem\copy function
  • added Psl\Filesystem\create_directory function
  • added Psl\Filesystem\create_file function
  • added Psl\Filesystem\delete_directory function
  • added Psl\Filesystem\delete_file function
  • added Psl\Filesystem\exists function
  • added Psl\Filesystem\file_size function
  • added Psl\Filesystem\get_group function
  • added Psl\Filesystem\get_owner function
  • added Psl\Filesystem\get_permissions function
  • added Psl\Filesystem\get_basename function
  • added Psl\Filesystem\get_directory function
  • added Psl\Filesystem\get_extension function
  • added Psl\Filesystem\get_filename function
  • added Psl\Filesystem\is_directory function
  • added Psl\Filesystem\is_file function
  • added Psl\Filesystem\is_symbolic_link function
  • added Psl\Filesystem\is_readable function
  • added Psl\Filesystem\is_writable function
  • added Psl\Filesystem\canonicalize function
  • added Psl\Filesystem\is_executable function
  • added Psl\Filesystem\read_directory function
  • added Psl\Filesystem\read_file function
  • added Psl\Filesystem\read_symbolic_link function
  • added Psl\Filesystem\append_file function
  • added Psl\Filesystem\write_file function
  • added Psl\Filesystem\create_temporary_file function
  • added Psl\Filesystem\create_hard_link function
  • added Psl\Filesystem\create_symbolic_link function
  • added Psl\Filesystem\get_access_time function
  • added Psl\Filesystem\get_change_time function
  • added Psl\Filesystem\get_modification_time function
  • added Psl\Filesystem\get_inode function
  • added a new Psl\Regex\replace_by function.
  • added an optional ?int $limit = null parameter to Psl\Regex\replace
  • added an optional ?int $limit = null parameter to Psl\Regex\replace_every
  • added Psl\Html\encode function
  • added Psl\Html\encode_special_characters function
  • added Psl\Html\decode function
  • added Psl\Html\decode_special_characters function
  • added Psl\Html\strip_tags function
  • added Psl\Type\literal_scalar function
  • added Psl\Type\optional function
  • added Psl\Type\TypeInterface::isOptional method
  • added Psl\IO\input_handle function
  • added Psl\IO\output_handle function
  • added Psl\IO\error_handle function
  • added Psl\IO\CloseHandleInterface interface
  • added Psl\IO\CloseReadHandleInterface interface
  • added Psl\IO\CloseReadWriteHandleInterface interface
  • added Psl\IO\CloseSeekHandleInterface interface
  • added Psl\IO\CloseSeekReadHandleInterface interface
  • added Psl\IO\CloseSeekReadWriteHandleInterface interface
  • added Psl\IO\CloseSeekWriteHandleInterface interface
  • added Psl\IO\CloseWriteHandleInterface interface
  • added Psl\IO\HandleInterface interface
  • added Psl\IO\ReadHandleInterface interface
  • added Psl\IO\ReadWriteHandleInterface interface
  • added Psl\IO\SeekHandleInterface interface
  • added Psl\IO\SeekReadHandleInterface interface
  • added Psl\IO\SeekReadWriteHandleInterface interface
  • added Psl\IO\SeekWriteHandleInterface interface
  • added Psl\IO\WriteHandleInterface interface
  • added Psl\IO\Writer class
  • added Psl\IO\Reader class
  • added Psl\IO\MemoryHandle class