Skip to content

Releases: TheGoodSuite/GoodSuite

v0.5.0

26 Jun 23:26
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

After quite a few years, here we finally have a new release. There are quite some big changes, and I feel that this is a much better version than v0.4.0. Perhaps not entirely worth the wait, but I strongly doubt anyone was waiting and in that light, it's more than worth it.

Changelog

  • Datatypes can have members that are collections
  • The Condition system has a completely different (and much smoother) API
  • TheGoodSuite can be installed using Composer
  • GoodService can JIT-Compile datatypes for you
  • By providing a Page object, you can paginate fetchAll queries
  • Datatypes can have members that are booleans
  • Alongside MySQL, SQLite is now also supported

  • Storables can easily be converted to arrays (which can be converted json using built-in php functionality)
  • Fetching all storables of a type is now officially supported
  • Storables and Collections can be resolved in-place
  • You can test a storable against a Condition without involving the database
  • toArray skips unresolved properties

  • DateTime fields in datatypes compile to DateTimeImmutable instead of DateTime
  • Manners is smarter about inferring which objects need to be inserted
  • For ease of use, you can leave out the Resolver argument when fetching storables from storage
  • Float fields also accept integer values
  • var_dump works well on storables and collections
  • The way nulls in conditions are translated to SQL was tweaked
  • Resolver functions can be chained

  • Column names are escaped properly
  • The way to run test is now largely codified in a config file
  • The tests run under a recent phpunit version
  • Datetimes are properly converted to UTC before being saved in a storage
  • Non-equality comparisons (<, >, <=, >=) to NULL throw an error
  • Providing a condition that targets the wrong type throws an error
  • Objects fetched from the database always have their properties set to the correct type
  • Redefining a datatype raises an error

v0.4.0

26 Jun 21:54
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Just going through the repo and converting some old tags into releases

Full Changelog: v0.3.0...v0.4.0

v0.3.0

26 Jun 21:53
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Just going through the repo and converting some old tags into releases

Full Changelog: v0.2.0...v0.3.0

v0.2.0

26 Jun 21:52
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Just going through the repo and converting some old tags into releases

Full Changelog: v0.1.0...v0.2.0

v0.1.0

26 Jun 21:51
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Just going through the repo and converting some old tags into releases

Full Changelog: https://github.com/TheGoodSuite/GoodSuite/commits/v0.1.0