Repository navigation
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\Events\DependencyEndmerged into\LastDragon_ru\LaraASP\Documentator\Processor\Events\Dependency(2484576) β£ - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\Listeners\Console\Listenerrenamed to\LastDragon_ru\LaraASP\Documentator\Processor\Logger\Logger(372bd89) β£ - Processor:
\LastDragon_ru\LaraASP\Documentator\Processor\Tasks\Hookrenamed to\LastDragon_ru\LaraASP\Documentator\Processor\Hook(a489cc6) β£ - Processor:
$include/$excludeacceptlist<string>only (c231430) β£ - Processor: Better
\LastDragon_ru\LaraASP\Documentator\Processor\Tasks\Hooknames (05bd21b) β£ - Processor: Metadata renamed to cast (#260, 514bf26) β£
- Processor: New contract
\LastDragon_ru\LaraASP\Documentator\Processor\Contracts\FileSystemAdapter(from\LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\Adapter) (d262c1e) β£ - Processor: No generators to resolve dependencies (#244, 48092e7) β£
- Processor: Removed
\LastDragon_ru\LaraASP\Documentator\Processor\FileSystem\Hook::Contextand\LastDragon_ru\LaraASP\Documentator\Processor\Dependencies\Context(748a41c) β£ - Processor: The
stringwill not be used internally for file/directory path (5ed3ea6) β£
Package glob-matcher
Features
- Added
\LastDragon_ru\GlobMatcher\GlobMatcher::escape()(should be used instead of\LastDragon_ru\GlobMatcher\GlobUtils::escape()) (63209ee) β£ - Added
\LastDragon_ru\GlobMatcher\GlobUtils::escape()to escape glob pattern (de3b742) - Expose
\LastDragon_ru\GlobMatcher\GlobMatcher::$optionsand\LastDragon_ru\GlobMatcher\Glob\Glob::$options(db93eda) - New
\LastDragon_ru\GlobMatcher\Contracts\Matchercontract (1905be2) β£ - New package (#258, 03b4f4e)
Bug Fixes
- Missed
symfony/polyfill-php84dependency (fa98269)
Code Refactoring
\LastDragon_ru\GlobMatcher\GlobMatcher::regex()marked asprivate(557c500) β£
Package lara-asp-graphql
Bug Fixes
- Compatibility with
nuwave/lighthouse:>=6.62.1(1aa24e0)
Package graphql-printer
Features
@oneOfsupport (6309763)
Deprecations π
\LastDragon_ru\LaraASP\GraphQLPrinter\Blocks\Document\Directives::__construct($deprecationReason)(291cf41)
Miscellaneous
- Package renamed to
lastdragon-ru/graphql-printer(7da52eb) β£
Package lara-asp-graphql-testing
Features
- New package (e12f3c6) β£
Bug Fixes
- Missed
symfony/polyfill-php84dependency (fa98269)
Code Refactoring
- Classes rename (#281, 4eedd4f) β£
- GraphQL assertions don't accept
\SplFileInfoanymore (32a1b1f) β£
Package lara-asp-testing
Deprecations π
\LastDragon_ru\LaraASP\Testing\Concerns\StrictScalarCompare(dc64632)\LastDragon_ru\LaraASP\Testing\Requirements\PhpUnit\Extension(f790ac3)\LastDragon_ru\LaraASP\Testing\Utils\WithTestDataand\LastDragon_ru\LaraASP\Testing\Utils\TestData(467d285)
Package path
Features
- Added
\LastDragon_ru\Path\Path::$typethat should be used instead of\LastDragon_ru\Path\Path::$absolute/\LastDragon_ru\Path\Path::$relativeproperties (#267, a619a82) β£ - Basic support for Universal Naming Convention (UNC) (9c43105)
- More types and Windows relative path resolution (#270, 4caed8d) β£
- New package π (#266, 177b9e5)
- Path root normalization (= it will be always in normalized form for easy use) (c33262e)
- The
~usernamewill be treatment as a new\LastDragon_ru\Path\Type::User(977fb24)
Performance Improvements
\LastDragon_ru\Path\Path::equals()fast check for identical (34449d3)
Bug Fixes
- Missed
symfony/polyfill-php84dependency (fa98269) - The
~will be treatment as\LastDragon_ru\Path\Type::Homeinstead of\LastDragon_ru\Path\Type::Relative. Also, the normalized form of./~is./~(not just~) to avoid type changes (509b12a)
Package phpunit-extensions
Features
- New package (#282, fa925bf)
- New extension
\LastDragon_ru\PhpUnit\Extensions\Requirements\Extension(327bb7f) - New extension
\LastDragon_ru\PhpUnit\Extensions\StrictScalarCompare\Extension(631b08b) - New utility
\LastDragon_ru\PhpUnit\Utils\TestData(6d90783)
Package phpunit-graphql
Features
- New package (37b7114) β£
- Package
graphql-printer-testingrenamed tophpunit-graphql(#280, 907ac37) β£
Code Refactoring
- Classes rename (#281, 4eedd4f) β£
- GraphQL assertions don't accept
\SplFileInfoanymore (32a1b1f) β£
Package lara-asp-serializer
Features
- New
\LastDragon_ru\LaraASP\Serializer\Normalizers\EnumNormalizerfor\UnitEnumand\BackedEnum(3c6dcca)
Bug Fixes
- Compatibility with
symfony/serializer:>=7.3.1(dd87931)
Deprecations π
- Removed
\LastDragon_ru\LaraASP\Serializer\Normalizers\UnitEnumNormalizer(7a32e94) β£
Package lara-asp-spa
Code Refactoring
- Several classes were moved to
lara-asp-testingpackage (adc9370) β£
Package lara-asp-testing
Bug Fixes
- Comparators will not use
@internalclasses fromsebastian/comparator(compatibility withsebastian/comparator:>=7.1.2) (8df95b6)
Package text-parser
Features
Bug Fixes
\LastDragon_ru\DiyParser\Iterables\TokenUnescapeIterablewill preserve escape before non-escapable tokens (e66f885)