Skip to content

@jcflack jcflack released this Nov 4, 2019 · 187 commits to master since this release

PL/Java brings functions, triggers, and types in Java. 1.5.5 supports PostgreSQL through 12 and Java through 13 at build time and run time.

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

Changes in 1.5.5

  • This is a pure bug-fix release that fixes runtime issues reported in 32-bit i386 builds, some of which would not affect a more common 64-bit architecture, but some of which could under the wrong circumstances, so this release should be used in preference to 1.5.4 or 1.5.3 on any architecture.

Other recent user-visible changes were announced in release 1.5.4 and release 1.5.3.

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

Availability:

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

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

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

Assets 2

@jcflack jcflack released this Oct 29, 2019 · 193 commits to master since this release

PL/Java brings functions, triggers, and types in Java. 1.5.4 supports PostgreSQL through 12 and Java through 13 at build time and run time.

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

Changes in 1.5.4

  • This release follows closely on 1.5.3 to correct some reported build issues
    with Java 11 and 13.
  • A work-in-progress feature that can apply the SQLXML API to other
    tree-structured data types is introduced.
  • Documentation updates cover changes to Application Class Data Sharing in
    recent Hotspot versions, and ahead-of-time compilation using jaotc.

Other recent user-visible changes were announced in release 1.5.3.

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

Availability:

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

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

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

Assets 2

@jcflack jcflack released this Oct 4, 2019 · 222 commits to master since this release

PL/Java brings functions, triggers, and types in Java. 1.5.3 adds support for PostgreSQL 12, and can now be built with Java versions later than 8.

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

Selected changes

  • Rework of threading/synchronization management to eliminate Java object finalizers (long deprecated informally, and formally since Java 9). Fixes occasional hangs that could be seen when running on an OpenJ9 JVM.

  • Improvements to the java.sql.SQLXML type.

  • Includes an example that provides substantially complete implementations of the ISO SQL/XML functions XMLEXISTS, XMLQUERY, XMLTABLE, and XMLCAST (using the XQuery language as ISO SQL specifies, rather than XPath as used by the versions in core PostgreSQL), and the LIKE_REGEX, OCCURRENCES_REGEX, POSITION_REGEX, SUBSTRING_REGEX, and TRANSLATE_REGEX functions that apply XQuery regular expressions. As ordinary extension functions without special treatment in the SQL parser, these have to be called using slightly different syntax than ISO SQL provides. The optionally-built example relies on the Saxon XQuery library.

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

Availability:

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

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

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

Assets 2

@jcflack jcflack released this Nov 5, 2018 · 202 commits to REL1_5_STABLE since this release

PL/Java 1.5 brings functions, triggers, and types in Java to PostgreSQL releases from 11 back to 8.2. Release 1.5.2 fixes a regression in 1.5.1 that affected the conversion of PostgreSQL date values to Java java.sql.Date objects.

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

Change

Before 1.5.1, PostgreSQL date, time, and timestamp values could be accessed in PL/Java as java.sql.Date, java.sql.Time, and java.sql.Timestamp objects. PL/Java 1.5.1 added the option of accessing those values as objects of new classes in the Java 8+ java.time package. The new classes are recommended as a superior API for accessing dates, times, and timestamps.

However, one regression resulted in the older conversion between PostgreSQL date and java.sql.Date, leading to an error of one day for some dates of the year in some time zones. Release 1.5.2 restores the former behavior.

Please see the release notes for more complete information.

Availability:

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

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

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

Assets 2

@jcflack jcflack released this Oct 17, 2018 · 349 commits to master since this release

PL/Java brings functions, triggers, and types in Java. 1.5.1 adds support for PostgreSQL 9.6, 10, and 11, with a number of improvements and fixes.

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

Security note

Two minor enhancements are described in the release notes.

Selected changes

