Releases: Einliterflasche/pg-worm
v0.7.0
"Oh my god, it's happening. Everybody stay calm, STAY THE FUCK CALM!" ~ Micheal Scott after he heard about the release of v0.7.0
(probably).
v0.7.0
brings support for many more important datatypes:
serde_json
'sValue
Time
,Date
and other types from thetime
crate,Uuid
from theuuid
crate,i16
.
You can enable the ones from other crates with optional features (check the docs for specifics).
Have fun 🥳
v0.6.0
The sixth release of pg-worm is here and we have passed the 100 commit mark 🚀.
It features:
- transactions,
- built-in pooling,
- updated, unified syntax for the macros,
- and even better documentation.
Have fun 🥳
v0.5.0
The fifth release of pg_worm
is here and it is the biggest yet.
Changes include:
- the builder system, which has been rewritten not once but twice, and now requires no more boilerplate code,
- a new
prelude
module which allows you to easily import everthing you need with one statement, - support for
Option<T>
andVec<T>
types, - improved documentation,
- support for raw queries.
The CI pipeline has also been updated to include even integration tests, which have been skipped before.
I think pg_worm
is now approaching a state of actual usablity. Have fun!
v0.4.0
The fourth release of pg-worm
is here.
It brings a bunch of improvements, including:
- a query builder for more complex queries,
- the
like
filter for string fields, - allow registering multiple models with one macro call,
- change in
register
model: it will no longer drop old tables. If you still need this functionality useforce_register
Have fun!
v0.3.0-alpha
The third release of pg_worm
is here! It includes:
- a
connect!
macro for a more convinient setup, - filters: include
WHERE
clauses in your queries, delete
: you can now delete data from your database,- improved documentation.
Adding filters meant a breaking change (hence a new minor version):
select
andselect_one
now require an argument of typeFilter
. If you don't want to filter anything, please useFilter::all()
.
That's it for this release. Have fun!
v0.2.0-alpha
The second release of pg-worm
is here.
It brings:
- some type inference - no more
[column(dtype = "TEXT")]
, - autogenerating values for columns which aren't
primary_key
with theauto
attribute, - passing of
&str
to a field of typeString
when inserting, - improved documentation,
- and a fix for a critical bug regarding renamed columns.
There has also been a breaking change (hence version 0.2 instead of 0.1.1):
- If you want your
primary_key
column to be autogenerated it is now necessary to mark this using the aforementionedauto
attribute.
v0.1.0-alpha
The first release of pg-worm
. Current features include:
insert
, with auto-generated arguments,select
andselect_one
,register
for convenient table creation.