Releases
v0.99.51
lkrms
released this
17 Sep 02:16
Added
Curler
Add Curler
method alwaysPaginates()
PHPStan
Add TypesAssignedByHasMutatorRule
to check property changes made by HasMutator
(previously HasImmutableProperties
)
Sync
Add HttpSyncProvider::getAlwaysPaginate()
method
Add $alwaysPaginate
parameter to HttpSyncProvider::getCurler()
Add HttpSyncDefinition::$AlwaysPaginate
property
Add $alwaysPaginate
parameter to HttpSyncDefinition::withPager()
for consistency with the equivalent Curler
method
Changed
Console
In ConsoleTagFormats
:
Implement Immutable
Rename set()
to withFormat()
and return a copy
Rename get()
to getFormat()
Extend Immutable
from ConsoleFormatterInterface
Core
In HasImmutableProperties
, require implementation of Immutable
Rename HasImmutableProperties
to HasMutator
Rename HasMutator::withPropertyValue()
to with()
Rename HasMutator::withoutProperty()
to without()
Make HasMutator
methods private for better safety by default
Curler
Accept and return request objects in Curler
method replaceQuery()
Don't extend CurlerPageRequestInterface
from CurlerPageInterface
Reinstate CurlerPageInterface
methods hasNextRequest()
and getNextRequest()
Allow CurlerPageInterface::getNextRequest()
to return CurlerPageRequestInterface
for consistency with CurlerPagerInterface::getFirstRequest()
Add TPage
template to CurlerPagerInterface::getPage()
Rename CurlerPageRequestInterface::getNextRequest()
to getRequest()
Rename CurlerPageRequestInterface::getNextQuery()
to getQuery()
Extend Immutable
from CurlerInterface
Http
Accept and return request objects in Http::mergeQuery()
and Http::replaceQuery()
Removed
Core
Remove HasMutator::clone()
(previously HasImmutableProperties::clone()
)
Curler
Remove CurlerPageRequestInterface::hasNextRequest()
Fixed
Sync
Fix incorrect documentation that indicates HttpSyncProvider::getCurler()
arguments take precedence over HttpSyncProvider::filterCurler()
You can’t perform that action at this time.