Releases: azjezz/psl
Releases · azjezz/psl
Lavi - 1.9.0
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
Lavi - 1.7.3
Lavi - 1.8.0
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:
Lavi - 1.7.2
- fixed mismatching psalm assert variables #197 ( thanks to @dragosprotung )
Lavi - 1.7.1
Fixes:
- fixed #194
Lavi - 1.6.1
Fixes:
- fixed #194
Lavi - 1.7.0
Features:
- [Regex] Introduced capture_groups, every_match, first_match functions (#151 - thanks @veewee )
- [Type] add support for variadic union types (#184 - thanks @nzour )
- [Type] add support for variadic intersection types (#185 - thanks @nzour )
- [Class] Introduced
Class
component - [Interface] Introduced
Interface
component - [Trait] Introduced
Trait
component
Other:
- dropped support for PHP 7.4
Lavi - 1.6.0
Lavi - 1.5.0
Components:
- Introduced IO component
- Introduced Filesystem component
- Introduced Shell component
- Introduced Html component
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 toPsl\Regex\replace
- added an optional
?int $limit = null
parameter toPsl\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