Releases: LastDragon-ru/php-packages
Laravel/PHPUnit v13 🚴♂️
| Mark | Type | Count | Packages |
|---|---|---|---|
| ☣ | Breaking changes | 25 | *, glob-matcher, graphql-printer, lara-asp-core, lara-asp-documentator, lara-asp-graphql, lara-asp-migrator, lara-asp-spa, lara-asp-testing, phpunit-extensions, text-parser |
| Features | 7 | *, glob-matcher, lara-asp-documentator, lara-asp-graphql, lara-asp-testing, text-parser |
|
| Bug Fixes | 4 | lara-asp-documentator, lara-asp-testing |
|
| 💀 | Deprecations | 2 | text-parser |
| Miscellaneous | 4 | *, graphql-printer, lara-asp-documentator, lara-asp-graphql, lara-asp-graphql-testing, phpunit-graphql |
|
| Code Refactoring | 15 | *, glob-matcher, graphql-printer, lara-asp-core, lara-asp-documentator, lara-asp-migrator, lara-asp-spa, lara-asp-testing, phpunit-extensions |
All packages
Features
Miscellaneous
- Minimum package versions updated to the actual that can be installed (a936d19)
- Minimum package versions updated to the actual that can be installed (8f204c4)
- Unused dependencies removal (53273cb)
Code Refactoring
- Array-based config not supported anymore (621dd11) ☣
- Drop PHP 8.3 Support (#301, 5b6da5d) ☣
- Drop PHPUnit 11 Support (22c8423) ☣
- Removed old unused Laravel service providers (66a6eaf) ☣
Package glob-matcher
Features
- All AST node classes converted to readonly (a193e98) ☣
Code Refactoring
Package graphql-printer
Miscellaneous
- Required "webonyx/graphql-php:^15.31.5" (GHSA-68jq-c3rv-pcrr) (f7d8fb4)
Code Refactoring
- Namespace
\LastDragon_ru\GraphQLPrinterrenamed to\LastDragon_ru\GraphQL\Printer(39ae402) ☣ - Removed deprecated
\LastDragon_ru\LaraASP\GraphQLPrinter\Blocks\Document\Directives::__construct($deprecationReason)(b3788ed) ☣
Package lara-asp-core
Code Refactoring
- Deprecated Path component removed, the
lastdragon-ru/pathpackage should be used instead (e9e1345) ☣
Package lara-asp-documentator
Features
- Processor: Added
\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\File::saveand\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\File::delete()(#306, a2764cd) ☣ - Processor: File formats (#307, ebd1e1c) ☣
Bug Fixes
- Processor: Deleted paths will also be deleted from the queue (7b57c55)
- Processor: Tags cache reset after adding a task (123ceb1)
- Processor: Tasks (and preprocessor instructions) can be registered only by class name (3b6d470) ☣
Miscellaneous
- Required "webonyx/graphql-php:^15.31.5" (GHSA-68jq-c3rv-pcrr) (f7d8fb4)
Code Refactoring
Package lara-asp-graphql
Features
Miscellaneous
- Required "webonyx/graphql-php:^15.31.5" (GHSA-68jq-c3rv-pcrr) (f7d8fb4)
Package lara-asp-graphql-testing
Miscellaneous
- Required "webonyx/graphql-php:^15.31.5" (GHSA-68jq-c3rv-pcrr) (f7d8fb4)
Package lara-asp-migrator
Code Refactoring
- Old "Raw" migrator/seeder removed (8f7e5d0) ☣
Package lara-asp-spa
Code Refactoring
- Deprecated
\Illuminate\Contracts\Validation\Ruleis not used anymore (e0f308e) ☣
Package lara-asp-testing
Features
Bug Fixes
- Types of
\LastDragon_ru\LaraASP\Testing\Concerns\Override::override()(ed46318) ☣
Code Refactoring
- Removed deprecated extension
\LastDragon_ru\LaraASP\Testing\Requirements\PhpUnit\Extension(58cdc92) ☣ - Removed deprecated utils
\LastDragon_ru\LaraASP\Testing\Utils\WithTempFileand\LastDragon_ru\LaraASP\Testing\Utils\WithTempDirectory(f8cb698) ☣ - Removed previously deprecated assertions/constraints (c647fe5) ☣
Package phpunit-extensions
Code Refactoring
- Extension
\LastDragon_ru\PhpUnit\Extensions\StrictScalarCompare\Extensionremoved (4828fcd) ☣
Package phpunit-graphql
Miscellaneous
- Required "webonyx/graphql-php:^15.31.5" (GHSA-68jq-c3rv-pcrr) (f7d8fb4)
Package text-parser
Features
- All AST node classes converted to readonly (a193e98) ☣
- New Cursor implementation that works with any node types (#312, 30860dd)
Deprecations 💀
Improvements and Fixes 🌷
| Mark | Type | Count | Packages |
|---|---|---|---|
| Features | 9 | lara-asp-documentator, lara-asp-serializer, phpunit-extensions |
|
| Bug Fixes | 2 | lara-asp-documentator |
Package lara-asp-documentator
Features
- Markdown: Mutation
\LastDragon_ru\LaraASP\Documentation\Markdown\Mutations\Document\Relinkwill pass the original URL, node, and document in the callback (bd62862) - Markdown: New mutation
\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Document\Relinkto update all links in the document (5a4a4cc) - Markdown: New mutation
\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Image\RemoveEmptyto remove images with empty destination (91cf994) - Markdown: New mutation
\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Reference\RemoveEmptyto remove references with empty destination (dc63f74) - Markdown: New mutation
LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Link\UnlinkEmptyto remove empty links (4dc7590) - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Castmay return any value (62495eb)
Bug Fixes
- Markdown:
\LastDragon_ru\LaraASP\Documentator\Markdown\Extensions\Reference\Extensionwill store\LastDragon_ru\LaraASP\Documentator\Markdown\Extensions\Reference\Nodeas a reference in the\League\CommonMark\Reference\ReferenceMapInterfaceas it should be (2c664e0) - Markdown:
\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Link\UnlinkToSelfwill also check absolute urls (c971043)
Package lara-asp-serializer
Features
\LastDragon_ru\Path\Pathnormalization support (7d9e232)- New
\LastDragon_ru\LaraASP\Serializer\Attributes\TypeMapattribute (b675a39)
Package phpunit-extensions
Features
\LastDragon_ru\PhpUnit\Filesystem\Assertions::assertDirectoryEquals()assertion will show file content if not match (0b8ce61)
Improvements and Fixes 💖
| Mark | Type | Count | Packages |
|---|---|---|---|
| Features | 2 | phpunit-extensions |
|
| Bug Fixes | 2 | lara-asp-documentator, phpunit-extensions |
|
| 💀 | Deprecations | 1 | phpunit-extensions |
| Miscellaneous | 1 | lara-asp-serializer |
Package lara-asp-documentator
Bug Fixes
- Markdown paths with the "query" part (
?param=value) will not be treatment as "self" (fe90e27)
Package lara-asp-serializer
Miscellaneous
- Allowed
phpdocumentor/type-resolver:^2.0(e9b5b95)
Package phpunit-extensions
Features
- New extension
\LastDragon_ru\PhpUnit\Extensions\Extension(contains all other extensions) (77d8a40) - New extension
\LastDragon_ru\PhpUnit\Extensions\PathComparator\Extensionto compare\LastDragon_ru\Path\DirectoryPath/\LastDragon_ru\Path\FilePath(507af4d)
Bug Fixes
\LastDragon_ru\PhpUnit\Utils\TempFilewill have0600permissions (2188baa)
Deprecations 💀
- Extension
\LastDragon_ru\PhpUnit\Extensions\StrictScalarCompare\Extensionrenamed to\LastDragon_ru\PhpUnit\Extensions\StrictScalarComparator\Extension(2f44ae5)
Improvements, Fixes and New Package ☃
| Mark | Type | Count | Packages |
|---|---|---|---|
| Features | 7 | graphql-printer, lara-asp-documentator, phpunit-extensions, phpunit-xml |
|
| Bug Fixes | 3 | glob-matcher, lara-asp-documentator, lara-asp-graphql |
|
| 💀 | Deprecations | 4 | lara-asp-testing |
| Miscellaneous | 1 | * |
All packages
Miscellaneous
- Min version of
phpunit/phpunitset to^11.3.0(e3857b3)
Package glob-matcher
Bug Fixes
- The trailing
*will implicitly match trailing/in the path (thea/*will matcha/aanda/a/both) (43094f4)
Package graphql-printer
Features
- Schema description output (57e3391)
Package lara-asp-documentator
Features
- Processor: New task
\LastDragon_ru\LaraASP\Documentator\Processor\Tasks\OutputCleanup\OutputCleanup(839b0fa)
Bug Fixes
\LastDragon_ru\LaraASP\Documentator\Processor\Exceptions\PathNotWritablemessage (00635d2)
Package lara-asp-graphql
Bug Fixes
- Invalid values in
composer.json(f673075)
Package lara-asp-testing
Deprecations 💀
\LastDragon_ru\LaraASP\Testing\Assertions\FileSystemAssertions, and\LastDragon_ru\LaraASP\Testing\Constraints\FileSystem\DirectoryMatchesDirectory(dbcaa8b)\LastDragon_ru\LaraASP\Testing\Utils\WithTempDirectory(2a3f323)\LastDragon_ru\LaraASP\Testing\Utils\WithTempFile(4b2c78d)- XML Assertions (d7e1152)
Package phpunit-extensions
Features
- New
\LastDragon_ru\PhpUnit\Utils\TempDirectory(6864a16) - New
\LastDragon_ru\PhpUnit\Utils\TempFile(84270d9) - New assertion
\LastDragon_ru\PhpUnit\Filesystem\Assertions::assertDirectoryEmpty()(9626bda) - New assertion
\LastDragon_ru\PhpUnit\Filesystem\Assertions::assertDirectoryEquals()(4751403)
Package phpunit-xml
Features
New packages and rename 🎄
| Mark | Type | Count | Packages |
|---|---|---|---|
| ☣ | Breaking changes | 48 | *, lara-asp-core, lara-asp-documentator, glob-matcher, graphql-printer, lara-asp-graphql-testing, path, phpunit-graphql, lara-asp-serializer, lara-asp-spa, text-parser |
| Features | 50 | *, lara-asp-core, lara-asp-documentator, glob-matcher, graphql-printer, phpunit-graphql, lara-asp-graphql-testing, path, phpunit-extensions, lara-asp-serializer, text-parser |
|
| Performance Improvements | 1 | path |
|
| Bug Fixes | 20 | lara-asp-dev, lara-asp-documentator, glob-matcher, lara-asp-graphql, lara-asp-graphql-testing, path, lara-asp-serializer, lara-asp-testing, text-parser |
|
| 💀 | Deprecations | 7 | lara-asp-core, graphql-printer, lara-asp-testing, lara-asp-serializer |
| Miscellaneous | 4 | *, lara-asp-documentator, graphql-printer |
|
| Code Refactoring | 15 | lara-asp-documentator, glob-matcher, lara-asp-graphql-testing, phpunit-graphql, lara-asp-spa |
Meet the new packages 😊
glob-matcher
Full-featured well-tested glob pattern parser and matcher: basic matching (?, *), globstar (**), extglob (?(pattern-list), *(pattern-list), +(pattern-list), @(pattern-list), !(pattern-list)), brace expansion ({a,b,c}.txt, {1..3}.txt, etc), dotglob, nocasematch, POSIX Named character classes ([:alnum:], etc), POSIX Collating symbols ([.ch.], etc), POSIX Equivalence class expressions ([=a=], etc), and escaping. Everything supported 😎
path
Provides utilities for working with file and directory paths in an object-oriented way for all path types.
text-parser
Yet another package to simplify writing fast and memory-effective parsers that can parse infinite strings.
phpunit-extensions
Various useful assertions/extensions for PHPUnit.
phpunit-graphql
PHPUnit assertions for GraphQL to check printed/exported type/queries.
lara-asp-graphql-testing
PHPUnit assertions for GraphQL to check printed/exported type/queries for Laravel/Lighthouse.
All packages
Features
Miscellaneous
- Min PHPUnit version set to v11.1.0 (because of
ignoreIndirectDeprecations) (14a1fbf) - Min version of
phpunit/phpunitset to^11.2.0(because of\PHPUnit\Framework\Attributes\CoversTrait) (550895d)
Package lara-asp-core
Features
- Removed deprecated
\LastDragon_ru\LaraASP\Core\Path\Path::isMatch()(4067b24) ☣ - Removed deprecated
\LastDragon_ru\LaraASP\Core\Utils\Path(0209511) ☣ - String representation of
\LastDragon_ru\LaraASP\Core\Path\DirectoryPathwill always end with/(ac19c13) ☣
Deprecations 💀
- Added missed
@deprecatedfor Path component classes (6b96f96) - The Path component is deprecated, the
lastdragon-ru/pathpackage should be used instead (702e497)
Package lara-asp-dev
Bug Fixes
- PHPStan rules tests marked by
\PHPUnit\Framework\Attributes\RunClassInSeparateProcessto avoid dependency conflicts (adb0b46) - Polyfills autoload (8c01f39)
Package lara-asp-documentator
Features
- Removed deprecated
\LastDragon_ru\LaraASP\Documentator\Utils\Markdown(281d70b) ☣ - Markdown: New mutation
\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Link\AutolinkExpand(afc6bb9) - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Adapter::search()/\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Resolver::search()may return\LastDragon_ru\Path\DirectoryPathand hidden (d72b49d) ☣ - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Task::getExtensions()can return\LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\Hookdirectly (9c279e6) - Processor:
$depthsupport removed everywhere (981ff2d) ☣ - Processor: API simplification (#262, e94fe99) ☣
- Processor: Better output for dependencies (
\LastDragon_ru\LaraASP\Documentator\Processor\Listeners\Console\Listener) (d50c46a) ☣ - Processor: Casts simplification, no need to register anything, the
Resolveravailable inside casts (015156a) ☣ - Processor: FileSystem adapters support (d797bc4) ☣
- Processor: FileSystem simplification - no more directories (#265, 19605b0) ☣
- Processor: Hooks rework (#261, 1408b78) ☣
- Processor: New contract
\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Container(26f463c) ☣ - Processor: Paired events (#275, 9c4d197) ☣
- Processor:
Processorcan delete files/directories (#277, 5f97488) ☣ - Processor: Removed
string,~input/,~output/support in\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Resolver(dcaa4de) ☣ - Processor: Removed deprecated
\LastDragon_ru\LaraASP\Documentator\Processor\Tasks\Preprocess\Instructions\IncludePackageList\Instruction(include:package-list) instruction (573506f) ☣ - Processor:
Resolver/Dependencies rework and improvements (54357a9) ☣ - Processor: Return type of
\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Resolver::save()changed tovoid, no dependency events will be emitted (827ebfd) ☣ - Processor: Rework of
\LastDragon_ru\LaraASP\Documentator\Processor\Listeners\Console\Listenerwith all events and customization support (a1a601a) ☣ - Processor: Saved files will be pushed to the queue for further processing (21382cd)
- Processor: Smart files cache for
\LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\FileSystem(files will be removed if they were not used during several commits) (e703b08) - Processor: Tasks can push dependencies for later processing (#248, 6a9006d) ☣
- Processor: Tasks/Casts will use globs instead of extensions (#263, 0d6f2a3) ☣
- Processor: The
lastdragon-ru/glob-matcherwill be used instead of\Symfony\Component\Finder\Glob(6c94b2c)
Bug Fixes
- Markdown: Autolink locations (35f4b63)
- Markdown: Handling
./..paths in\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Document\Movemutation (f7273d8) - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\Adapters\SymfonyFileSystemwill not ignore vcs directories if$hidden = true(ec9c77f) - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\FileSystem::getPathname()for external files/directories (86ab569) - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\FileSystem::getPathname()will resolve relative paths based on input directory (b63912d) - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\Listeners\Console\Listenercounting filesystem changes (fb1b06d) - Processor: Events for
@before/@afterhooks will be emitted only if actions defined for them (8e43530) - Processor: Immediate self-references will not fail with "circular dependency" error (de01931)
- Processor: Include/Exclude paths check on windows (paths normalization added) (4b47857)
- Processor: Output directory escaping while creating exclude glob pattern (51a957f)
- Processor: Queued files will be processed right after the current file (they were delayed until all files are done) (9f3ef00)
- Processor: Skipped files will not emit "skipped" event when queue (9acd12b)
Miscellaneous
- Removed unused
symfony/deprecation-contracts(b6673ef)
Code Refactoring
- Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\FileSystemAdapterrenamed to\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Adapter(1925a23) ☣ - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\Events\DependencyBeginand `\LastDragon_ru\LaraASP\Documentator\Processor\Eve...
Reorganization ⚗
| Mark | Type | Count | Packages |
|---|---|---|---|
| Miscellaneous | 1 | * |
All packages
Miscellaneous
- Package
lastdragon-ru/lara-asp-graphql-printermarked as abandoned, please uselastdragon-ru/graphql-printerinstead (d1d03ed)
`@oneOf` support and compatibility fixes 👍
| Mark | Type | Count | Packages |
|---|---|---|---|
| Features | 1 | graphql-printer |
|
| Bug Fixes | 2 | graphql, serializer |
|
| 💀 | Deprecations | 1 | graphql-printer |
| Miscellaneous | 1 | * |
All packages
Miscellaneous
- Min PHPUnit version set to v11.1.0 (because of
ignoreIndirectDeprecations) (1759db1)
Package graphql
Bug Fixes
- Compatibility with
nuwave/lighthouse:>=6.62.1(026f4fe)
Package graphql-printer
Features
@oneOfsupport (1da342c)
Deprecations 💀
\LastDragon_ru\LaraASP\GraphQLPrinter\Blocks\Document\Directives::__construct($deprecationReason)(9cea958)
Package serializer
Bug Fixes
- Compatibility with
symfony/serializer:>=7.3.1(97c23dc)
Documentator improvements 📚
| Mark | Type | Count | Packages |
|---|---|---|---|
| Features | 4 | documentator |
|
| Bug Fixes | 2 | documentator |
Package documentator
Features
- Markdown: New mutation
\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Document\Cleanup(d63503d) - Markdown: New mutation
\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Footnote\RemoveUnused(9578bf1) - Markdown: New mutation
\LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Reference\RemoveUnused(60e0bd9) - Markdown: Unused footnotes will be presented in AST (#245, a5a040d)
Bug Fixes
HTML locations & Bugfixes 🐱🐉
| Mark | Type | Count | Packages |
|---|---|---|---|
| Features | 1 | documentator |
|
| Bug Fixes | 1 | graphql |