Release Notes
February 19, 2024
Days since last production release: 27 Days
New Features
- Performance metrics – captured for each api function, server function, webhook and trigger execution, can be obtained by using the x-poly-execution-id response header value against the new /metrics endpoint to obtain request specific metrics.
- AI Assistant
- GPT 4.0 Turbo – Upgraded Poly AI Assistant to use 4.0 Turbo – And optimized prompts to generate structures which more closely match how a poly server function should be developed to accelerate development and automated testing.
- Algorithm – Added an improvement to the search algorithm to increase probability of finding functions which exist in the catalog but were not being selected previously due to verbose function descriptions.
- User Intended Messages – Added a flag for_user:true which allows for easy filtering in AI Agent conversations.
- Webhook Event Handlers – Can now include a { waitForResponse: true } argument which tells Poly server to wait for a response before releasing the connection with the http client.
- Response Content Type – Can now be set for webhook handler, server functions, and custom app responses using polyCustom.responseContentType
- Python Client
- Authorization Providers – Added support for in Python Clients
- Tree View – Similar to TS, now Python projects have a rendered tree view.
- Variable Types – Now the types of variables are available client side for easier use of variables.
- Secrets – Removed .get() operation on secrets as secrets cannot be loaded locally by a client.
- Config – added python -m polyapi config to change Poly Url and API Key configurations.
- Descriptions – Included argument and function descriptions into client library.
- Server Function Wakeup – Reduced function wakeup time.
- CLI Outputs – Standardized all text outputs with TS
- Java Client
- Tree View – Similar to TS, now Java projects have a rendered tree view.
- Library Scope – Ability to generate a subset of the library via pom configuration.
- Performance – Implemented an optimization for processing time when a Poly server function uses Poly API functions.
- Jobs – Added a mechanism to time out jobs which are running for too long.
- Infrastructure
- Redis Cache: Now deployed within Poly Platform and not as a cloud specific service.
- Horizontal Scaling: Now enabled by default at deploy.
Bug Fixes:
- Fixed a bug which prevented patching enabledRedirect property on API functions.
- Fixed an inconsistency for attribute executionType between POST, GET and PATCH functions on /jobs
- Now blocking webhook creation with a context+name which is already taken by another webhook in that same environment.
- Fixes a bug where custom return types in custom functions were not correctly being modeled with JSON Type Schema.
- Fixed a bug with errorHandler where application id was not propagated through in the error.
- Fix a bug where server functions which failed to deploy were added as client functions.
- Fixed a bug which was preventing other MIME data types from being trained correctly in API functions.