Skip to content

Releases: LastDragon-ru/php-packages

Laravel/PHPUnit v13 🚴‍♂️

17 Apr 07:47

Choose a tag to compare

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

  • Laravel v13 support (and drop v12) (3572f26) ☣
  • PHPUnit v13 support (and drop v12) (587a618) ☣

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

  • Migrated to new Cursor and class reorganization (#313, 8a0f2b0) ☣

Package graphql-printer

Miscellaneous

Code Refactoring

  • Namespace \LastDragon_ru\GraphQLPrinter renamed 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/path package should be used instead (e9e1345) ☣

Package lara-asp-documentator

Features

  • Processor: Added \LastDragon_ru\LaraASP\Documentator\Processor\Contracts\File::save and \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

Code Refactoring

  • Processor: File implemetation moved from Filesystem to executor/resolver (#305, 0102515) ☣

Package lara-asp-graphql

Features

  • Scout v11 support with more operators (and drop v10) (#314, 992c126) ☣

Miscellaneous

Package lara-asp-graphql-testing

Miscellaneous

Package lara-asp-migrator

Code Refactoring

  • Old "Raw" migrator/seeder removed (8f7e5d0) ☣

Package lara-asp-spa

Code Refactoring

  • Deprecated \Illuminate\Contracts\Validation\Rule is not used anymore (e0f308e) ☣

Package lara-asp-testing

Features

  • Scout v11 support with more operators (and drop v10) (#314, 992c126) ☣

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\WithTempFile and \LastDragon_ru\LaraASP\Testing\Utils\WithTempDirectory (f8cb698) ☣
  • Removed previously deprecated assertions/constraints (c647fe5) ☣

Package phpunit-extensions

Code Refactoring

  • Extension \LastDragon_ru\PhpUnit\Extensions\StrictScalarCompare\Extension removed (4828fcd) ☣

Package phpunit-graphql

Miscellaneous

Package text-parser

Features

  • All AST node classes converted to readonly (a193e98) ☣
  • New Cursor implementation that works with any node types (#312, 30860dd)

Deprecations 💀

  • \LastDragon_ru\TextParser\Ast\NodeMergeable removed, factories should decide how to merge nodes instead (69d6dbf) ☣
  • Removed old Cursor and related predefined node classes (82207b9) ☣

Improvements and Fixes 🌷

09 Mar 07:06
10.3.0
10dd1df

Choose a tag to compare

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\Relink will pass the original URL, node, and document in the callback (bd62862)
  • Markdown: New mutation \LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Document\Relink to update all links in the document (5a4a4cc)
  • Markdown: New mutation \LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Image\RemoveEmpty to remove images with empty destination (91cf994)
  • Markdown: New mutation \LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Reference\RemoveEmpty to remove references with empty destination (dc63f74)
  • Markdown: New mutation LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Link\UnlinkEmpty to remove empty links (4dc7590)
  • Processor: \LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Cast may return any value (62495eb)

Bug Fixes

  • Markdown: \LastDragon_ru\LaraASP\Documentator\Markdown\Extensions\Reference\Extension will store \LastDragon_ru\LaraASP\Documentator\Markdown\Extensions\Reference\Node as a reference in the \League\CommonMark\Reference\ReferenceMapInterface as it should be (2c664e0)
  • Markdown: \LastDragon_ru\LaraASP\Documentator\Markdown\Mutations\Link\UnlinkToSelf will also check absolute urls (c971043)

Package lara-asp-serializer

Features

  • \LastDragon_ru\Path\Path normalization support (7d9e232)
  • New \LastDragon_ru\LaraASP\Serializer\Attributes\TypeMap attribute (b675a39)

Package phpunit-extensions

Features

  • \LastDragon_ru\PhpUnit\Filesystem\Assertions::assertDirectoryEquals() assertion will show file content if not match (0b8ce61)

Improvements and Fixes 💖

14 Feb 09:46
10.2.0
17cda12

Choose a tag to compare

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\Extension to compare \LastDragon_ru\Path\DirectoryPath/\LastDragon_ru\Path\FilePath (507af4d)

Bug Fixes

  • \LastDragon_ru\PhpUnit\Utils\TempFile will have 0600 permissions (2188baa)

Deprecations 💀

  • Extension \LastDragon_ru\PhpUnit\Extensions\StrictScalarCompare\Extension renamed to \LastDragon_ru\PhpUnit\Extensions\StrictScalarComparator\Extension (2f44ae5)

Improvements, Fixes and New Package ☃

01 Feb 07:43
10.1.0
6ece80b

Choose a tag to compare

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/phpunit set to ^11.3.0 (e3857b3)

Package glob-matcher

Bug Fixes

  • The trailing * will implicitly match trailing / in the path (the a/* will match a/a and a/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\PathNotWritable message (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 🎄

17 Jan 12:15
10.0.0
f633384

Choose a tag to compare

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/phpunit set 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\DirectoryPath will always end with / (ac19c13) ☣

Deprecations 💀

  • Added missed @deprecated for Path component classes (6b96f96)
  • The Path component is deprecated, the lastdragon-ru/path package should be used instead (702e497)

Package lara-asp-dev

Bug Fixes

  • PHPStan rules tests marked by \PHPUnit\Framework\Attributes\RunClassInSeparateProcess to 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\DirectoryPath and hidden (d72b49d) ☣
  • Processor: \LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Task::getExtensions() can return \LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\Hook directly (9c279e6)
  • Processor: $depth support 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 Resolver available 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: Processor can 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 to void, no dependency events will be emitted (827ebfd) ☣
  • Processor: Rework of \LastDragon_ru\LaraASP\Documentator\Processor\Listeners\Console\Listener with 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-matcher will 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\Move mutation (f7273d8)
  • Processor: \LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\Adapters\SymfonyFileSystem will 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\Listener counting filesystem changes (fb1b06d)
  • Processor: Events for @before/@after hooks 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\FileSystemAdapter renamed to \LastDragon_ru\LaraASP\Documentator\Processor\Contracts\Adapter (1925a23) ☣
  • Processor: \LastDragon_ru\LaraASP\Documentator\Processor\Events\DependencyBegin and `\LastDragon_ru\LaraASP\Documentator\Processor\Eve...
Read more

Reorganization ⚗

15 Oct 14:17
9.3.1
2857d0c

Choose a tag to compare

Mark Type Count Packages
Miscellaneous 1 *

All packages

Miscellaneous

  • Package lastdragon-ru/lara-asp-graphql-printer marked as abandoned, please use lastdragon-ru/graphql-printer instead (d1d03ed)

`@oneOf` support and compatibility fixes 👍

30 Jul 07:07
9.3.0
1393b02

Choose a tag to compare

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

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 📚

17 Apr 06:26
9.2.0
55e792f

Choose a tag to compare

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

  • Processor: \LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\FileSystem will cache change only on one commit level (+ the last change will have bigger priority) (1546796)
  • Processor: Skipped dependencies will not emit file "skipped" event (718ecb3)

HTML locations & Bugfixes 🐱‍🐉

10 Apr 16:30
9.1.0
c3f994c

Choose a tag to compare

Mark Type Count Packages
Features 1 documentator
Bug Fixes 1 graphql

Package documentator

Features

  • Markdown HTML locations and mutation to remove comments (#238, b052808)

Package graphql

Bug Fixes

  • Default operators for scalars (= and !=) to avoid broken schema (eg if custom scalar added without operators) (#241, b248532)

Bugfixes 🐛

10 Apr 15:20
8.1.1
d4a2a0f

Choose a tag to compare

Mark Type Count Packages
Bug Fixes 1 graphql

Package graphql

Bug Fixes

  • Default operators for scalars (= and !=) to avoid broken schema (eg if custom scalar added without operators) (#241, 8882577)