About Piccolo v1¶
Piccolo v1 is now available!
We migrated to Pydantic v2, and also migrated Piccolo Admin to Vue 3, which puts the project in a good place moving forward.
We don’t anticipate any major issues for people who are upgrading. If you encounter any bugs let us know.
Make sure you have v1 of Piccolo, Piccolo API, and Piccolo Admin.
2nd August 2023
Piccolo started in August 2018, and as of this writing is close to 5 years old.
During that time we’ve had very few, if any, breaking changes. Stability has always been very important, as we rely on it for our production apps.
So why release v1 now? We probably should have released v1 several years ago, but such are things. We now have some unavoidable breaking changes due to one of our main dependencies (Pydantic) releasing v2.
In v2, the core of Pydantic has been rewritten in Rust, and has impressive improvements in performance. Likewise, other libraries in the ecosystem (such as FastAPI) have moved to Pydantic v2. It only makes sense that Piccolo does it too.
In terms of your own code, you shouldn’t see much difference. We removed the
create_pydantic_model, and replaced it with
pydantic_config, but that’s about it.
However, quite a bit of internal code in Piccolo and its sister libraries Piccolo API and Piccolo Admin had to be changed to support Pydantic v2. Supporting both Pydantic v1 and Pydantic v2 would be quite burdensome.
So Piccolo v1 will just use Pydantic v2 and above.
If you can’t upgrade to Pydantic v2, then pin your Piccolo version to
You can find the docs here for 0.118.0.