March 2025 Release Notes
This month, we're excited to introduce a more interactive liblab init
process, new configuration management with liblab config
, and expanded automation support for CI/CD pipelines. Additionally, liblab documentation now includes several new framework guides to help users generate OpenAPI specs.
New Releases this Month
- Interactive
liblab init
: Now provides a step-by-step process for configuring and generating SDKs directly from the CLI. - New
liblab config
Command: Manageliblab.config.json
directly from the CLI (eg.liblab config baseUrl "https://example.com/api/v2"
). - Non-interactive builds: The
liblab build -y
flag now allows users to build non-interactively by automatically answering "yes" to each prompt. - New OpenAPI Specification Generation Guides: Detailed instructions on automating OpenAPI spec creation from API projects, improving documentation accuracy and SDK development.
Interactive liblab init
The liblab init
command has been enhanced to provide a more streamlined and interactive setup process. Instead of requiring manual edits, users can now configure everything within the CLI, ending with a ready-to-use liblab.config.json
file.
Key Features
- Step-by-step interactive CLI configuration.
- Generates a ready to use liblab config file.
New Flags
-y
: Applies default configuration settings without prompting for user input.-f
: Overwrites an existing configuration file without requiring confirmation.
These enhancements reduce setup time and improve ease of use, especially for first-time users.
New liblab config
Command
The liblab config
command provides a new way to manage the liblab config file. This command allows users to get and set configuration values directly from the CLI, eliminating the need for manual config file edits.
Key Features
- Get and set values directly from the CLI.
- Automatic type inference when setting values.
- Easier automation of complex config file management.
This update makes managing configurations easier and enhances CI/CD automation by allowing configurations to be produced entirely through the CLI.
Non-interactive builds with liblab build -y
Automation is now even easier with the improved liblab build
command. When a liblab.config.json
file is present, the -y
flag allows users to skip all prompts.
This is particularly useful for CI/CD pipelines, ensuring smooth and automated SDK generation in production environments.
New Framework Guides
Creating OpenAPI specs can seem daunting so liblab has made it easier for you by introducing framework-specific guides that walk you through the process of producing an OpenAPI spec that can be used with liblab to generate SDKs.
- ASP.NET
- Django
- Express with JSDoc
- FastAPI
- Fastify
- Flask
- Goa
- Go with Huma
- Laravel
- NestJS
- Next.js
- Remix
- Spring Boot
Stay tuned, more guides are coming soon.