Closed vauvarin closed 1 year ago
This is what deprecated:
Old Kirby\Toolkit\Query has been deprecated and will be removed in Kirby 3.10.0. Use Kirby\Query\Query instead, e.g.Query::factory($query)->resolve($data).
new Query($query, $data): Passing $data to constructor will be deprecated. Use (new Query($query))->resolve($data) instead.
Query::result() will be deprecated. Use $query->resolve($data) instead.
You can check the PR here: https://github.com/getkirby/kirby/pull/4626
thanks @vauvarin
that should be fine in v3 of plugin by now. i wont patch v2.
With the release of Kirby 3.9.0, the Toolkit\Query class has been deprecated and should be replaced by Query\Query.