Penfield v1.0.17

Penfield – Client Runtime Version Testing Tool

You can now force a client to use a specific Penfield version for the duration of a session without affecting their live production version. This allows testing of new releases directly in the client environment without additional tooling.

This works by creating a temporary cookie, so it will not function if cookies are disabled.

Usage examples:

Force a version:

synthetix.forceVersion('1.0.17');

Reset back to the configured version:

synthetix.resetVersion();

Penfield – Duplicate Feedback Calls Fixed

Fixed an issue where the number of /feedback calls per article increased as users navigated between articles, resulting in duplicate feedback submissions.

Penfield – Compatibility Fix for Removed Polyfills

Resolved a bug that caused errors when changing categories or opening suggested articles after a search, caused by client-side polyfills being overwritten.

Penfield – Further Reduction of /trigger API Calls

Further optimised the system to reduce the number of calls to the /trigger endpoint, for both lite-mode and standard mode clients.

Penfield – get_synthetix.js File Optimisation

  • Removed redundant and unused code from the root get_synthetix.js

  • Reduced overall file size for faster loading

Penfield – Automated Deployment for get_synthetix.js

Root get_synthetix.js now supports automated deployments, with different deployment targets based on the active branch.

Penfield – Runtime Environment Switching (Staging/Dev/Prod)

From v1.0.17 onwards, Penfield instances can dynamically switch front-end and API environments during runtime (useful for testing and previewing changes).

Front-end environments:

synthetix.enableSandbox();synthetix.enableDev();synthetix.enableStaging();synthetix.enableProd();

API environments:

synthetix.enableDevAPI();synthetix.enableStagingAPI();synthetix.enableProdAPI();

Chatbot – Article Banner Trigger

You can now configure a chatbot banner trigger that opens an article when clicked. This displays when livechat is offline and the trigger is scheduled.

How to configure:

  1. Create an in-page knowledge trigger with the target article.

  2. Name the trigger (default name expected is: inivaarticle).

  3. In API_SelfConfigureStore (DynamoDB), set:

    • synthetix.config.product.knowledge.bot.scheduled_trigger = true

    • synthetix.config.product.knowledge.bot.triggers.banner_article =

IVA – Suggested Articles Bug Fix

Fixed an issue where suggested articles stopped responding if livechat had been opened and closed beforehand.

Penfield Lite Mode – Stage 1

Introduced Penfield Lite Mode (Stage 1) with key performance improvements:

  • /self_configure responses are now cached for 1 hour

  • When lite-mode is enabled, external trigger calls only occur after an in-page trigger is clicked

IVA Livechat – Trigger Processing Bug Fixed

Resolved a bug where starting a livechat in IVA and cancelling it caused errors when the product attempted to reload.