Skip to content

Releases: php-sap/common

v6.2.0

Choose a tag to compare

@gregor-j gregor-j released this 01 Sep 11:13

What's Changed

New

  • Add Makefile for Docker-based development workflows

Changes

  • Update README.md to document the new Makefile-based commands
  • Synchronize the CI workflow with the local development setup
  • Tighten runtime dependency constraints for php-sap/interfaces and php-sap/datetime
  • Update development dependencies including PHPUnit and PHPStan

Full Changelog: v6.1.3...v6.2.0

v6.1.3

Choose a tag to compare

@gregor-j gregor-j released this 27 Aug 16:53
513c49a

What’s Changed

This release includes all changes since v6.1.2.

1. Dependencies

  • Updated project dependencies.
  • Added development dependencies for static analysis and coding standards (phpstan, squizlabs/php_codesniffer) (closes #28).
  • Updated squizlabs/php_codesniffer to ^4.0.
  • Updated phpstan/phpstan to ^2.0, including related refactoring of type casting and improved type hints in tests.

2. CI/CD and Automation

  • Updated CI workflow for improved workflow management and broader PHP version support; removed Code Climate integration (closes #31, #29).
  • Refactored CI configuration to streamline PHP linting, PHPUnit, PHPStan, and PHPCS.
  • Improved CI security checks and streamlined PHPStan analysis.
  • Disabled PHPStan progress output in CI logs.
  • Added Dependabot configuration (.github/dependabot.yml).

3. Quality and Repository Maintenance

  • Renamed PHPCS configuration file (phpcs.xml).
  • Removed composer.lock from version control.
  • Added AGENTS.md.

Full Changelog

v6.1.2...v6.1.3

v6.1.2

Choose a tag to compare

@gregor-j gregor-j released this 04 Sep 10:08

Bugfixes

  • AbstractFunction::setParams() extracts allowed keys from the given array if they are set instead of enforcing them by @gregor-j in #26

Full Changelog: 6.1.1...v6.1.2

6.1.1

Choose a tag to compare

@gregor-j gregor-j released this 07 Aug 16:12

What's Changed

  • Added an action for PHP_CodeSniffer to the GitHub workflow by @gregor-j in #20
  • Updated php-sap/interfaces to 5.1.3 by @gregor-j in #22
  • Removed php codesniffer from composer dev-requirements by @gregor-j in #24

Full Changelog: v6.1.0...6.1.1

v6.1.0

Choose a tag to compare

@gregor-j gregor-j released this 05 Aug 12:10
5598d0f

What's changed

  • #18 Added missing direction 'changing'.

Full Changelog: v6.0.0...v6.1.0

v6.0.0 (PHP 8)

Choose a tag to compare

@gregor-j gregor-j released this 05 Aug 11:19
85ea659

What's changed

  • breaking change Dropped support for PHP versions prior to 8.
  • breaking change Adapted to interfaces v5. See for breaking changes!

Full Changelog: v5.0.0...v6.0.0

v5.0.0

Choose a tag to compare

@gregor-j gregor-j released this 19 Oct 13:28
1afaf25

Changes

  • #11 Updated code for PHP min. 7.4 and PSR-12 coding standard.
  • #11 Use strict types instead of validations.
  • #12 Updated to min. PHP 7.4 and updated all dependencies.
  • #12 Updated to PHPUnit 9 and updated all tests.
  • #13 Replaced Travis with GitHub workflow.
  • #14 Defined PSR-12 coding standard using .phpcs.xml.
  • #15 Removed php-sap/datetime because it is already in the php-sap/interfaces package.

version 4.0 (PHP 7)

Choose a tag to compare

@gregor-j gregor-j released this 04 Feb 13:11

New

  • Upgraded to PHP/SAP interfaces 3.0.
  • Split IArray into IStruct and ITable and introduce direction Table.

Bugfix

  • #10 Added xdebug.mode = coverage to php.ini in travis config.

version 3.2 (PHP7)

Choose a tag to compare

@gregor-j gregor-j released this 28 Feb 15:57

Changes

  • Switched SapDateTime to SapDateInterval forb API time elements (TYPE_TIME).
  • On cast return null for API date elements in case the date only consists of zeros.

version 3.1 (PHP5)

Choose a tag to compare

@gregor-j gregor-j released this 28 Feb 15:57

Changes

  • Switched SapDateTime to SapDateInterval forb API time elements (TYPE_TIME).
  • On cast return null for API date elements in case the date only consists of zeros.