Release Notes
February 25, 2025
Days since last major release: 34 days
Node Client
Bug Fixes
- Type Inference of tuples – fixed a bug where TypeScript couldn’t infer the types of a tuple of strings when generated by our code generation library and used inline. The fix was to stop generating tuples in the generated types and instead generate arrays of strings.
- Trailing Slash in Instance URL – fixed a bug where instance urls with a trailing slash were causing setup to fail.
- SDK – improved SDK generation so that when a malformed schema or function is trained we catch the error and display a warning so other parts of the SDK can be used.
Server & API
Improvements
- Function Lifecycle states – added, ALPHA, BETA, STABLE, DEPRECATED, DISABLED to Poly Management API for all primitives. Deprecated functions are marked as deprecated in TS only at the moment. Disabled are functions are not generated into SDKs. UI support coming in R21.
- Function Owner Association – added a field which holds a GUID mapping to a user in Poly. This optional association allows for ownership of functions by specific individuals, and is informational only at this point. UI coming in R21.
- Vari Variables – added configuration option (config-variable) to require MFA when deleting or updating Vari variables. Can be set at the tenant level or just for specific environments.
- Stack Tracing – added better stack traces for debugging server issues
- Server Function Logs – added system logs for more detailed logging around function generation and setup
- Server Function Wakeup – speed up typescript server function wakeup time by stripping unnecessary types at execution time
- Start/Stop Execution Times – can now see start/stop time by execution id in server function system logs (UI coming in future release)
- API Key Rotation Expiration Window Config – now can set a custom config-variable for the length of time to that key rotation is allowed (if at all) after expiration.
- Schema Create – add sensible defaults on creation when user leaves fields blank
Bug Fixes
- Newline Character – fixed a bug where newline characters were not being passed through to underlying APIs correctly.
- Multi-Line Logs – fixed a bug with multiline logging that sometimes caused logs to be added with the wrong timestamp
Canopy Service (and Poly Management UI)
Improvements
- SSO Integration – added support for SSO based authentication for Poly Management UI and custom canopy apps. Configuration is done on a per tenant level to add support for desired providers. Development and API access continues to be API Key Based.
- Key Expiration Experience – improved the experience for soon to expire and already expired keys across the whole UI.
- Tooltips for Fields – added support for tool tips on any canopy field in Create, Update, and Details views.
- Redeploy Button – added a button in Canopy to redeploy a server function more easily.
- Collection Info Field – ability to configure a helpful and informative field at the top of collections to help users understand the context of the collection.
- Access Logs for PolyUI – exposed access logs to admins with Manage Users permission. Shows records of each successful log in attempt, as well as failed attempts with expired keys.
Bug Fixes
- Webhook Execution Passing text/plain – fixed a bug to make it so webhook execution passes application/json to ensure server functions treat the incoming arguments as objects.
- Webhook Triggering in UI with PolyAPIKey – fixed a bug where Webhooks that required a PolyAPI key for execution could not be executed.
- Multi Page Logs – Hotfixed NA2 to fix a bug where UI pagination was not working correctly.
- Key name Cleared when selecting environment – fixed a bug where an API key name field is cleared when selecting an environment from the dropdown.
- Confusing Permissions Error – fixed a bug where login failures due to permissions were getting a confusing and unhelpful error.
VS Code Extension
Improvements
- Schemas in Tree – include schemas in the tree view
- Local Prompt API in Extension – added a local API to allow for prompts to be injected into our AI assistant to support upcoming demos/tutorials.
- Open VSX Publication – published our extension in OpenVSX to support upcoming demos and tutorials.
- Clickable Links – added clickable links to Public API Functions in PolyAPI’s VS Code documentation, allowing users to navigate directly to corresponding pages in the Canopy app.
AI Services
Improvements
- Poly AI Assistant – switched to asynchronous python framework to improve speed and scalability of PolyAPI AI operations
Docs, Public Functions and Content
Documentation
- Swagger Docs – improved API documentation for config-variable endpoints
OOB Functions
- poly.OOB.ohip.contentService.reservations.folioReports.getReport – retrieve a folio report for a specific reservation from OHIP, including financial details such as charges, payments, and adjustments.
- poly.OOB.adyen.paymentLinks.create – generate a payment link using Adyen for secure online transactions.
Demo Videos
- Getting Started – new getting started with Poly demo video. This video covers signing up, setting up your instance, creating a tenant, securing your API key, and running your first API functions with the Poly Assistant. View here: https://www.youtube.com/watch?v=COPb5Q-7i1M
Infrastructure/DevOps Improvements
Improvements
- Server stability – improve database connection cleanup after app shutdown
- KNative Version – updated to the latest version of KNative for improved security and performance.