Skip to content

Releases: clay/amphora

Feature: unpublish hook old page uri

12 Feb 20:03
Compare
Choose a tag to compare
  • Adds page uri to the unpublished webhook (#511) [Thanks @zonika!]

Bug Fix: getSiteFromPrefix

09 Feb 14:56
Compare
Choose a tag to compare
  • Fixes faulty assumption around a site's path in the getSiteFromPrefix function [#510] (Thanks @zonika!)

page-plugin-hooks

06 Feb 21:13
Compare
Choose a tag to compare

add plugin hooks for page actions #482

Bug Fix: Webhook Logging

31 Jan 18:02
Compare
Choose a tag to compare
  • Fixed issue where notification errors were not being logged with the logging package (#484)

Feature: Component Rendering Message

26 Jan 19:39
Compare
Choose a tag to compare

When rendering a route defined by a site's controller, Amphora logs a success message with the render time of the page. This messaging is now added to a component that's rendered in a non-JSON format at it's specific route: i.e. site.com/components/foo/instances/test.html

Additionally, added stack trace to error messages for server error logs.

Feature: Renderer Specific Model.js Files

18 Jan 20:27
Compare
Choose a tag to compare
  • Allows for <RENDERER_EXTENSION>.model.js files to be included in components (#480)

For a detailed explanation of the rationale, please refer to the the PR.

These files should closely mirror the regular model.js files, except they only need to export one function by default.

module.exports = function (ref, data, locals) {

// Transform data
// Return a Promise which resolves data 
// or an object directly

return data;
};

Plugins: Stream Support

08 Jan 16:11
Compare
Choose a tag to compare

PR: #476

  • Adds plugin Streams support for the publish and save events. Use publishStream and saveStream.
  • Bug fix where save and publish events could collide

5.0 RC 2

02 Nov 16:58
Compare
Choose a tag to compare
5.0 RC 2 Pre-release
Pre-release
  • Changes all prefixing of keys to be by slug
  • Adds functionality for finding site by slug
  • General underscoring consistency improvements
  • Deprecates some helper functions in favor of moving them to clayutils

Bug Fix: Multiple Schedule Instances

30 Oct 13:42
Compare
Choose a tag to compare

Fixes a faulty assumption around creating multiple @scheduled instances of pages and layouts.

Bug Fix: Deleting Scheduled Instances

27 Oct 20:43
Compare
Choose a tag to compare

Specifies a @scheduled specific DELETE route for pages and components so that users with a write auth level can unschedule pages.