Releases: clay/amphora
Releases · clay/amphora
v6.7.6-beta.2
6.7.6-beta.2
v6.7.6-beta.1
6.7.6-beta.1
Bugfix: Renderer Models
Fixed a bug where renderer models were not being called properly (#592)
Bugfix: Wait For V7 To Bootstrap Layouts
Layouts should not be bootstrapped until v7
Future Preparation
Feature: Pub/Sub Event Bus With Redis
Features:
- Adds an event bus using Redis. The bus is optional and requires setting the env var
REDIS_BUS_HOST
. See details here: https://claycms.gitbooks.io/amphora/docs/topics/event-bus.html
v7.0.0-beta.2
7.0.0-beta.2
Feature: Publish Dynamic Pages
Feature:
Allows dynamic pages to be published as long as the _dynamic
property is set to true
on the page data as documented here
Bugfix:
- Fixes a bug where rendering dynamic pages pulled from the editable instance of the pagei
Feature: Call publishLayout hook when publishing layouts
- Layouts are denoted with a root-level
_layout: true
property in their schemas - When publishing components, amphora will check the schema to determine if they are layouts
- When publishing a layout, amphora will call the
publishLayout
plugin hook - This is used by
amphora-search
to populate and update thelayouts
index
Feature: Routing & Component Error Responses
Features
- (#544) Components can now affect the error response sent to the client, allowing components to
404
a page rather than simply send a500
. To use, define astatus
property on the error thrown from a component. For example:
module.exports.render = (ref, data, locals) => {
var err = new Error('no results!');
err.status = 404;
throw err;
}
- (#543) A more complex router can now be defined on the site's controller at the
routes
property. For details, see the documentation: https://claycms.gitbooks.io/amphora/docs/basics/routes.html