Skip to content

Releases: laminas/laminas-code

4.3.0

12 May 12:41
4.3.0
1beb444
Compare
Choose a tag to compare

Release Notes for 4.3.0

Feature release (minor)

4.3.0

  • Total issues resolved: 0
  • Total pull requests resolved: 4
  • Total contributors: 3

Documentation,Enhancement

Bug

4.2.2

07 May 14:09
4.2.2
3cbdf2e
Compare
Choose a tag to compare

4.2.2 - 2021-05-07


Release Notes for 4.2.2

4.2.x bugfix release (patch)

4.2.2

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1

Bug

4.2.1

23 Apr 11:54
4.2.1
a1e7f8b
Compare
Choose a tag to compare

4.2.1 - 2021-04-23


Release Notes for 4.2.1

4.2.x bugfix release (patch)

4.2.1

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1

Bug

4.2.0

14 Apr 22:05
4.2.0
e7e8f8a
Compare
Choose a tag to compare

4.2.0 - 2021-04-14


Release Notes for 4.2.0

Feature release (minor)

4.2.0

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 2

Enhancement

Bug,Enhancement,Help Wanted

4.1.0

27 Mar 13:55
4.1.0
5b553c2
Compare
Choose a tag to compare

4.1.0 - 2021-03-27


Release Notes for 4.1.0

Feature release (minor)

4.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 3
  • Total contributors: 3

Enhancement

Documentation

4.0.0

30 Dec 16:16
4.0.0
28a6d70
Compare
Choose a tag to compare

4.0.0 - 2020-12-30

Added

Changed

  • laminas/laminas-code#57 due to internal refactoring
    requiring better internal types, the minimum supported PHP version is now 7.4
  • BC BREAK laminas/laminas-code#38 changed generated class
    output to no longer contain excessive whitespace around contents. The structure of the generated output
    will still be the same, but spacing changed, which will likely lead o breakages if you
    are asserting/depending upon the strings produced by Laminas\Code\Generator\ClassGenerator#generate()
  • BC BREAK laminas/laminas-code#42 declare() statements
    will now be generated above namespace declarations: this is to be better compliant with PSR-2, but it
    may break downstream applications if these rely on the stability of code produced
    by Laminas\Code\Generator\FileGenerator#generate()

Removed

  • BC BREAK zendframwork/zend-code#153 Removed
    the annotation API from the library
  • BC BREAK laminas/laminas-code#39 the
    laminas/laminas-zendframework-bridge has been removed, and is instead to be installed optionally
    by consumers of the library. If you are still migrating from zendframework/zend-code, you will
    need to add it to your composer.json yourself, or directly use to Laminas\Code symbols.
  • BC BREAK laminas/laminas-code#58 the Scanner
    and Annotation components have been removed, and with it all API that interacted with it:
    • Laminas\Code\Generator\FileGeneratorRegistry has been deleted
    • Laminas\Code\Generator\FileGenerator::fromReflectedFileName() was removed
    • Laminas\Code\Generator\FileGenerator::fromReflection() was removed
    • Laminas\Code\NameInformation has been deleted
    • Laminas\Code\Reflection\ReflectionInterface was marked @internal
    • Laminas\Code\Reflection\FileReflection has been deleted
    • Laminas\Code\Generic\Prototype\PrototypeInterface was marked @internal
    • Laminas\Code\Generic\Prototype\PrototypeClassFactory was marked @internal
    • Laminas\Code\Generic\Prototype\PrototypeGenericInterface was marked @internal
    • Laminas\Code\Annotation\AnnotationInterface has been deleted
    • Laminas\Code\Annotation\Parser\GenericAnnotationParser has been deleted
    • Laminas\Code\Annotation\Parser\ParserInterface has been deleted
    • Laminas\Code\Annotation\Parser\DoctrineAnnotationParser has been deleted
    • Laminas\Code\Annotation\AnnotationManager has been deleted
    • Laminas\Code\Annotation\AnnotationCollection has been deleted
    • Laminas\Code\Scanner\ValueScanner has been deleted
    • Laminas\Code\Scanner\DirectoryScanner has been deleted
    • Laminas\Code\Scanner\DocBlockScanner#$nameInformation was removed
    • Laminas\Code\Scanner\DocBlockScanner#$annotationManager was removed
    • Laminas\Code\Scanner\DocBlockScanner#$annotations was removed
    • Laminas\Code\Scanner\DocBlockScanner#getAnnotations() was removed
    • Laminas\Code\Scanner\DocBlockScanner was marked @internal
    • Laminas\Code\Scanner\ConstantScanner has been deleted
    • Laminas\Code\Scanner\FunctionScanner has been deleted
    • Laminas\Code\Scanner\AnnotationScanner has been deleted
    • Laminas\Code\Scanner\DerivedClassScanner has been deleted
    • Laminas\Code\Scanner\ClassScanner has been deleted
    • Laminas\Code\Scanner\AggregateDirectoryScanner has been deleted
    • Laminas\Code\Scanner\TokenArrayScanner has been deleted
    • Laminas\Code\Scanner\ParameterScanner has been deleted
    • Laminas\Code\Scanner\FileScanner has been deleted
    • Laminas\Code\Scanner\PropertyScanner has been deleted
    • Laminas\Code\Scanner\CachingFileScanner has been deleted
    • Laminas\Code\Scanner\ScannerInterface has been deleted
    • Laminas\Code\Scanner\MethodScanner has been deleted
    • Laminas\Code\Scanner\Util has been deleted

Release Notes for 4.0.0

next backward compatibility break release (major)

4.0.0

  • Total issues resolved: 21
  • Total pull requests resolved: 13
  • Total contributors: 9

Enhancement

BC Break,Enhancement

Duplicate,Enhancement

Bug

Bug,Unit Test Needed

Awaiting Author Updates,BC Break

Bug,Duplicate,Won't Fix

Bug,Won't Fix

Question,Won't Fix

Enhancement,Won't Fix

BC Break,Enhancement,Question

3.5.1

30 Nov 20:16
3.5.1
b549b70
Compare
Choose a tag to compare

3.5.1 - 2020-11-30


Release Notes for 3.5.1

3.5.x bugfix release (patch)

3.5.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Enhancement

3.5.0

11 Nov 22:11
3.5.0
cb90ef4
Compare
Choose a tag to compare

3.5.0 - 2020-11-11

Added

  • #47 adds support for PHP 8. NOTE: this simply means the code runs on PHP 8, not that it can generate code specific to PHP 8.

Release Notes for 3.5.0

next feature release (minor)

3.5.0

  • Total issues resolved: 0
  • Total pull requests resolved: 3
  • Total contributors: 3

Enhancement,hacktoberfest-accepted

Documentation