Skip to content

2.0.0 - 2024-05-14

Compare
Choose a tag to compare
@gkralik gkralik released this 14 May 13:12
· 35 commits to main since this release

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