Releases: opencultureconsulting/php-basics
Releases · opencultureconsulting/php-basics
PHP Basics v2.1.2
This is a maintenance release.
New Features:
- Added Composer commands for development tools (PHP Mess Detector, Psalm Taint Analysis)
Full Changelog: v2.1.1...v2.1.2
PHP Basics v2.1.1
This is a maintenance release.
New Features:
- Added Composer commands for development tools (PHP_CodeSniffer, PHP-CS-Fixer, PHPStan, Psalm and phpDocumentor)
Minor Changes:
- Improved documentation
Full Changelog: v2.1.0...v2.1.1
PHP Basics v2.1.0
This is a minor release.
Breaking Changes:
OCC\Basics\DataStructures\Traits\StrictSplDatastructureTrait
renamed toOCC\Basics\DataStructures\Traits\StrictSplDoublyLinkedListTrait
New Features:
- Extended API for
OCC\Basics\DataStructures\StrictArray
Full Changelog: v2.0.0...v2.1.0
PHP Basics v2.0.0
This is a major release.
Breaking Changes:
- Raised minimum PHP version from 8.0 to 8.1 in order to use new features like array_is_list() and the spread operator on string-keyed arrays
- Interface traits renamed and moved to a different namespace
OCC\Basics\InterfaceTraits\ArrayAccess -> OCC\Basics\Interfaces\ArrayAccessTrait OCC\Basics\InterfaceTraits\Countable -> OCC\Basics\Interfaces\CountableTrait OCC\Basics\InterfaceTraits\IteratorAggregate -> OCC\Basics\Interfaces\IteratorAggregateTrait OCC\Basics\InterfaceTraits\Iterator -> OCC\Basics\Interfaces\IteratorTrait
- Prefixed internal methods for
OCC\Basics\Traits\Getter
andOCC\Basics\Traits\Setter
with_
to avoid confusion with regular class methods// old methods function magicGet{Property}(): mixed function magicSet{Property}(mixed $value): void
// new methods function _magicGet{Property}(): mixed function _magicSet{Property}(mixed $value): void
New Features:
- Added new datastructure
OCC\Basics\DataStructures\StrictCollection
- Added new datastructure
OCC\Basics\DataStructures\StrictArray
- Added new error handler
OCC\Basics\ErrorHandlers\TriggerExceptionError
- Added new trait
OCC\Basics\Traits\OverloadingGetter
- Added new trait
OCC\Basics\Traits\OverloadingSetter
- Added new trait
OCC\Basics\Traits\TypeChecker
- Extended API for all datastructures (see
OCC\Basics\DataStructures\Traits\StrictSplDatastructureTrait
) - Introduced
OCC\Basics\DataStructures\Exceptions\InvalidDataTypeException
for strict datastructures - Extended documentation
Full Changelog: v1.1.0...v2.0.0
PHP Basics v1.1.0
This is a major release. It changes the constructor of StrictList
, StrictQueue
and StrictStack
to make them more compatible to SplDoublyLinkedList
.
Full Changelog: v1.0.1...v1.1.0
PHP Basics v1.0.1
This is a minor release. It just adds one small feature.
Full Changelog: v1.0.0...v1.0.1
PHP Basics v1.0.0
This is the first official release.