close
Skip to content

Update yiisoft/data requirement from ^1.0.1 to ^2.0.0#277

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/yiisoft/data-tw-2.0.0
Open

Update yiisoft/data requirement from ^1.0.1 to ^2.0.0#277
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/yiisoft/data-tw-2.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Updates the requirements on yiisoft/data to permit the latest version.

Release notes

Sourced from yiisoft/data's releases.

Version 2.0.0

  • New #150: Extract withLimit() from ReadableDataInterface into LimitableDataInterface (@​vjik)
  • New #153, #154: Add KeysetPaginator::withFilterCallback() method that allows set closure for preparing filter passed to the data reader (@​vjik)
  • New #153: Add Compare::withValue() method (@​vjik)
  • New #158: Add methods PaginatorInterface::isSortable() and PaginatorInterface::withSort() (@​vjik)
  • New #160: Add Sort::hasFieldInConfig() method that checks for the presence of a field in the sort config (@​vjik)
  • New #161: Add PageNotFoundException (@​vjik)
  • New #164: Add methods PaginatorInterface::isFilterable() and PaginatorInterface::withFilter() (@​vjik)
  • New #173, #184, #220: Add $caseSensitive parameter to Like filter to control whether the search must be case-sensitive or not (@​arogachev, @​vjik)
  • New #176: Add OrderHelper (@​vjik)
  • New #200: Add matching mode parameter to Like filter (@​samdark, @​vjik)
  • New #213: Add nextPage() and previousPage() methods to PaginatorInterface (@​samdark)
  • New #223: Add Sort::getDefaultOrder() method (@​vjik)
  • New #224: Add filtering by nested values support in IterableDataReader (@​vjik)
  • New #232: Add All and None filters (@​vjik)
  • New #236: Add PaginatorInterface::getFilter() method (@​vjik)
  • New #237: Add Stringable type support to filter values (@​vjik)
  • Chg #151: Rename isRequired() method in PaginatorInterface to isPaginationRequired() (@​vjik)
  • Chg #154: Raise the minimum required PHP version to 8.1 (@​vjik)
  • Chg #159: Replace withNextPageToken() and withPreviousPageToken() of PaginatorInterface with withToken(), getNextPageToken() with getNextToken(), getPreviousPageToken() with getPreviousToken(), and add getToken(). These methods use new PageToken class (@​vjik)
  • Chg #161: PaginatorInterface::getCurrentPageSize() returns 0 instead throws exception if page specified is not found (@​vjik)
  • Chg #163, #241: Remove FilterableDataInterface::withFilterHandlers() (@​samdark, @​vjik)
  • Chg #165: Simplify FilterInterface and FilterHandlerInterface (@​vjik)
  • Chg #166: Remove EqualsEmpty filter (@​vjik)
  • Chg #187: Add FilterableDataInterface::getFilter(), LimitableDataInterface::getLimit(), OffsetableDataInterface::getOffset() (@​samdark)
  • Chg #187: LimitableDataInterface::withLimit() now accepts null to indicate "no limit". 0 is now a valid limit value meaning return nothing (@​samdark)
  • Chg #211, #221, #240: Change PHP constraint in composer.json to 8.1 - 8.5 (@​vjik)
  • Chg #219: Narrow type of page size in PaginatorInterface::withPageSize() method to positive int by psalm annotation and throw InvalidArgumentException if non-positive value is passed (@​vjik)
  • Chg #219: Throw InvalidArgumentException instead of PaginatorException in OffsetPaginator::withCurrentPage() method when non-positive value is passed (@​vjik)
  • Chg #219: Don't check correctness of current page in PaginatorInterface::isOnLastPage() method (@​vjik)
  • Chg #219: Rename PaginatorException to InvalidPageException (@​vjik)
  • Chg #224: Change $iterableFilterHandlers to context object in IterableFilterHandlerInterface::match() (@​vjik)
  • Chg #225: Rename classes: All to AndX, Any to OrX. Remove Group class (@​vjik)
  • Chg #226: Refactor filter classes to use readonly properties instead of getters (@​vjik)
  • Chg #233: Remove nullable types from withFilter() and getFilter() methods of FilterableDataInterface (@​vjik)
  • Chg #241: Remove FilterHandlerInterface interface (@​vjik)
  • Chg #242, #244: Change IterableDataReader::withAddedFilterHandlers() to $extraFilterHandlers constructor parameter (@​vjik)
  • Enh #150: PaginatorInterface now extends ReadableDataInterface (@​vjik)
  • Enh #161: Add more specified psalm annotations to CountableDataInterface::count(), PaginatorInterface::getCurrentPageSize() and OffsetPaginator::getTotalItems() (@​vjik)

... (truncated)

Changelog

Sourced from yiisoft/data's changelog.

