Skip to content

Releases: nextras/orm

3.0.3

03 Feb 23:07
d05c147
Compare
Choose a tag to compare

Stable patch version 3.0.3 is out! 🍏 What's changed from 3.0.2?

  • fixed DILoader for anonymous classes & compatibility with latest Nette DI 2.5.14, thanks @pavelmlejnek (#333)

See full commit changelog.

3.0.2

20 Jan 22:10
Compare
Choose a tag to compare

Stable patch version 3.0.2 is out! 🍌 What's changed from 3.0.1?

  • fixed casting numeric column names, thanks @vymak (#287)
  • fixed saving DateTimeImmutable for DATE type, not shifting timezone anymore, thanks @sitole
  • fixed phpdoc of doRefreshAll()
  • removed not-needed auto-distinct

See full commit changelog.

3.0.1

05 Mar 20:13
Compare
Choose a tag to compare

Stable patch version 3.0.1 is out! 🍈 What's changed from 3.0.0?

  • readded support for Nextras\Dbal\Utils\DateTimeImmutable property type
  • fixed EntityCreator support for DateTimeImmutable
  • fixed return value of Repository::removeAndFlush()
  • fixed dependency on Nextras Dbal to stable release

See full commit changelog.

3.0.0

21 Feb 23:59
Compare
Choose a tag to compare

This is new major 3.0.0 version. 🎉 🍰 🥇 💯

Read a release blogpost.

What's new:

  • PHP 7.0+ code; added types, support for PHP 7.2;
  • model: added IModel::clear() method;
  • model: added IModel::refreshAll() method;
  • collection: added OR operator support;
  • collection: added custom functions allowing advanced modification of ICollection;
  • entity: added DateTimeImmutable support;
  • entity: fixed a lot of issues between relationships, their caching, and persistence;
  • added MS SQL support;
  • dropped support for DateTime (BC break!);

We have introduced many small and some larger BC breaks, read Upgrade notes for 3.0.

See full commit changelog.

3.0.0 RC2

27 Dec 22:27
Compare
Choose a tag to compare
3.0.0 RC2 Pre-release
Pre-release

This is prerelease RC 2 of major 3.0.0 version.

What's changed from RC1:

  • fixed auto-setup of DbalMapperCoordinator when Dbal extension is registered later than Orm extension

See full commit changelog.

3.0.0 RC1

23 Dec 23:10
Compare
Choose a tag to compare
3.0.0 RC1 Pre-release
Pre-release

This is prerelease RC 1 of major 3.0.0 version.

What's new from 2.2 branch:

  • PHP 7.0+ code; added types, fixed support for PHP 7.2;
  • model: added IModel::clear() method;
  • model: added IModel::refreshAll() method;
  • collection: added OR operator support;
  • collection: added custom functions allowing advanced modification of ICollection;
  • entity: added DateTimeImmutable support;
  • dropped support for DateTime (BC break!);
  • entity: fixed a lot of issues between relationships, their caching, and persistence;
  • added MS SQL support;

We have introduced many small and some larger BC breaks, read Upgrade notes for 3.0.

See full commit changelog.

3.0.0 BETA 2

14 Dec 16:27
Compare
Choose a tag to compare
3.0.0 BETA 2 Pre-release
Pre-release

See 3.0 changes in BETA 1 release notes.

Changes since BETA 1:

  • require IConnection instead Connection
  • fixed multi-column primary key comparison in changed entity detection in has one relationship
  • fixed many typos and smalling with PhpStan 0.9
  • fixed distinct count for MS SQL Server
  • added ICollection::getById()
  • fixed loading DI services in loadConfiguraiton of Nette DIC
  • fixed countStored() on many has many relationship
  • fixed disctinct selection for multi-column PR tables
  • fixed parsing of read-only properties
  • changed implementation of DI repository finder
  • fixed STI in multientity interator
  • See full commit changelog since 3.0-BETA1 version.

3.0.0 BETA 1

02 Sep 13:07
Compare
Choose a tag to compare
3.0.0 BETA 1 Pre-release
Pre-release

This is prerelease BETA 1 of major 3.0.0 version.

What's new from 2.2 branch:

  • PHP 7.0+ code; added typehints, fixed support for PHP 7.2;
  • model: added IModel::clear() method;
  • model: added IModel::refreshAll() method;
  • collection: added OR support & custom functions;
  • entity: added DateTimeImmutable support, dropped support for DateTime
  • entity: fixed a lot of issues between relationships, their caching, and perstitence.
  • engines: added MS SQL support;

We have introduced many small and some larger BC breaks, read Upgrade notes for 3.0.

See full commit changelog.

How to install:

  • set require for 3.0 version od Nextras Dbal nextras/dbal@rc
  • set require for 3.0 version od Nextras Orm nextras/orm@beta

2.2.3

19 Feb 22:35
Compare
Choose a tag to compare

Stable patch version 2.2.3 is out! 🥛 What's changed from 2.2.2?

  • fixed bug when metadata parser didn't parsed enum with wildcard without a name prefix, e.g. ClassWithConstants::* now works correctly. [6e46e40]

2.2.2

17 Feb 15:23
Compare
Choose a tag to compare

Stable patch version 2.2.2 is out! 🍈 What's changed from 2.2.1?

  • fixed bug when total cache cleanup didn't flush relationship mapper cache in DbalMapper; thanks @matej21 [0dd82ca]