Skip to content

Releases: tada/pljava

PL/Java 1.6.7 announced

03 Apr 21:22
Compare
Choose a tag to compare

PL/Java brings functions, triggers, aggregates, types, operators, etc. in Java.

1.6.7 is the seventh minor update in the 1.6 series, for applications on PostgreSQL 9.5 or later and Java 9 or later. Legacy applications requiring older PostgreSQL or Java versions may be supported by the 1.5 series.

1.6.7 adds support for FreeBSD and for building and running with Java 22, and fixes some bugs, with few other notable changes. Further information on the changes may be found below.

Upcoming changes in Java beyond version 17 will affect PL/Java. For more on those changes and how PL/Java will adapt, please bookmark JEP 411 on the PL/Java wiki.

Current users of a 1.5.x release should also review the 1.6.0 release notes for changes that may require attention before updating to 1.6.x.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Selected changes

  • Can be built and used with Java 22
  • Can be built and used on FreeBSD
  • Fixes a bug that could lead to class loading errors in threaded Java code
  • The Adjusting.XML API supports new XML properties in Java 22 where available, and has a new method ignoreDTD() to provide another option for DTD handling beyond allowDTD(boolean).

Please see the release notes for a more complete list of changes.

Availability:

1.6.7 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_6_7

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.6.6 announced

19 Sep 19:27
Compare
Choose a tag to compare

PL/Java brings functions, triggers, aggregates, types, operators, etc. in Java.

1.6.6 is the sixth minor update in the 1.6 series, for applications on PostgreSQL 9.5 or later and Java 9 or later. Legacy applications requiring older PostgreSQL or Java versions may be supported by the 1.5 series.

1.6.6 adds support for PostgreSQL 16 and fixes some bugs, with few other notable changes. Further information on the changes may be found below.

Upcoming changes in Java beyond version 17 will affect PL/Java. For more on those changes and how PL/Java will adapt, please bookmark JEP 411 on the PL/Java wiki.

Current users of a 1.5.x release should also review the 1.6.0 release notes for changes that may require attention before updating to 1.6.x.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Selected changes

  • The Node testing harness can be used with either the PGJDBC or the pgjdbc-ng driver
  • The Adjusting.XML API supports new XML feature and property names in Java 17 where available, and has new methods giving more control when some names might not be supported

Please see the release notes for a more complete list of changes.

Availability:

1.6.6 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_6_6

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.6.5 announced

13 Jun 23:29
Compare
Choose a tag to compare

PL/Java brings functions, triggers, aggregates, types, operators, etc. in Java.

1.6.5 is the fifth minor update in the 1.6 series, for applications on PostgreSQL 9.5 or later and Java 9 or later. Legacy applications requiring older PostgreSQL or Java versions are supported by the 1.5 series.

1.6.5 adds support for PostgreSQL 15 and fixes some bugs, with few other notable changes. Further information on the changes may be found below.

Upcoming changes in Java beyond version 17 will affect PL/Java. For more on those changes and how PL/Java will adapt, please bookmark JEP 411 on the PL/Java wiki.

Current users of a 1.5.x release should also review the 1.6.0 release notes for changes that may require attention before updating to 1.6.x.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Selected changes

  • Bugs affecting install_jar from http/https URLs fixed
  • PL/Java functions can be declared on interfaces as well as classes
  • SQL generator source-version warnings suppressed, through Java 20

Please see the release notes for a more complete list of changes.

Availability:

1.6.5 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_6_5

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.6.4 announced

19 Jan 23:41
Compare
Choose a tag to compare

PL/Java brings functions, triggers, aggregates, types, operators, etc. in Java.

1.6.4 is the fourth minor update in the 1.6 series, for applications on PostgreSQL 9.5 or later and Java 9 or later. Legacy applications requiring older PostgreSQL or Java versions are supported by the 1.5 series.

1.6.4 is a minor bug-fix release with few other notable changes. Further information on the changes may be found below.

Upcoming changes in Java beyond version 17 will affect PL/Java. For more on those changes and how PL/Java will adapt, please bookmark JEP 411 on the PL/Java wiki.

Current users of a 1.5.x release should also review the 1.6.0 release notes for changes that may require attention before updating to 1.6.x.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Selected changes

  • The recently-added support for functions with OUT parameters now generates the correct SQL declaration for a function with one OUT parameter.
  • A bug is fixed in the recently-added thread-context classloader management. It could be encountered in applications with jars in multiple schemas, nested Java function calls, and set-returning functions.

Please see the release notes for a more complete list of changes.

Availability:

1.6.4 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_6_4

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.6.3 announced

10 Oct 23:14
Compare
Choose a tag to compare

PL/Java brings functions, triggers, aggregates, types, operators, etc. in Java.

1.6.3 is the third minor update in the 1.6 series, for applications on PostgreSQL 9.5 or later and Java 9 or later. Legacy applications requiring older PostgreSQL or Java versions are supported by the 1.5 series.

1.6.3 adds support for PostgreSQL 14, brings a few improvements to the annotation-driven SQL generator and the runtime, and fixes several bugs. It also begins preparation for the impact of changes to Java's permission enforcement coming in Java 17 and later with JEP 411.

For more on those upcoming changes in Java and how PL/Java will adapt, please bookmark JEP 411 on the PL/Java wiki.

Current users of a 1.5.x release should also review the 1.6.0 release notes for changes that may require attention before updating to 1.6.x.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Selected changes

  • Can generate a complete family of cross-type operators related by commutation and negation from a single Java method. A bug kept that from working in 1.6.2.

  • A method parameter can now be annotated so that the PostgreSQL function parameter will default to null. Formerly, only non-null defaults could be specified that way.

  • The current thread's context class loader now has a useful value on entry to a PL/Java function.

