We’re happy to announce Flama 1.10 🎉, packed with exciting features that have been brewing since our last major update. This release rolls up the goodness from 1.8 and 1.9, which we didn’t get around to shouting about earlier, and tops it off with some shiny new additions in 1.10. Let’s dive into the highlights!
This release brings a slew of new capabilities to make your ML API development smoother, smarter, and more powerful. Here’s what’s new across these versions:
Access and Refresh Token Components (1.8.0): Say hello to enhanced security and flexibility! Flama now includes components for access and refresh tokens, making it easier to implement robust authentication flows and manage user sessions seamlessly.
Support for Python 3.13 and Dropping 3.8 (1.8.0): We’re keeping up with the times—Flama now supports Python 3.13, bringing you the latest language features and performance boosts. To keep things lean, we’ve waved goodbye to Python 3.8 compatibility.
Adapted Serialization for New TensorFlow Version (1.8.0): Machine learning devs, rejoice! Flama’s serialization has been updated to play nicely with the latest TensorFlow version, ensuring your models integrate effortlessly.
Typing.Annotated for Schema Types (1.9.0): We’ve leveled up our type system by adopting
typing.Annotated
for schema definitions. This makes your code more expressive and type-safe, giving you clearer control over your API schemas.Allow Importing DDD Without SQLAlchemy Installed (1.9.0): Flexibility is key! You can now use Flama’s
ddd
module without needing SQLAlchemy, making it lighter and more adaptable to your project’s needs.Compatibility Lib for Older Python Versions (1.9.0): While we’ve embraced the future with 3.13, we’ve also added a compatibility library to ensure smooth sailing on older Python versions where needed.
Path Params Component (1.10.0): Dynamic routing just got better! The new path parameters component lets you handle URL variables with ease, giving your APIs more versatility.
Replace Black and Isort with Ruff (1.10.0): We’ve swapped out Black and Isort for Ruff, a faster and more comprehensive tool for code formatting and linting. Your development workflow just got a speed boost!
Replace Poetry with UV (1.10.0): Dependency management is now powered by UV instead of Poetry, offering a snappier and more efficient way to handle your project’s packages.
Module for Gathering Telemetry Data (1.10.0): Get insights like never before! Flama now includes a telemetry module to help you track usage and performance, empowering data-driven decisions for your APIs.
Enrich OpenAPI Specification (1.10.0): Your API docs are about to get a glow-up. We’ve enriched the OpenAPI spec generation, making it more detailed and user-friendly for consumers of your APIs.
Docs Page Using Scalar (1.10.0): Speaking of docs, we’ve introduced a sleek new documentation page powered by Scalar. It’s prettier, more interactive, and makes exploring Flama’s features a breeze.
To help you make the most of these updates, we’ll be rolling out a few detailed follow-up posts with examples showcasing how to leverage telemetry, path params, and the enriched OpenAPI specs in your projects. Keep an eye out!
Stay tuned for more, and happy coding! 🚀
References
About the authors
- Vortico: We’re specialised in software development to help businesses enhance and expand their AI and technology capabilities.