Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the status of this project? Is it still active? #65

Open
crashCoder opened this issue Jan 18, 2022 · 2 comments
Open

What is the status of this project? Is it still active? #65

crashCoder opened this issue Jan 18, 2022 · 2 comments

Comments

@crashCoder
Copy link

Hello,

First of all, thank you for the project.
I would like to ask if the project is still active. I can see some PRs opened since last year and I was planning to open a PR but in case there is no activity I probably going to create a new project instead of a fork, of course giving appropriate credit.
Thank you in advance for the response

@crashCoder crashCoder changed the title Project activity What is the status of this project? Is it still active? Jan 18, 2022
@PabloRuizCuevas
Copy link

Probably is abandoned/orphan, I tried to contact the developer @DeanWay multiple times for the last months, he doesn't even reply even-though there is no effort involved on leaving the pypi keys to someone else or some permissions in the repo.

It would be nice if someone claims the project but that could take months, so maybe for now I wouldn't suggest to use this project at all, better use another solution to your project.

@alexschimpf
Copy link

alexschimpf commented Dec 23, 2022

@PabloRuizCuevas @crashCoder
I created my own package based on fastapi_versioning.
It fixes most of the bugs noted on here and adds some additional features.
https://github.com/alexschimpf/fastapi-versionizer
https://pypi.org/project/fastapi-versionizer/

Some notable differences:

  • Package includes py.typed so mypy will actually be able to type check it
  • kwargs are passed to all versioned sub-applications
  • You can provide a function to generate custom OpenAPI schemas for each sub-application
  • You can provide a function to generate custom Swagger/Redoc HTML for each sub-application
  • You can provide a custom "latest" prefix
    • Currently, "/" as a latest prefix is not supported though
  • Websocket routes are now handled
  • The versioning is applied directly to your FastAPI app, instead of generating a new FastAPI app object
  • The versionize function returns a list of all the versions in your app
  • The version decorator is now called api_version
  • dependency_overrides is preserved
  • A main docs page is not generated. But this can be easily accomplished like so: https://github.com/alexschimpf/fastapi-versionizer/blob/main/examples/advanced.py#L125
    • You can generate a Swagger page to expose an automatically generated "/versions" endpoint or you can generate your own custom HTML page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants