Skip to content

Releases: nette/schema

Released version 1.3.5

Choose a tag to compare

@dg dg released this 23 Feb 03:41

A code quality release that tightens static analysis and cleans up internals.

  • Fixed all PHPStan errors and improved phpDoc annotations
  • Switched to singleline declare statements across the codebase

Released version 1.3.3

Choose a tag to compare

@dg dg released this 30 Oct 22:59
  • support for PHP 8.5
  • optimized global function calls

Released version 1.3.2

Choose a tag to compare

@dg dg released this 05 Oct 00:30
  • support for PHP 8.4
  • added Structure::extend() #66
  • added Structure::getShape() #35
  • Expect::array(shape) returns Structure
  • Structure::merge() without otherItems it merges by overwriting

Released version 1.3.0

Choose a tag to compare

@dg dg released this 21 Jan 17:26
  • requires PHP 8.1
  • uses PHP 8.1 features

Released version 1.2.5

Choose a tag to compare

@dg dg released this 21 Jan 17:25
  • added transform() #52
  • castTo() allows you to create objects #44 #47 #58 #46
  • refactoring
  • added path to Context::$dynamics
  • Base: removed DynamicParameter from error message

Released version 1.2.4

Choose a tag to compare

@dg dg released this 09 Aug 14:30
  • support for PHP 8.3
  • constants are PascalCase

Released version 1.2.3

Choose a tag to compare

@dg dg released this 18 Nov 03:01
  • support for PHP 8.2
  • cs

Released version 1.2.2

Choose a tag to compare

@dg dg released this 15 Oct 11:42
  • supports nette/utils 2.5

Released version 1.2.0

Choose a tag to compare

@dg dg released this 21 Jan 14:51
  • Structure::skipDefaults() allow to skip defaults per structure
  • AnyOf() must not be empty
  • added AnyOf::firstIsDefault()
  • Ability to define scheme for the key Expert::arrayOf($stringType, $keyType)

Released version 1.1.0

Choose a tag to compare

@dg dg released this 18 Dec 00:00
  • added Type::mergeDefaults() [Closes #13, Closes #24, Closes #28, Closes #31]
  • added error codes
  • ValidationException::getMessageObjects() returns array of Messages
  • Allow options to be marked as deprecated [Closes #27]
  • Structure: structure with required fields can be optional [Closes #17]
  • Type: PREVENT_MERGING prevents merging with defaults [Closes #14, Closes nette/application#257, nette/di#229]
  • 'option' changed to 'item' in error messages