soluble-japha

PHP Java integration

MIT License

Downloads
37.1K
Stars
69
Committers
3

Bot releases are hidden (Show)

soluble-japha - Version 3.0.0 - PHP 8 Latest Release

Published by belgattitude over 3 years ago

Warning, no BC break to expect between 2.+ and 3.+, decision of bumping the major version mostly to help ci... PHP below 7.4 had been dropped.

New

  • PHP 8.0 support in #60

Removed

  • Dropped support for PHP versions below 7.4 in #60

Fixed

  • TimeZoneUtils: propertly casting timezone ids into string in #60

Dev

  • [Q&A] update phpunit, phpstan and cs-fixer, in #60
soluble-japha - Version 2.8.1

Published by belgattitude over 4 years ago

Changed

  • ArrayProxy, do not implement \ArrayAccess anymore, in #58

Dev

  • [Q&A] update phpstan and cs-fixer, in #58
soluble-japha - Version 2.8.0

Published by belgattitude over 4 years ago

Removed

  • Drop support for PHP7.1

Improved

  • Doc improvements
  • QA, CI fixes
soluble-japha - Version 2.7.0

Published by belgattitude almost 5 years ago

Added

  • PHP 7.4 support

Improved

  • Few phpdoc added

Dev

  • Testing re-enabled with pjbserver-tools
  • phpstan ^0.12
soluble-japha - Version 2.6.4

Published by belgattitude over 5 years ago

Improved

  • Detection of broken socket connection during operation.
  • Minor typehints

Dev

  • Deps and q&a tools update (phpstan 0.11...)
  • License year
soluble-japha - Version 2.6.3 - PHP 7.3 supported

Published by belgattitude almost 6 years ago

Fixes

  • Cast port to integer in Protocol.php (minor)

Updated

  • Tests for PHP 7.3, Q&A travis.
soluble-japha - Version 2.6.2

Published by belgattitude about 6 years ago

Fixes

  • Fix: Fix exception message for SimpleHttpTunnelHandler errors. error_get_last() is now serialized.
  • Minor fix: interface JavaExceptionInterface now extends \Throwable
  • Minor fix: possible type error in exception message in Util\TimeZone
  • Minor fix: use offsetExists instead of array_key_exists in PjbProxyClient::getOption(string $name)
  • Minor fix: use of call_user_func instead of call_user_func_array in Client.

Updated

  • Q&A tools update: phpstan....
soluble-japha - Version 2.5.1

Published by belgattitude over 6 years ago

Added

  • Documenting java_log_level for debugging tomcat side..

Fixes

  • Minor: Fix a possible fwrite warning in SocketChannel (handled by an exception anyway).
soluble-japha - Version 2.5.0

Published by belgattitude over 6 years ago

Added

  • Added use_persistent_connection in adapter connection. By default to false but can be enabled
    if connection times are problematic (not recommended if using basic auth).
soluble-japha - Version 2.4.3

Published by belgattitude over 6 years ago

Updated

  • Updated to phpstan 0.9

Fixes

  • Some phpdocs fixes after introduction of phpstan 0.9 (intersections)
soluble-japha - Version 2.4.2

Published by belgattitude almost 7 years ago

Improvements

  • Refactored some internal methods visibility (protected/private)

Q&A

soluble-japha - Version 2.4.1

Published by belgattitude about 7 years ago

Bugfix

  • Regression with https connection introduced in 2.4.0
soluble-japha - Version 2.4.0

Published by belgattitude about 7 years ago

Added

  • Added support for basic authentication in connection servlet_address.

    <?php
    $ba = new BridgeAdapter([
        'servlet_address' => 'http://user:pass@localhost:8080/MyJavaBridge/servlet.phpjavabridge'
    ]);    
    
  • Added AuthenticationException (ConnectionException).

  • Logger now logs java exceptions (NoSuchProcedureException,... at error level).

Fixed

  • Notice and warnings when a BrokenConnection is encountered.
soluble-japha - Version 2.3.0

Published by belgattitude about 7 years ago

Improved

  • More typehints in internal PJB62 driver.
soluble-japha - Version 2.2.4

Published by belgattitude about 7 years ago

Improved

  • Catch Throwable instead of Exception in driver and client.
  • Dev updated to PHPUnit 6+
  • Dev removed pjbserver-tools from require-dev
  • Doc update: recipe for jasper reports
soluble-japha - Version 2.2.3

Published by belgattitude about 7 years ago

Improved

  • Now Adapter defaults to pjb62 driver.
  • Unit tests, preliminary work to update to phpunit 6+
soluble-japha - Version 2.2.2

Published by belgattitude about 7 years ago

Fixed

  • Unit tests, incorrect call java.time.format.FormatStyle fixed.
soluble-japha - Version 2.2.1

Published by belgattitude about 7 years ago

Fixed

  • Prevent loop when un-registering client after an error. Not a major issue, but help when unit testing.
soluble-japha - Version 2.2.0

Published by belgattitude about 7 years ago

Added

  • Support for PHP7.2 (tested against PHP7.2-beta2)
  • More type checking for PHP7.1

Improved

  • Internal socket api improvements.

Tests

  • Upgraded to phpstan 0.8.2, with max level analysis
soluble-japha - Version 2.1.1

Published by belgattitude about 7 years ago

Fixed

  • Removed a trigger_error when using a php object as Java argument (a JavaException is still thrown).
  • Missing break for $arg->setVoidSignature() in Pjb62 Client.php.

Improved

  • Some more polishing for types (PHP 7.1)
  • Minor optimization, using empty instead of count.