{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Adds API versioning to FastAPI applications by decorating endpoints with version numbers and generating separate versioned URL paths and documentation for each version.","skillfed_tags":["api-versioning","deprecated-but-functional"],"use_cases":["Maintain multiple API versions in a single codebase without duplicating route handlers or creating separate applications.","Gradually deprecate old API versions while supporting new ones, with each version accessible at its own URL path.","Generate separate OpenAPI documentation and Swagger UI for each API version so clients can see what changed.","Support a /latest endpoint that automatically reflects the newest API version without hardcoding version numbers in client code."],"what_it_does":"fastapi-versioning is a decorator-based library that lets you define multiple versions of the same endpoint in a single FastAPI application and automatically generates separate URL paths for each version. You decorate endpoint functions with @version(major, minor) or @version(major), and the VersionedFastAPI wrapper transforms your app to create versioned routes like /v1_0/endpoint and /v1_1/endpoint, each with its own OpenAPI documentation. It also optionally generates /latest routes that point to the most recent version.\n\nThe package depends on fastapi and starlette as its only runtime dependencies, making it lightweight to add to an existing FastAPI project. However, the project is abandoned\u2014the last release was 2021-08-24 and the last commit was 2023-07-25\u2014so it will not receive updates for newer FastAPI or Starlette releases, which may cause compatibility issues over time.","worth_installing":"Yes, if you are on a stable FastAPI version and need simple API versioning without external infrastructure. No, if you require ongoing maintenance or compatibility with the latest FastAPI releases\u2014the package is abandoned and may break with future updates. Consider it a working solution for legacy projects or prototypes, not for new production systems expecting long-term support."},"id":"fastapi-versioning","links":{"html":"https://skillfed.io/packages/fastapi-versioning","md":"https://skillfed.io/packages/fastapi-versioning.md","pypi":"https://pypi.org/project/fastapi-versioning/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-08-24","license_spdx":null,"license_treatment":"permissive","name":"fastapi-versioning","python_support":"supports_current","summary":"api versioning for fastapi web applications"},"popularity":{"monthly_downloads":84080,"position":14028,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.0"}
