laravel-json-api/core v4.laravel-json-api/core v4 or v5.array_shift to avoid potential problem
introduced in Laravel.array_shift to avoid potential problem
introduced in Laravel.JsonArray - ensures a value is a zero-indexed array, i.e. it would have been an array in JSON.JsonObject - ensures a value is an associative array, i.e. it would have been an object in JSON.8.2.8.1.AllowedFieldSetsAllowedPageParametersAllowedFilterParametersAllowedCountableFields rule now correctly passes an empty string.AllowedFieldSets validation of an empty
value (empty string or null) for a resource type's fields.laravel-json-api/core dependency version is now 2.0.JsonNumber validates that the value is a number in JSON (i.e. integer or float), or just an integer.JsonBoolean validates that the value is a boolean in JSON. It can also be used for query string parameters that
will be filtered to booleans via its asString() method.Initial stable release, with no changes from 1.0.0-beta.3.
AllowedSortParameters rule class to use renamed method on the Schema contract.AllowedCountableFields rule, which can be created via the Rule::countable and Rule::countableForPolymorph
methods.Rule::includePathsForPolymorph() method. This returns an include path rule that is configured to allow all the
include paths for every inverse schema that a polymorphic relation has.fields query parameter are not recognised.composer.json.Initial release.
How can I help you explore Laravel packages today?