2.0.0 December 13, 2025

  • New #150: Extract withLimit() from ReadableDataInterface into LimitableDataInterface (@​vjik)
  • New #153, #154: Add KeysetPaginator::withFilterCallback() method that allows set closure for preparing filter passed to the data reader (@​vjik)
  • New #153: Add Compare::withValue() method (@​vjik)
  • New #158: Add methods PaginatorInterface::isSortable() and PaginatorInterface::withSort() (@​vjik)
  • New #160: Add Sort::hasFieldInConfig() method that checks for the presence of a field in the sort config (@​vjik)
  • New #161: Add PageNotFoundException (@​vjik)
  • New #164: Add methods PaginatorInterface::isFilterable() and PaginatorInterface::withFilter() (@​vjik)
  • New #173, #184, #220: Add $caseSensitive parameter to Like filter to control whether the search must be case-sensitive or not (@​arogachev, @​vjik)
  • New #176: Add OrderHelper (@​vjik)
  • New #200: Add matching mode parameter to Like filter (@​samdark, @​vjik)
  • New #213: Add nextPage() and previousPage() methods to PaginatorInterface (@​samdark)
  • New #223: Add Sort::getDefaultOrder() method (@​vjik)
  • New #224: Add filtering by nested values support in IterableDataReader (@​vjik)
  • New #232: Add All and None filters (@​vjik)
  • New #236: Add PaginatorInterface::getFilter() method (@​vjik)
  • New #237: Add Stringable type support to filter values (@​vjik)
  • Chg #151: Rename isRequired() method in PaginatorInterface to isPaginationRequired() (@​vjik)
  • Chg #154: Raise the minimum required PHP version to 8.1 (@​vjik)
  • Chg #159: Replace withNextPageToken() and withPreviousPageToken() of PaginatorInterface with withToken(), getNextPageToken() with getNextToken(), getPreviousPageToken() with getPreviousToken(), and add getToken(). These methods use new PageToken class (@​vjik)
  • Chg #161: PaginatorInterface::getCurrentPageSize() returns 0 instead throws exception if page specified is not found (@​vjik)
  • Chg #163, #241: Remove FilterableDataInterface::withFilterHandlers() (@​samdark, @​vjik)
  • Chg #165: Simplify FilterInterface and FilterHandlerInterface (@​vjik)
  • Chg #166: Remove EqualsEmpty filter (@​vjik)
  • Chg #187: Add FilterableDataInterface::getFilter(), LimitableDataInterface::getLimit(), OffsetableDataInterface::getOffset() (@​samdark)
  • Chg #187: LimitableDataInterface::withLimit() now accepts null to indicate "no limit". 0 is now a valid limit value meaning return nothing (@​samdark)
  • Chg #211, #221, #240: Change PHP constraint in composer.json to 8.1 - 8.5 (@​vjik)
  • Chg #219: Narrow type of page size in PaginatorInterface::withPageSize() method to positive int by psalm annotation and throw InvalidArgumentException if non-positive value is passed (@​vjik)
  • Chg #219: Throw InvalidArgumentException instead of PaginatorException in OffsetPaginator::withCurrentPage() method when non-positive value is passed (@​vjik)
  • Chg #219: Don't check correctness of current page in PaginatorInterface::isOnLastPage() method (@​vjik)
  • Chg #219: Rename PaginatorException to InvalidPageException (@​vjik)
  • Chg #224: Change $iterableFilterHandlers to context object in IterableFilterHandlerInterface::match() (@​vjik)
  • Chg #225: Rename classes: All to AndX, Any to OrX. Remove Group class (@​vjik)
  • Chg #226: Refactor filter classes to use readonly properties instead of getters (@​vjik)
  • Chg #233: Remove nullable types from withFilter() and getFilter() methods of FilterableDataInterface (@​vjik)
  • Chg #241: Remove FilterHandlerInterface interface (@​vjik)
  • Chg #242, #244: Change IterableDataReader::withAddedFilterHandlers() to $extraFilterHandlers constructor parameter (@​vjik)
  • Enh #150: PaginatorInterface now extends ReadableDataInterface (@​vjik)
  • Enh #161: Add more specified psalm annotations to CountableDataInterface::count(),

... (truncated)

Commits
  • 12c4127 Release version 2.0.0
  • c4bf3fb Rename $addFilterHandlers to $extraFilterHandlers (#244)
  • 38a1ac6 Cleanup (#243)
  • cc5dfa5 Change IterableDataReader::withAddedFilterHandlers() to `$addFilterHandlers...
  • 3217318 Remove FilterHandlerInterface and `FilterableDataInterface::withAddedFilter...
  • 43e46bf PHP 8.5 support + More tests (#240)
  • aa29e7e Use default FUNDING and ISSUE_TEMPLATE (#239)
  • 06523b1 Replace StyleCI to PHP CS Fixer (#238)
  • c03c947 Add Stringable type support to filter values (#237)
  • fcdfcee Add PaginatorInterface::getFilter() method (#236)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [yiisoft/data](https://github.com/yiisoft/data) to permit the latest version.
- [Release notes](https://github.com/yiisoft/data/releases)
- [Changelog](https://github.com/yiisoft/data/blob/master/CHANGELOG.md)
- [Commits](yiisoft/data@1.0.1...2.0.0)

---
updated-dependencies:
- dependency-name: yiisoft/data
  dependency-version: 2.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants