Upgrading

Upgrade notes

v0.0.10

We're moving towards a standardised data-format across all our endpoints. This will be implemented as per the Laravel documentation using ResourceCollections instead of the current LengthAwarePaginator response.

When upgrading this package, you will need to either update your vue components to to use the new data structure, or extend and override the post controller, updating the jsonPostsResponse function to return the old format:

return Response::json(
    EnsoBlog::postResourceCollection($posts)->resource
);

v0.0.9

Added the config value enso.blog.thumbnail_sizes. This defaults to:

'thumbnail_sizes' => [
    'default' => '768_x',
],

You should add this to config/enso/blog.php.