Skip to content

Releases: gkralik/php7-sapnwrfc

2.0.0-beta3 - 2023-05-03

03 May 16:34
Compare
Choose a tag to compare

Changed

  • Update build instructions for Windows (#90)

Fixed

  • "Fix creation of dynamic property deprecation for PHP 8.2" for RemoteFunction:$name (#144, @kea)

2.0.0-beta2 - 2021-12-05

05 Dec 10:30
Compare
Choose a tag to compare

Added

  • Add Connection::getSSOTicket() to retrieve SSO ticket from connection (#34).

2.0.0-beta1 - 2021-09-09

09 Sep 12:03
Compare
Choose a tag to compare

This is a major release with breaking changes. For details, see changes below marked with BC break.

Changed

  • Re-organize tests (skip conditions, environment variables)
  • Throw \Exception or \TypeError for parameter parsing errors (instead of \SAPNWRFC\Exception) BC break
  • Throw \TypeError if wrong type is passed for an RFC field BC break
  • Add support for PHP 8.0
  • Map RFC type BCD to string BC break
  • Add support for RFCTYPE_INT8

Removed

  • Remove support for PHP < 7.2

1.4.0 - 2021-01-13

13 Jan 21:51
Compare
Choose a tag to compare

This is a major release with breaking changes. For details, see changes below marked with BC break.

Added

  • Support for building with SAP NW RFC SDK 7.50 (#69)
  • Support for building with clang
  • Windows builds: support passing search path via --with-sapnwrfc=
  • Windows builds: search for includes in C:\nwrfcsdk and C:\nwrfcsdk_750 by default
  • Add RemoteFunction::getFunctionDescription() to retrieve a function's metadata (#79)
  • Add RemoteFunction::getName() retrieve a function's name
  • Add support for RFCTYPE_DECF16 and RFCTYPE_DECF34 (#99)

Changed

  • use zend_restore_error_handling() to restore previous error handling

Removed

  • Drop support for building with SAP NW RFC SDK < 7.50 BC break
  • Remove the RemoteFunction properties (parameter description) BC break

Fixed

  • Fix a memory leak in PHP_MINFO_FUNCTION(sapnwrfc): free version
  • Fix memory corruption when converting SAPUC strings to/from zval/zend_string (#101)

1.3.0 - 2019-02-23

23 Feb 15:16
Compare
Choose a tag to compare

Added

  • Add optional $options parameter to Connection::__construct()
  • Connnection constructor accepts use_function_desc_cache option (defaults to true)
  • Connection::getFunction() clears the function desc cache if use_function_desc_cache set to false before looking up the function
  • Add \SAPNWRFC\clearFunctionDescCache($functionName, $repositoryId) function

Changed

  • Update documentation: fix link to sapnwrfc.ini settings, give saprouter example

Windows builds

The attached builds of the extension have been provided by @avadaneidanut (many thanks). The builds are provided "as is", without warranty of any kind.

1.2.1 - 2018-03-08

08 Mar 14:41
Compare
Choose a tag to compare

Fixed

  • Disable rtrim option by default (BC)

Windows build

Windows build are provided for convenience and without warranty of any kind. If you have problems with the prebuilt DLLs, please try to compile yourself before reporting issues.
Builds provided by @sandrociceros and @avadaneidanut

1.2.0 - 2018-03-04

04 Mar 09:33
Compare
Choose a tag to compare

Added

  • Allow rtrim option for RemoteFunction::invoke() to unify string handling (enabled by default)
  • Add scripts/publish_docs.sh
  • Add scripts/bump_version.php
  • Support for PHP 7.2
  • Custom make targets extclean and extdistclean to remove intermediary build artefacts
  • Add new documentation

1.1.3 - 2017-10-20

20 Oct 16:34
Compare
Choose a tag to compare

Fixed

  • Fix compilation with NW RFC SDK versions < 7.20

1.1.2 - 2017-03-30

30 Mar 17:55
Compare
Choose a tag to compare

Fixed

  • Fix segfault when returning empty strings

Windows builds will be added once they are available.

1.1.1 - 2016-09-20

20 Sep 09:14
Compare
Choose a tag to compare

Fixed

  • Windows build: fix syntax error