Skip to content

Releases: bearsunday/BEAR.Resource

1.23.0

27 Oct 17:30
ae1c589
Compare
Choose a tag to compare

What's Changed

  • Make koriym/json-schema-faker package optional by @koriym in #309

Full Changelog: 1.22.5...1.23.0

1.22.5

22 Oct 23:41
75031f0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.22.4...1.22.5

1.22.4

21 Oct 12:04
0627482
Compare
Choose a tag to compare

What's Changed

  • Update dependabot.yml by @koriym in #299
  • Update koriym/json-schema-faker requirement from ^0.2 to ^0.3 by @dependabot in #302
  • Support justinrainbow/json-schema v5 and v6 by @koriym in #303
  • Update rector/rector requirement from ^0.14.8 to ^1.2.4 by @dependabot in #304
  • Adjustments for changes to the Unbound exception message in CompileInjector by @jingu in #306

New Contributors

Full Changelog: 1.22.3...1.22.4

1.22.3

23 May 12:12
35ac6ef
Compare
Choose a tag to compare

What's Changed

  • Change HTTP client in symfony/cache to Curl by @koriym in #296

Full Changelog: 1.22.2...1.22.3

1.22.2

23 May 05:18
e5fddca
Compare
Choose a tag to compare

What's Changed

Incorrect phpdoc type specification is corrected; an error with a false positive in phpstan is repaired.

New Contributors

Full Changelog: 1.22.1...1.22.2

Thanks @KazuyaUchida !

1.22.1

26 Apr 09:18
f11403d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.22.0...1.22.1

It was a tedious task that had to be done at some point.
Thnaks @NaokiTsuchiya

1.22.0

22 Apr 09:26
0a3cd1d
Compare
Choose a tag to compare

Introduced: a Self link feature that enhances the linking capabilities within the application. This allows resources to directly link to themselves using the _self keyword, streamlining the process of assigning a resource's body to another without an intermediary.

#[Embed(rel: "_self", src: "app://self/bar")]

What's Changed

Full Changelog: 1.21.0...1.22.0

三春の大滝

1.21.0

23 Mar 10:40
67f1f9c
Compare
Choose a tag to compare
public function _invokeRequest(InvokerInterface $invoker, AbstractRequest $request): ResourceObject;

上記のインターフェイスがResourceObjectに実装され、ResourceObjectはリソースリクエストを自分自身が行うようになりました。
The above interface is implemented in ResourceObject, and ResourceObject now makes resource requests itself.

    public function _invokeRequest(InvokerInterface $invoker, AbstractRequest $request): ResourceObject
    {
        return $invoker->invoke($request);
    }

transfer()と同じように外部からサービスオブジェクトが渡され自身が実行します。ユーザーはこのメソッドをオーバーライドして実行部分を上書きする事ができます。
Like transfer(), a service object is passed from the outside and executed by itself. The user can override this method to override the execution part.

What's Changed

Full Changelog: 1.20.2...1.21.0

1.20.2

22 Aug 22:40
246016b
Compare
Choose a tag to compare

What's Changed

  • Fixed issue with RequiredParam handling null by @jingu in #285

Full Changelog: 1.20.1...1.20.2

1.20.1

25 Jul 06:11
e03775f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.20.0...1.20.1

Doc change: bearsunday/bearsunday.github.io#245