Skip to content

Releases: sadraskol/entremets

Alpha v6 release

05 Apr 22:38
Compare
Choose a tag to compare

New features

  • Select queries support limit and offset operators
  • Binary operators for math and logic are all implemented in sql and entremets
  • Supports grouping of operations like (1 + 3) * 5

But most importantly: entremets now supports foreign keys!

Alpha v5 release

10 Mar 14:40
Compare
Choose a tag to compare

New features

  • Wildcard selector: select * from users or select count(*) from users now supported
  • Introduce strings: let message = 'hello world' and insert into users(id, name) values (1, 'thomas')
  • Simple delete statement: delete from users where... now supported
  • Comparison operators: =, <>, >, >=, <, <= in sql and entremets expressions
  • Order by: order by ... is now supported for select statements
  • Between operator: Introduced the sql operator col between 1 and 2

Syntax breaking changes

Temporal properties do not need the = in their declaration.

property = eventually(x > 1)

becomes

property eventually(x > 1)

Multiple columns index

01 Mar 14:36
Compare
Choose a tag to compare

This release includes two changes:

  1. Unique index can be set on multiple columns
  2. Updates do not fail when no row is affected, this mimics the behavior of sql instead of ORM

Unique Index

21 Feb 22:46
Compare
Choose a tag to compare

This release includes:

  • Support for unique index on a single column
  • Support count() aggregate on select query
  • Use parenthesis for temporal operators instead of ocnfusing token: eventually(), always() and never()
  • Support for if do ... else ... end

Deadlock detection

10 Feb 23:53
Compare
Choose a tag to compare

Included in this release:

  • fixed a bug when updating twice the same row in a transaction
  • handle intermediate read correctly
  • deadlock detection: deadlocks stopped the model, now entremets displays the cycle of locks that introduced the deadlock

Alpha version

06 Feb 08:07
Compare
Choose a tag to compare

Release entremets on crates.io