Skip to content

Releases: memio/model

v4.0.0-alpha2: PHP 8.0

Pre-release

Choose a tag to compare

@gnugat gnugat released this 13 Feb 09:11
ba80505

Dropped support for PHP <8.0

New features:

  • added Attribute model (PHP 8.0 attributes)
  • added attributes support to Objekt, Contract, Method, Property, Argument and Constant
  • added union type support in Type (e.g. string|int, DateTime|null)
  • added mixed type hint support in Type
  • added support for class property types
  • added constructor property promotion support (visibility on Argument)
  • added support for nullable typehints

v4.0.0-alpha1: PHP 7.4

Pre-release

Choose a tag to compare

@gnugat gnugat released this 13 Feb 09:10
ba6ceb5

Dropped support for PHP <7.4

New features:

  • added support for class property types
  • added support for nullable typehints

Dockerised dev environment

Choose a tag to compare

@gnugat gnugat released this 02 Feb 07:31
7f5f9ee
  • setup Github Actions
  • changed tooling from scripts to Makefile
  • installed phpstan as a dev depdendency
  • installed swiss-knife as a dev depdendency
  • installed rector as a dev depdendency
  • upgraded PHP CS fixer to v2.19.3
  • dockerized for local development

oops

Choose a tag to compare

@gnugat gnugat released this 02 Feb 07:31
7caad70

ignore

v3.0.1: PHP 8 and phpspec 7 support

Choose a tag to compare

@gnugat gnugat released this 13 Aug 05:56
  • added PHP 8 support
  • added phpspec 7 support

PHP 7.2 requirement

Choose a tag to compare

@gnugat gnugat released this 25 Feb 13:45

Dropped support for PHP <7.2

Other upgrades:

  • upgraded PHP CS Fixer (from 2.10 to 2.16)
  • upgraded phpspec (from 4.3 to 6.1)

BC Breaks - removed deprecated api:

  • removed all make static constructors

Normalized float to double

Choose a tag to compare

@gnugat gnugat released this 13 Jun 10:37

Normalization from float to double, thanks to @ItsKelsBoys

Updated test suite

Choose a tag to compare

@gnugat gnugat released this 13 Jun 10:13
2.0.3

Updated test suite

PHP 7.2 support

Choose a tag to compare

@gnugat gnugat released this 02 Jan 09:30
5f38746

Added support for PHP 7.2, thanks to @roukmoute

BC break: Object has be renamed to Objekt, has it is a reserved keyword.

Released v2.0.0

Choose a tag to compare

@gnugat gnugat released this 25 Aug 08:41
Released v2.0.0-alpha3