Home / Companies / Speakeasy / Blog / September 2024

September 2024 Summaries

4 posts from Speakeasy

Filter
Month: Year:
Post Summaries Back to Blog
Speakeasy has released several updates to enhance the functionality of its OpenAPI Studio and SDK generation processes, including AI-powered suggestions for improving OpenAPI documents and seamless integration with Laravel for PHP SDKs. The OpenAPI Studio offers AI-driven recommendations, local sync for maintaining a single source of truth, and clean versioning through overlays, all designed to streamline API workflows. Laravel integration introduces automatic service provider creation, configuration file setup, and a package structure tailored for Laravel, making it easier to integrate APIs into the Laravel ecosystem. Additionally, Speakeasy has developed a web tool to visualize and parse Zod validation errors, providing sharable URLs for easier collaboration within the TypeScript community. The latest updates also include new features and bug fixes across various languages, enhancing error handling, mock server capabilities, and performance testing.
Sep 30, 2024 515 words in the original blog post.
Contract testing is a crucial process in API development that ensures both consumers and providers adhere to a predefined agreement, usually outlined in an API specification like OpenAPI, mitigating risks from API changes. The article discusses how contract testing fits into the testing pyramid, which also includes unit, integration, and end-to-end testing, each serving different purposes and complexities. Contract tests, which verify the interactions between API consumers and providers, are more complex than unit tests but simpler than integration tests, providing early detection of breaking changes. The piece also outlines the implementation of contract testing using OpenAPI and tools like Speakeasy, which can automate test generation and ensure that APIs remain reliable despite evolving requirements. It emphasizes the importance of contract testing for maintaining a stable API ecosystem and the potential for automated test generation to save time and reduce errors.
Sep 30, 2024 3,064 words in the original blog post.
The article provides a detailed comparison of two popular JavaScript testing frameworks, Jest and Vitest, highlighting their features, performance, and suitability for various development environments. Jest, developed by Facebook and now maintained by the OpenJS Foundation, is a widely-used framework known for its extensive API, which supports various testing needs like snapshots, mocking, and code coverage, making it particularly appealing for React developers. Vitest, on the other hand, is a newer framework designed for seamless integration with the Vite development server, offering out-of-the-box support for ES modules, TypeScript, and JSX, which reduces configuration efforts and improves developer experience. The article underscores Vitest's rapid adoption due to its compatibility with modern JavaScript projects and its performance advantages, especially in watch mode. It also notes the ongoing development and community growth around Vitest, driven by its integration with Vite and the support of VoidZero, a company focused on enhancing JavaScript toolchains. Concluding that Vitest is a promising successor to Jest, the article suggests that developers consider Vitest for future-proofing their projects, especially those leveraging modern JavaScript technologies.
Sep 30, 2024 4,054 words in the original blog post.
Laravel has secured $57 million in Series A funding, signaling a resurgence of PHP and coinciding with the beta release of a new PHP SDK Generator that enhances developer experience through modern type safety and object-oriented design, while minimizing external dependencies. The generator supports PHP 8's type system and is compatible with IDEs for a superior coding experience. Additionally, Speakeasy has launched Single Sign-On (SSO) support, compatible with SAML and OIDC IDPs like Okta, reflecting its commitment to providing robust enterprise solutions. Recent updates to the Speakeasy platform include various new features and bug fixes across different programming languages, aiming to improve functionality and user experience.
Sep 18, 2024 453 words in the original blog post.