Releases: gkralik/php7-sapnwrfc
Releases · gkralik/php7-sapnwrfc
2.1.0 - 2024-05-21
Added
- Connection attributes: add
partnerIP
andpartnerIPv6
(added in SDK 7.50.6,null
for earlier SDK versions) - Add trace level
TRACE_LEVEL_DETAILED
(3), changeTRACE_LEVEL_FULL
to 4 (requires SDK 7.50.9) - Add
Connection::setGlobalLogonTimeout()
to set logon timeout
Changed
- Remove
ZEND_ACC_FINAL
fromRemoteFunction
to make it mockable (#133, BC break)
Fixed
- Fix: segfault when freeing a manually created
RemoteFunction
object (#133) - Fix an issue where looking up a function module fails if a previous
RemoteFunction
object has been unset - Fix an invalid read in
rfc_set_table_row
- Remove the incorrect stub file and update it
- Always return true for
Connection::setTraceDir()
andConnection::setTraceLevel()
2.0.0 - 2024-05-14
This is a major release with breaking changes. For details, see changes below marked with BC break.
Added
- Add
Connection::getSSOTicket()
to retrieve SSO ticket from connection (#34). - Stub file for IDE parsers/static analyzers
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
- Update build instructions for Windows (#90)
- Improve exception messages in
Connection::getSSOTicket()
- Update type for
Exception::$errorInfo
- Rewrite and improve the Windows build instructions (#157)
Fixed
- "Fix creation of dynamic property deprecation for PHP 8.2" for RemoteFunction:$name (#144, @kea)
- Fix a build error with PHP < 8.0 (#149, @kea)
- Fix: make
RemoteFunction::$name
public again on PHP >= 8.0 - Fix: failing test
tests/function_description/003_returns_function_interface.phpt
- Fix: failing test
tests/083_remote_function_invoke_takes_optional_options_array.phpt
- changed TypeError message - Fix: borked test
tests/078_set_trace_level_changes_the_trace_level.phpt
- invalid CLEAN script - Fix: header and library lookup paths for Windows builds
- Fix: borked test
tests/075_set_trace_dir_sets_trace_directory.phpt
on Windows - incomplete CLEAN script
Removed
- Remove support for PHP < 7.2
2.0.0-beta3 - 2023-05-03
2.0.0-beta2 - 2021-12-05
Added
- Add
Connection::getSSOTicket()
to retrieve SSO ticket from connection (#34).
2.0.0-beta1 - 2021-09-09
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
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
andC:\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
andRFCTYPE_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)
: freeversion
- Fix memory corruption when converting SAPUC strings to/from zval/zend_string (#101)
1.3.0 - 2019-02-23
Added
- Add optional
$options
parameter toConnection::__construct()
- Connnection constructor accepts
use_function_desc_cache
option (defaults totrue
) Connection::getFunction()
clears the function desc cache ifuse_function_desc_cache
set tofalse
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
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
Added
- Allow
rtrim
option forRemoteFunction::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
andextdistclean
to remove intermediary build artefacts - Add new documentation
1.1.3 - 2017-10-20
Fixed
- Fix compilation with NW RFC SDK versions < 7.20