Skip to content

Releases: clay/amphora

Final RC Candidate for 4.0

25 Sep 19:59
Compare
Choose a tag to compare
Pre-release
v4.0.0-rc3

4.0.0-rc3

4.0.0-rc2

31 Aug 15:12
Compare
Choose a tag to compare
4.0.0-rc2 Pre-release
Pre-release
  • Remove components/:name@version support
  • Test coverage upping

Cache Control Configuration

30 Aug 21:14
Compare
Choose a tag to compare

First addition to controlling caching in Amphora.

Allows for configuration of Express maxAge for serving static assets. To implement pass in the cacheControl object with the staticMaxAge property. The value of the property should be the number of milliseconds an asset is stored in browser cache.

amphora({
      app: app,
      cacheControl: {
        staticMaxAge: 3600000
      },
      // ...any other options
    });

Another Auth Url Patch

30 Aug 19:27
Compare
Choose a tag to compare

Last patch needed on more patch to account for when a site isn't found.

Auth Url Patch

30 Aug 17:03
Compare
Choose a tag to compare

Fun bug! An issue was found that if you have a site as a subdomain of another site, then trying to login will re-direct you to the host site's login page.

This issue is going to be solved in Amphora 4.0 when all sites share a pool of users, but for right now it's an issue.

4.0.0-rc1

31 Aug 15:05
Compare
Choose a tag to compare
4.0.0-rc1 Pre-release
Pre-release
  • Removing legacy support of server.js/index.js
  • Removing .html routes for updating component data
  • Updates packages used for testing

`@published` Lists

08 Aug 16:43
Compare
Choose a tag to compare

Adds a new route to get only the @published instances of components and pages.

  • components/:name/instances/@published: shows all published instances of that component
  • pages/@published: shows all published pages

Plugin Update

04 Aug 17:54
Compare
Choose a tag to compare

Thanks to @cruzanmo for adding a new feature, documentation and making previous plugin hooks more consistent #427

  • Added publish plugin hook
  • Made args to handlers consistent by wrapping non-array operations in an array
  • Added a nice doc on plugins

Plugin Publish Beta 1

31 Jul 20:52
Compare
Choose a tag to compare
Plugin Publish Beta 1 Pre-release
Pre-release

Beta release of #427

Expose Request Params & Query

24 Jul 20:57
Compare
Choose a tag to compare

This feature release exposes the req.query and req.params object in locals for model.js/server.js/upgrade.js files.

For further information on these two objects refer to the ExpressJS documentation as Amphora is simply passing these objects without modifying them in any way.