0.3.0
This release adds a new /v1/pages/:page/htmlstatus
endpoint that provides information about the availability of HTML for a specific page instance (set of page parameters). The Times Square UI monitors this endpoint to determine if an HTML rendering is available and when to refresh the iframe element displaying the HTML rendering.
In addition, the htmlstatus
endpoint includes a SHA256 hash of the HTML, which is now stored alongside the HTML in the Redis cache. This hash can be used to invalidate expired HTML renderings for pages with a finite time-to-live setting.
As well, this release adds a new times-square reset-html
command to the command line interface for clearing the Redis cache of HTML renderings (primarily useful during development).
Change log
Features
- DM-34030: Add an htmlstatus endpoint by @jonathansick in #24
Dependency updates
- [neophile] Update dependencies by @sqrbot in #25
- Bump python from 3.10.2-slim-bullseye to 3.10.3-slim-bullseye by @dependabot in #27
- Bump actions/cache from 2 to 3 by @dependabot in #26
- Bump python from 3.10.3-slim-bullseye to 3.10.4-slim-bullseye by @dependabot in #29
Full Changelog: 0.2.0...0.3.0