Publication
Reading Time
Releasing Flama 1.10
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
Support our work
If you like what we do, there is a free and easy way to support our work. Gifts us a ā at Flama.
GitHub ā's mean a world to us, and give us the sweetest fuel to keep working on it to help others on its journey to build robust Machine Learning APIs.
You can also follow us on š, where we share our latest news and updates, besides interesting threads on AI, software development, and much more.
About the authors
- Vortico: Weāre specialised in software development to help businesses enhance and expand their AI and technology capabilities.