Skip to content

Releases: Einliterflasche/pg-worm

v0.7.0

30 Aug 19:24
8b36744
Compare
Choose a tag to compare

"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's Value
  • Time, Date and other types from the time crate,
  • Uuid from the uuid crate,
  • i16.

You can enable the ones from other crates with optional features (check the docs for specifics).

Have fun 🥳

v0.6.0

29 Aug 16:06
efdf655
Compare
Choose a tag to compare

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

25 Jul 12:18
ca26bd5
Compare
Choose a tag to compare

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> and Vec<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

09 Jun 10:01
7939f1f
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

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 use force_register

Have fun!

v0.3.0-alpha

21 May 15:11
Compare
Choose a tag to compare
v0.3.0-alpha Pre-release
Pre-release

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 and select_one now require an argument of type Filter. If you don't want to filter anything, please use Filter::all().

That's it for this release. Have fun!

v0.2.0-alpha

18 May 19:37
Compare
Choose a tag to compare
v0.2.0-alpha Pre-release
Pre-release

The second release of pg-worm is here.

It brings:

  1. some type inference - no more [column(dtype = "TEXT")],
  2. autogenerating values for columns which aren't primary_key with the auto attribute,
  3. passing of &str to a field of type String when inserting,
  4. improved documentation,
  5. 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 aforementioned auto attribute.

v0.1.0-alpha

18 May 11:48
Compare
Choose a tag to compare
v0.1.0-alpha Pre-release
Pre-release

The first release of pg-worm. Current features include:

  • insert, with auto-generated arguments,
  • select and select_one,
  • register for convenient table creation.