Release Notes
January 23, 2024
Days since last production release: 68 Days
New Features
- Python Client Library Generation
- Installation from pypi (pip)
- Generation command to create type definition files and power mypy intellisense
- Custom Server Functions with corresponding deploy commands
- AI Assistant examples to use Poly functions generated in python code
- MISSING as of R7:
- Tree view rendering for python library
- Client custom functions
- AuthProvider functions generation
- 1-click library and dependency setup within tree view
- Support for Webhook Event websocket connection to server
- Error handler to process events using Python
- Receiving .onUpdate vari events via Python
- Java Client Library Generation Improvements
- Support for Custom Server Functions
- Support for Custom Client Functions
- MISSING as of R7:
- Non-poly library support for server custom functions
- Support for rendering functions in tree view
- 1-click library and dependency setup within tree view
- Support for Webhook Event websocket connection to server
- Error handler to process events using Java
- Receiving .onUpdate vari events via Java
- TypeScript:
- Added type definition generation for non-secret vari .inject()
- Return type for secret variables.
- Developer Experience:
- Added support for notifying users that their VS code extension is out of date and must be upgraded to the latest version.
- Scheduled Jobs
- Ability to CRUD jobs which execute using either a period or cron expression. Jobs pass a static event object to a set of parallel or serial custom functions
- Ability to view the result of jobs as /executions.
- Custom Server Function Logging:
- Support for custom function logging within custom functions which are invoked via a trigger instead of directly via library.
- Ability to delete logs for a given server function
- DevOps:
- Published an installation guide for customers deploying to own Kubernetes clusters
- Support for deploying Poly in GCP Kubernetes GKE
- Error Handler:
- Now receives error events for Customer Server functions, invoked via library and via triggers
- Public Functions Added since Release 6:
- Adyen API functions for creating, capturing, and updating a payment.
- Adyen webhooks for capturing authorizations, payments
- Salesforce API functions for creating, updating, getting a collection, getting details, and deleting: Contacts, Accounts, and Leads
Bug Fixes
- Logging on/off no longer forces a custom function redeploy
- Logging objects was creating multiple log entries.
- Duplicate Errors for Custom Functions
- Null function Details in AI Plugin Calls
- Renamed OpenAI Service token in Plugin Details
- 500 when trying to get an OpenAPI specification as a sub resource of the plugin metadata
- Fixed a bug where the AI Description generation response object was malformed at the time of training in some cases.
- Optimized prompts for API discover to make the response time faster
- Allowed for returning of non object responses for webhook invocations
- In the case that deploying server functions took too long, KNative errored and caused the function to be treated as a client side function.
- Poly was not correctly formatting strings, in API function calls, which are concatenation of multiple arguments.
- Fixed a webhook execution bug which was caused by multi-container redis not correctly delivering events to clients.
- Improved scaling and downtime by supporting a multi replica kubernetes model. This was an adjustment to a downtime of 5 minutes on November 27th
- Arguments were modeled as numbers when passed a string, now correctly modeled as strings if passed as strings.
- Passthrough errors from open AI to IDE AI Assistant instead of throwing 500 server errors.
- Modified default log retention in NA1 to 30 days (from 1 day)
- Fixed a miss-configuration with our external traffic policy which impacted our ability to scale to multiple workers and caused 9 minutes of downtime on Dec 16th.
- type:object was being converted to a type string when generating library