Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Releases: csrdelft/orm

1.7.5: Allow columns that map to json (#17)

12 Aug 11:40
Compare
Choose a tag to compare
  • Add support for JSON fields

1.7.4

02 Apr 18:59
Compare
Choose a tag to compare
  • Fix bug in updateOrCreate

v1.7.3

01 Apr 18:06
Compare
Choose a tag to compare
  • Update to PhpUnit 7
  • Add updateOrCreate function

v1.7.2

19 Feb 15:37
2bed268
Compare
Choose a tag to compare

Add LICENSE.

v1.7.1

03 Oct 14:43
Compare
Choose a tag to compare

Minor fix for Windows.

v1.7

20 Sep 15:12
Compare
Choose a tag to compare

Enums now extend an abstract class instead of an interface, the implementation of enums is simplified a bit.

FindSparse is removed.

DependencyManager is added in order to help manage having a lot of singleton objects.

Commits in this release

1ca14c9 Simplify DependencyManager and add more docs.
ba7e809 Add test for dependency manager
83b790a Use isset to check if choices are supported in enum
e8e9187 Cleanup
fac8cd0 Detect circular dependencies while loading dependencies.
4d0668b Fix checking if table exists.
edf5e18 Add Database, DatabaseAdmin and OrmMemcache to DependencyManager.
2c587c2 Allow overriding of init method.
4d68780 Add DependencyManager
0f96fbc Refactor QueryBuilder
f10581a Refactor PersistenEnum
bd39692 Improve checkTable function in DatabaseAdmin
d5a45e5 Use dist: precise.
d8dc12c Travis host.
22843a8 Travis test password.
a9d1ecc Consistent PHPDocs
c56c346 Drop hhvm
1f821c7 Remove asserts which make no sense.
d9e288e Docblock and check persistent attributes.
03be8ac Remove findSparse

v1.6

13 May 22:10
Compare
Choose a tag to compare
  • Remove DIR and autoload functionality. The user is responsible for this.
  • Use shortname for UUID
  • Small code style changes

Commits in this release

e56fbc9 Remove require, user should use autoload
e464f7b Use shortname for uuid
7642837 Do check DynamicEntity
1f169c8 Fix typo
fab1fe8 Also skip subclasses of DynamicEntity
8f8c5d0 Fix failing tests
1c0f963 Code style

v1.5

06 May 11:22
Compare
Choose a tag to compare
  • Create tests
  • Support php 7.2.0
  • Drop support php 5.4 & 5.5
  • Remove TransactionWrapper
  • Disable default check for table check

Commits this release

dcccc6d Disable the ->default table check, it isn't completely implemented
94a38eb Test CachedPersistenceModel
71b97eb DynamicEntityModelIntegrationTest
5c0fc92 Make checktable only check persistententities
f4ea638 Create primary key in test database.
fa8e750 Add common functions to global scope
27a4cd1 Add a short CONTRIBUTING.md
a03c3c6 Don't use string asserts, php 7.2.0 doesn't allow them.
9993e4f Test PersistenceModel
d64d941 Move checktable to the database admin (#3)
1da5438 Delete TransactionWrapper
48d20f1 Add coverage badge
e1fcedc Cache travis & travis badge
0332308 We don't support php 5.4 and 5.5
90201a4 Add composer install to travis
38aadd9 Give Travis a try
b65e491 Install codacy coverage and update dependencies
c8d17bd Update _config.yml
f3de9f5 Deprecate TransactionWrapper

v1.4

30 Mar 12:16
Compare
Choose a tag to compare

Add transaction support to the Database class. Using the PDO api for creating a database transaction is no longer needed.

v1.3

03 Apr 21:21
Compare
Choose a tag to compare

Changelog

  • Test the database, dummycache and expand querybuilder
  • Make a start with dependency injection