Skip to content

chore(deps): update dependency bear/resource to v1.36.1 - #146

Merged
h13 merged 1 commit into
mainfrom
renovate/bear-resource-1.x-lockfile
Nov 29, 2026
Merged

h13 merged 1 commit into
mainfrom
renovate/bear-resource-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
bear/resource (source) 1.35.0 → 1.36.1 age confidence

Release Notes

bearsunday/BEAR.Resource (bear/resource)

v1.36.1

Compare Source

Changed
  • No longer conflicts with bear/query-repository 1.20.2 to 1.20.x or bear/async before 0.6.0. bear/query-repository 1.20.2 follows the links of a donut hole embedded with links twice on a cache hit; use 1.20.1 or 1.21 for such a hole.

v1.36.0

Compare Source

Added
  • HalLinker::link() returns a rel's href and title as HAL _links has them, and ResourceLinks gives a template
    read-only _link.<rel>.href / _link.<rel>.title.
Changed
  • A request carries its links in its URI as a #link=type:rel,... fragment: toUri() writes it and uri() /
    newRequest() read it back. Code that rebuilds a request from toUri() must not add the links again.
  • Conflicts with bear/async before 0.6.0 and bear/query-repository 1.20.2 to 1.20.x; update them together, e.g.
    composer update bear/resource bear/query-repository bear/async -W.
  • Behaviour change: a request URI with any other fragment throws UriException.
  • Behaviour change: a #[Link] href with a fragment throws LinkHrefException; remove the fragment.
  • Behaviour change: linkSelf() and #link=self:<rel> return the linked resource object, and a following link
    is read from it.
  • Requires ray/aop 2.20.3 and ray/di 2.22.1 or later.
  • Implementation classes are marked @internal; interfaces, attributes, modules and exceptions stay public.
Deprecated
  • AppIterator, AssistedParam, ProviderInterface and Exception\HrefNotFoundException move to
    src-deprecated/ and still autoload.
Removed
  • The array $values first parameter of the #[Link], #[Embed] and #[ResourceParam] constructors; pass named
    arguments.
  • The deprecated ParameterHandler and ParameterHandlerInterface, which could not be used.
Fixed
  • Psalm 6 reads the StatusMessageMap type of Code::$statusText again.
  • Interfaces and extendable classes carry no purity annotation, so PHPStan reports no purity errors in their
    subclasses and implementations need no @psalm-capabilities.
  • A #[Link] href is reverse-routed with its query: /blog{?id} becomes /blog/1 for a route /blog/{id}.

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • "after 9pm and before 11:59pm on sunday,before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled because a matching PR was automerged previously.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@h13
h13 merged commit 352eb18 into main Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant