Skip to content

Releases: formal-php/access-layer

4.0.0

14 Jul 13:01
4.0.0
0283177
Compare
Choose a tag to compare

Added

  • Formal\AccessLayer\Query\Delete::join()

Removed

  • Formal\AccessLayer\Driver::sqlite

Fixed

  • Support for aliased table names when using Formal\AccessLayer\Query\Delete

3.0.0

14 Jul 09:03
3.0.0
e71b05f
Compare
Choose a tag to compare

Added

  • Formal\AccessLayer\Driver
  • Formal\AccessLayer\Query\MultipleInsert
  • Formal\AccessLayer\Table\Column\Type::uuid()
  • Formal\AccessLayer\Table\Column\Type::bool()
  • Formal\AccessLayer\Connection\Lazy::of()
  • Formal\AccessLayer\Row::new()
  • Formal\AccessLayer\Row\Value::of()

Changed

  • Requires innmind/specification:~4.1
  • Formal\AccessLayer\Query::sql() now has a Driver argument
  • Formal\AccessLayer\Query\Insert::into() only accepts 1 Row, for multiple rows use MultipleInsert instead
  • Formal\AccessLayer\Connection\Lazy constructor is now private, use ::of() instead
  • Formal\AccessLayer\Row constructor is now private, use ::new() instead
  • Formal\AccessLayer\Row\Value constructor is now private, use ::of() instead
  • Formal\AccessLayer\Table\Column constructor is now private, use ::of() instead
  • Formal\AccessLayer\Table\Column\Name constructor is now private, use ::of() instead
  • Formal\AccessLayer\Table\Name constructor is now private, use ::of() instead

Removed

  • Formal\AccessLayer\Query\Delete::join()
  • Formal\AccessLayer\Query\Update::join()

2.17.0

29 May 14:58
2.17.0
e8409d2
Compare
Choose a tag to compare

Changed

  • The type of a raw value is now determined from the value instead of using unspecified instead.

2.16.0

29 May 13:20
2.16.0
fe8c656
Compare
Choose a tag to compare

Added

  • Formal\AccessLayer\Query\Parameter\Type::for() to determine a type for any given value

2.15.0

10 Feb 14:28
2.15.0
068dc8e
Compare
Choose a tag to compare

Added

  • Formal\AccessLayer\Query\CreateTable::unique()
  • Formal\AccessLayer\Query\Constraint\Unique

2.14.0

10 Feb 12:58
2.14.0
8ee1464
Compare
Choose a tag to compare

Added

  • Formal\AccessLayer\Query\Constraint\ForeignKey::named()

2.13.0

28 Jan 17:11
2.13.0
1d3cc8b
Compare
Choose a tag to compare

Added

  • Queries can be used a value of a specification in a where clause

2.12.0

23 Sep 12:36
2.12.0
66c0ece
Compare
Choose a tag to compare

Added

  • Support for innmind/immutable:~5.0

2.11.0

13 Aug 06:27
2.11.0
9e49110
Compare
Choose a tag to compare

Added

  • Formal\AccessLayer\Row\Value now accepts a namespaced column name
  • Formal\AccessLayer\Row\Value::columnSql()

2.10.0

12 Aug 16:05
2.10.0
cadeae8
Compare
Choose a tag to compare

Changed

  • Formal\AccessLayer\Query\Delete deletes from the main table instead of all joined tables as well