Home / Companies / Speakeasy / Blog / July 2024

July 2024 Summaries

5 posts from Speakeasy

Filter
Month: Year:
Post Summaries Back to Blog
The announcement details the release of a new Python Generator that enhances SDKs with full type safety, asynchronous support, and a streamlined developer experience. Utilizing Pydantic models, the generator ensures end-to-end type safety by validating both request and response data, crucial for maintaining data integrity in applications. It supports both asynchronous and synchronous method calls via HTTPX, allowing developers to use a single SDK instance for various operations. The inclusion of TypedDicts simplifies method input, while improvements in import patterns, dependency management through Poetry, and decoupling of class and package names aim to create a more stable, maintainable, and user-friendly codebase. The generator's release marks the beginning of continued enhancements based on community feedback, with plans to make it the default for new Python SDKs.
Jul 24, 2024 784 words in the original blog post.
Enhancing Terraform Providers with configuration validation is crucial for ensuring that API interactions meet specific requirements, such as string lengths or numerical ranges, thereby preventing errors during the apply phase and improving the end-user experience. By implementing validation within Terraform Providers, issues can be caught early during plan validation, reducing frustrating feedback loops and preventing resource deployment failures. Manual validation involves adding validators to the resource schema, which can be a daunting yet necessary task to ensure smooth deployments. Speakeasy offers a simplified solution by automatically generating validation handlers based on OpenAPI specifications, covering various types and allowing for custom logic when needed. This approach aims to enhance user satisfaction, maintain infrastructure stability, and ensure reliable configurations, minimizing the risk of errors and fostering a more predictable infrastructure management environment.
Jul 24, 2024 841 words in the original blog post.
The blog post discusses recent updates and enhancements in SDK generation and integration tools, highlighting the progression of the Python Generator from alpha to beta, which now supports Async and Pydantic models. It introduces the self-serve Mintlify integration for streamlined API documentation updates and elaborates on the enhanced Terraform Generation with OpenAPI-based Plan Validators, allowing for automatic validation of SDK configurations. Speakeasy's latest release, version 1.345.0, includes several new features and bug fixes across various programming languages, such as improved handling of error models, support for new param styles, and metadata enhancements. These updates aim to improve user experience by providing more robust and automated development tools for API and SDK management.
Jul 24, 2024 546 words in the original blog post.
The recent alpha release of a new Python SDK Generator introduces support for Pydantic models and asynchronous operations, enhancing type safety, developer experience, and IDE compatibility. This update, developed by a UK-based engineering team, leverages tools within the Python ecosystem such as HTTPX for asynchronous and synchronous method calls, and Poetry for dependency management, to create a more maintainable codebase. Concurrently, significant reductions in the bundle size of TypeScript SDKs have been achieved, with an average decrease of 30% and some reductions reaching up to 50%, thanks to the adoption of ECMAScript Modules (ESM) alongside CommonJS and refinement of library code. Upcoming updates, including the release of Zod v4, are expected to further optimize performance through enhanced tree-shaking capabilities. Additionally, the latest platform updates include various new features and bug fixes across languages such as TypeScript, Python, Terraform, Go, and Java, improving functionality and stability in areas like error message displays, SDK building options, and method argument defaults.
Jul 10, 2024 512 words in the original blog post.
The analysis compares Speakeasy and liblab in their capabilities for SDK generation, OpenAPI integration, language support, features, platform support, enterprise support, and pricing. Speakeasy supports advanced OpenAPI features and offers broader language support, generating idiomatic, type-safe, and fault-tolerant SDKs in comparison to liblab, which relies on its own configuration system and lacks certain features such as server-sent events and pagination. Speakeasy's SDKs incorporate advanced authentication handling, such as OAuth 2.0, and React Hooks for efficient API consumption in React apps. Additionally, Speakeasy provides a dependency-free CLI for local experimentation, while liblab's CLI is slower and less feature-rich. Both services offer enterprise support, but liblab is SOC 2 compliant. In terms of pricing, Speakeasy's plans start at $600 per month, while liblab's start at $300. Overall, Speakeasy excels in type safety, ease of use, and feature richness, while liblab requires more manual configuration and development effort from users.
Jul 05, 2024 4,446 words in the original blog post.