Please see the release notes for a more complete list of changes.

Availability:

1.6.3 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_6_3

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.5.8 announced

27 Sep 17:49
Compare
Choose a tag to compare

PL/Java brings functions, triggers, and types in Java. The 1.5 series supports legacy applications, with PostgreSQL support extending from 14 back to 8.2, and Java back to 8 (7 or 6 with some extra build effort). Its build system targets Java no later than 14, but once built, it can run on later versions.

For applications on PostgreSQL 9.5 or later and Java 9 or later, please consider the more actively developed PL/Java 1.6 series.

1.5.8 brings support for PostgreSQL 14, and fixes two bugs. It also begins preparation for the impact of changes to Java's permission enforcement coming in Java 17 and later with JEP 411.

For more on those upcoming changes in Java and how PL/Java will adapt, please read about JEP 411 on the PL/Java wiki.

Project site: http://tada.github.io/pljava/
Release notes: https://github.com/tada/pljava/blob/V1_5_8/src/site/markdown/releasenotes.md.vm

Availability:

1.5.8 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_5_8

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.6.2 (the Black Friday edition)

28 Nov 00:10
Compare
Choose a tag to compare

PL/Java brings functions, triggers, and types in Java.

1.6.2 is the second minor update in the 1.6 series, for applications on PostgreSQL 9.5 or later and Java 9 or later. Legacy applications requiring older PostgreSQL or Java versions are supported by the 1.5 series.

1.6.2 fixes two bugs (one of which was likely to be a blocker for many applications). It adds a 'trial' security policy, useful when migrating code from PL/Java 1.5 to identify permission grants that may be needed, and some minor but useful example functionality.

Current users of a 1.5.x release should also review the 1.6.0 release notes for changes that may require attention before updating to 1.6.x.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Selected changes

  • A 'trial' security policy allows code under test to be run in a partially-enforcing mode to determine what permission grants, if any, may need to be added to the production policy.

  • Example functions demonstrating Java's built-in XSLT 1.0 support have been polished to simplify using it for real work. 1.0 is very limited compared to current XSLT versions, but requires no separate download, and Java's implementation can call accessible Java methods and constructors, offering ways around some limits of strict XSLT 1.0.

    One useful stocking-stuffer that results is a simple function to indent XML for readability, just passing a null transform name and indent => true to transformXML.

Please see the release notes for a more complete list of changes.

Availability:

1.6.2 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_6_2

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.6.1 announced

17 Nov 01:44
Compare
Choose a tag to compare

PL/Java brings functions, triggers, and types in Java.

1.6.1 is the first minor update in the 1.6 series, for applications on PostgreSQL 9.5 or later and Java 9 or later. Legacy applications requiring older PostgreSQL or Java versions are supported by the 1.5 series.

1.6.1 fixes two bugs in 1.6.0, and adds SQL generator support for aggregates, casts, operators, and function OUT parameters.

Current users of a 1.5.x release should also review the 1.6.0 release notes for changes that may require attention before updating to 1.6.x.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Selected changes

  • OUT parameters offer one more way to declare functions returning composite types, with less burden on callers than RETURNS RECORD and less ceremony than declaring a named composite type.

  • New Java source annotations @Aggregate, @Cast, @Operator further reduce the manual effort of maintaining SQL deployment scripts for the Java code.

Please see the release notes for a more complete list of changes.

Availability:

1.6.1 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_6_1

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.5.7 announced

17 Nov 01:39
Compare
Choose a tag to compare

PL/Java brings functions, triggers, and types in Java. The 1.5 series supports legacy applications, with PostgreSQL support extending from 13 back to 8.2, and Java from 14 back to 8 (7 or 6 with some extra build effort).

1.5.7 is a pure bugfix release correcting one bug in XML Schema handling for some non-en_US locales. Its features are otherwise identical to 1.5.6.

For applications on PostgreSQL 9.5 or later and Java 9 or later, please consider the PL/Java 1.6 series.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Availability:

1.5.7 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_5_7

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages

PL/Java 1.6.0 announced

19 Oct 00:32
Compare
Choose a tag to compare

PL/Java brings functions, triggers, and types in Java.

1.6.0 is a notably refactored release that requires Java 9 or later and PostgreSQL 9.5 or later, and brings a number of changes from 1.5.x.

Current users of a 1.5.x release should review the 1.6.0 release notes for possibly necessary changes before updating to 1.6.0.

It includes configurable permissions (finer grained than just java versus javaU), a smarter SQL generator, and a much-improved build experience.

Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html

Selected changes

  • The Java permissions available to java and javaU functions can be tailored for each case. Language 'aliases' beyond those two can also be set up with CREATE LANGUAGE and have their own associated permissions.

  • The SQL generator no longer needs to be explicitly told about dependencies between a new type and the functions that use it, or are used in its implementation.

  • PL/Java functions can now be variadic.

  • The build system now takes pg_config values such as CFLAGS into account to match the compiler configuration used to build PostgreSQL.

  • Two continuous integration services now routinely build PL/Java for Linux (x86_64 and ppc64le), Mac OS X, and Windows (MinGW-w64 and MSVC), with results visible at GitHub.

Please see the release notes for a more complete list of changes.

Availability:

1.6.0 is available from GitHub as a source release, which builds quickly using Maven:

Release page: https://github.com/tada/pljava/releases/tag/V1_6_0

This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages