v1.0.11-beta
Pre-releaseThis update adds support for database manipulations. This is more of an "experimental" release - bugs will be squashed before v1.1 (stable) is released.
pyFlarum was basically split into two things: client
and database
client
has all the stuff that you already know. It allows you to manipulate with Flarum's REST API.database
is new and allows you to connect to a database server-side & query it.
Disclaimer: Database support is still new and in beta (as the rest of this library anyways).
Database has no support for extensions that are not included in Flarum by default. This is because it is very difficult to maintain the support
for all the different columns that extensions create - when pyFlarum defines/doesn't define a column that is not/is in the database, it breaks.
It is also technically not possible to monkey-patch database properties the same way it is possible to do in FlarumUser
.
My vision about the database support is to provide an easy way to create migration scripts to Flarum. You can see my other repository for my upcoming migration scripts.
Contributions to both the migrations and this project are welcome!
Full Changelog: v1.0.10-beta...v1.0.11-beta