New datatype support has been added, with more details in the release notes:

  • Classes from the Java 8 new date/time API (in the java.time package) can now be used in place of the older java.sql.Date/Time/Timestamp classes to represent PostgreSQL date, time with and without timezone, and timestamp with and without timezone. These new classes fit the SQL types much more closely, and PL/Java code written for Java 8 or later is strongly encouraged to use them (as is PL/Java code written for earlier Java releases, if it is practical to migrate to Java 8 or later).

  • Code that manipulates XML can now receive and return it using the standard JDBC java.sql.SQLXML API, with efficiency and memory footprint advantages relative to PL/Java's default behavior of mapping whole XML documents to Java strings.

This release introduces support for parallel-safety declarations on functions in PostgreSQL 9.6. Simple cases work as expected, but PL/Java's code has not been thoroughly audited to be sure its internal behavior cannot violate constraints on parallel-restricted or parallel-safe functions. See the release notes and new user-guide page on parallel query.

In PostgreSQL 10, trigger transition tables are supported for AFTER triggers, as described in the release notes.

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

Availability:

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

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

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

Assets 2
Pre-release
Pre-release

@jcflack jcflack released this Oct 7, 2018 · 354 commits to master since this release

PL/Java 1.5.1-BETA3 announced

PL/Java brings functions, triggers, and types in Java. 1.5.1, now in BETA3, adds support for PostgreSQL 9.6, 10, and 11 (beta4), with a number of improvements and fixes.

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

Security note

Two minor enhancements are described in the release notes.

Selected changes

New datatype support has been added, with more details in the release notes:

  • Classes from the Java 8 new date/time API (in the java.time package) can now be used in place of the older java.sql.Date/Time/Timestamp classes to represent PostgreSQL date, time with and without timezone, and timestamp with and without timezone. These new classes fit the SQL types much more closely, and PL/Java code written for Java 8 or later is strongly encouraged to use them (as is PL/Java code written for earlier Java releases, if it is practical to migrate to Java 8 or later).

  • Code that manipulates XML can now receive and return it using the standard JDBC java.sql.SQLXML API, with efficiency and memory footprint advantages relative to PL/Java's default behavior of mapping whole XML documents to Java strings.

Beta testers are encouraged to exercise the new datatype mappings.

This release introduces support for parallel-safety declarations on functions in PostgreSQL 9.6. Simple cases work as expected, but PL/Java's code has not been thoroughly audited to be sure its internal behavior cannot violate constraints on parallel-restricted or parallel-safe functions. See the release notes and new user-guide page on parallel query.

In PostgreSQL 10, trigger transition tables are supported for AFTER triggers, as described in the release notes.

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

1.5.1-BETA3 is available from GitHub as a source release, which builds quickly using Maven:

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

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

Assets 2
Pre-release
Pre-release

@jcflack jcflack released this Sep 10, 2018 · 391 commits to master since this release

PL/Java 1.5.1-BETA2 announced

PL/Java brings functions, triggers, and types in Java. 1.5.1, now in BETA2, adds support for PostgreSQL 9.6, 10, and 11 (beta3), with a number of improvements and fixes.

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

Security note

Two minor enhancements are described in the release notes.

Selected changes

New datatype support has been added, with more details in the release notes:

  • Classes from the Java 8 new date/time API (in the java.time package) can now be used in place of the older java.sql.Date/Time/Timestamp classes to represent PostgreSQL date, time with and without timezone, and timestamp with and without timezone. These new classes fit the SQL types much more closely, and PL/Java code written for Java 8 or later is strongly encouraged to use them (as is PL/Java code written for earlier Java releases, if it is practical to migrate to Java 8 or later).

  • Code that manipulates XML can now receive and return it using the standard JDBC java.sql.SQLXML API, with efficiency and memory footprint advantages relative to PL/Java's default behavior of mapping whole XML documents to Java strings.

Beta testers are encouraged to exercise the new datatype mappings.

This release introduces support for parallel-safety declarations on functions in PostgreSQL 9.6. Simple cases work as expected, but PL/Java's code has not been thoroughly audited to be sure its internal behavior cannot violate constraints on parallel-restricted or parallel-safe functions. See the release notes and new user-guide page on parallel query.

In PostgreSQL 10, trigger transition tables are supported for AFTER triggers, as described in the release notes.

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

Availability:

1.5.1-BETA2 is available from GitHub as a source release, which builds quickly using Maven:

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

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

Assets 2
Pre-release
Pre-release

@jcflack jcflack released this Jun 20, 2017 · 573 commits to master since this release

PL/Java 1.5.1-BETA1 announced; security note.

PL/Java brings functions, triggers, and types in Java. 1.5.1, now in beta, adds support for PostgreSQL 9.6 and 10 (beta), with a small number of improvements and fixes.

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

Security note

One previously-announced security issue is addressed in PL/Java 1.5.1, as described in the release notes.

Selected changes

This release introduces support for parallel-safety declarations on functions in PostgreSQL 9.6. Simple cases work as expected, but PL/Java's code has not been thoroughly audited to be sure its internal behavior cannot violate constraints on parallel-restricted or parallel-safe functions. See the release notes and new user-guide page on parallel query. This could be a fruitful area for beta testing.

In PostgreSQL 10, trigger transition tables are supported for AFTER triggers, as described in the release notes.

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

Availability:

1.5.1-BETA1 is available from GitHub as a source release, which builds quickly using Maven:

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

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

Assets 2

@jcflack jcflack released this Mar 29, 2016 · 610 commits to master since this release

PL/Java brings functions, triggers, and types in Java. 1.5.0 supports latest PostgreSQL and Java versions with a range of improvements and fixes.

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

Security note:

Several security issues are addressed in PL/Java 1.5.0, as described in the release notes, so sites running earlier versions are encouraged to update. The release notes also describe practical mitigations to reduce risk until an update can be completed.

Platforms:

PL/Java 1.5.0 works with Java 8, 7, or 6 and all 9.x PostgreSQL versions as well as 8.4. To support projects based on older PostgreSQL forks, PL/Java 1.5.0 is also intended to build with 8.3 and 8.2, but has not been tested on those versions.

PL/Java 1.5.0 resolves reported build issues on several platforms, and new sections of the build documentation specifically cover Mac OS X, Solaris, Ubuntu, and Windows (using Visual Studio or MinGW-64). FreeBSD 10.2 or later is expected to work but has not been tested.

Changes:

PL/Java 1.5.0 brings more complete, usable, and documented capability for Java-implemented user-defined base types, composite types, and mirrors of existing PostgreSQL types, an annotation-driven SQL generator reducing the effort of writing deployment SQL by hand, and many smaller improvements and fixes detailed in the release notes. The supplied examples cover many of these features.

Availability:

PL/Java 1.5.0 is available from GitHub as a source release, which builds quickly using Maven:

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

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

Many thanks to all the individuals and organizations listed in the release notes under Credits.

Assets 2
Pre-release
Pre-release

@jcflack jcflack released this Mar 20, 2016 · 630 commits to master since this release

PL/Java 1.5.0-BETA3 announced.

PL/Java brings functions, triggers, and types in Java. 1.5.0, now in third beta/release candidate, supports latest PostgreSQL and Java versions with a range of improvements and fixes.

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

Although PL/Java has historically used numbered betas and not "RC" releases, this may be considered a 1.5.0 release candidate.

Changes since 1.5.0-BETA2:

  • Fix for CVE-2016-2192, which could affect sites that are using PL/Java's type mapping features. (A mitigation before upgrading to 1.5.0 is simply to REVOKE EXECUTE ... FROM PUBLIC on the functions sqlj.add_type_mapping and sqlj.drop_type_mapping, and grant the privilege selectively to users or roles needing it.)
  • A workaround is documented for faulty builds of OpenJDK 6 and 7 found on Ubuntu
  • Fixed: bogus values when using some user-defined types on little-endian hardware
  • Fixed: user-defined types failing to be registered depending on the first access in a session
  • Fixed: TupleDesc reference leak warnings involving composite user-defined types
  • Partial support (and a working example) added for user-defined types with type modifiers
  • Extensive added documentation on tuning Java VM options, including class data sharing

Please see the release notes for more details and the cumulative list of changes.

Many thanks to all the individuals and organizations listed in the release notes under Credits.

Assets 2
You can’t perform that action at this time.