PolyAPI  >  Learn More  >  Blog

PolyAPI Release 7: Expanding Capabilities

Release 7

PolyAPI’s Release 7 introduces a host of new features, improvements, and crucial bug fixes designed to enhance the developer experience and expand the platform’s capabilities. This release brings significant updates to the Python and Java client libraries, TypeScript enhancements, scheduled jobs, custom server function logging, and more.

New Features

Python Client Library Generation

  • Installation from PyPI (pip): Simplify your Python projects by installing Poly API directly from PyPI using pip.
  • Generation Command: Create type definition files and leverage mypy IntelliSense for better code completion and error checking.
  • Custom Server Functions: Generate and deploy custom server functions using Python.
  • AI Assistant Examples: Use AI Assistant examples to generate Poly functions in Python code.

Java Client Library Generation Improvements

  • Support for Custom Server Functions: Generate and deploy custom server functions using Java.
  • Support for Custom Client Functions: Generate custom client functions for Java projects.

TypeScript Enhancements

  • Type Definition Generation: Added type definition generation for non-secret vari .inject().
  • Return Type for Secret Variables: Improved handling of return types for secret variables.

Developer Experience

  • VS Code Extension Notifications: Notify users when their VS Code extension is out of date and prompt them to upgrade to the latest version.

Scheduled Jobs

  • CRUD Jobs: Create, read, update, and delete jobs that execute using either a period or cron expression. Jobs can pass a static event object to a set of parallel or serial custom functions.
  • Job Execution Results: View the results of job executions at /executions.

Custom Server Function Logging

  • Support for Custom Logging: Enable logging within custom functions invoked via a trigger.
  • Delete Logs: Ability to delete logs for a given server function.

DevOps

  • Installation Guide: Published a guide for customers deploying Poly to their own Kubernetes clusters.
  • GCP Kubernetes GKE Support: Added support for deploying Poly in GCP Kubernetes GKE.

Error Handler

  • Receive Error Events: Now handles error events for customer server functions invoked via the library and triggers.

Public Functions Added since Release 6

  • Adyen API Functions: Functions for creating, capturing, and updating a payment. Adyen webhooks for capturing authorizations and payments.
  • Salesforce API Functions: 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: Fixed issue where logging objects created multiple log entries.
  • Duplicate Errors for Custom Functions: Resolved issue with duplicate errors.
  • Null Function Details in AI Plugin Calls: Fixed issue with null function details.
  • OpenAI Service Token: Renamed in plugin details.
  • 500 Error on OpenAPI Specification: Resolved error when trying to get an OpenAPI specification as a sub-resource of the plugin metadata.
  • Malformed AI Description Response: Fixed issue with malformed AI description generation response during training.
  • Optimized API Discover Prompts: Improved response time.
  • Non-Object Webhook Responses: Allowed returning non-object responses for webhook invocations.
  • KNative Error Handling: Resolved issue where server functions treated as client-side functions due to deployment timeouts.
  • String Formatting in API Calls: Fixed issue with incorrect string formatting.
  • Webhook Execution Bug: Fixed bug caused by multi-container Redis not delivering events correctly.
  • Improved Scaling and Downtime: Enhanced support for multi-replica Kubernetes model, reducing downtime.
  • Argument Modeling: Correctly model arguments as strings if passed as strings.
  • Passthrough Errors from OpenAI: Improved error handling in IDE AI Assistant.
  • Log Retention Adjustment: Modified default log retention in NA1 to 30 days.
  • External Traffic Policy: Fixed configuration impacting scaling and causing downtime.
  • Library Generation Type Conversion: Corrected issue where type:object was being converted to type:string.

Moving Forward

Poly API Release 7 focuses on expanding the capabilities of the platform, enhancing the developer experience, and ensuring robust and reliable performance. These updates reflect our ongoing commitment to providing a comprehensive and efficient API management solution.

For more details, visit our documentation site or contact our support team. Your feedback is essential as we continue to innovate and improve Poly API.

Share this Article: