Skip to content

Releases: formal-php/access-layer

5.0.0

07 Feb 15:28
5.0.0
f92c4f2

Choose a tag to compare

What's Changed

Full Changelog: 4.2.0...5.0.0

4.2.0

09 Apr 15:02
4.2.0
cda3005

Choose a tag to compare

Added

  • Formal\Access\Layer\Query\Select::columns() now accepts row values
  • Formal\Access\Layer\Query\Insert::into() now accepts a Select query to specify the rows to insert

4.1.0

21 Mar 10:51
4.1.0
7154d15

Choose a tag to compare

Added

  • Support for innmind/black-box 6

Fixed

  • Support for PHP 8.4

4.0.0

14 Jul 13:01
4.0.0
0283177

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

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

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

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

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

Choose a tag to compare

Added

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

2.13.0

28 Jan 17:11
2.13.0
1d3cc8b

Choose a tag to compare

Added

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