Skip to content

Releases: tada/pljava

Release 1.5.0-BETA3

20 Mar 05:24
Compare
Choose a tag to compare
Release 1.5.0-BETA3 Pre-release
Pre-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.

Release 1.5.0-BETA2

23 Feb 01:33
Compare
Choose a tag to compare
Release 1.5.0-BETA2 Pre-release
Pre-release

PL/Java 1.5.0-BETA2 announced.

PL/Java brings functions, triggers, and types in Java. 1.5.0, now in second 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-BETA1:

  • Microsoft Windows builds are now supported using both the Visual Studio and the MinGW-w64 toolchains.
  • Fixed: two build/install issues on Mac OS X El Capitan (issue 94, issue 96)
  • Fixed: parameter declaration generated for trigger function (issue 92)
  • Fixed: source location missing for some annotation errors (issue 95)
  • Fixed: pljava-api jar missing from installation jar

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.

Release 1.5.0-BETA1

01 Feb 05:07
Compare
Choose a tag to compare
Release 1.5.0-BETA1 Pre-release
Pre-release

PL/Java 1.5.0-BETA1 announced; security note.

PL/Java brings functions, triggers, and types in Java. 1.5.0, now in beta, 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:

1.5.0 brings a policy change to a more secure-by-default posture, where the ability to create functions in 'LANGUAGE java' is no longer automatically granted to 'public', but can be selectively granted to roles that will have that responsibility. The change reduces exposure to a known issue present in 1.5.0 and earlier versions, that will be closed in a future release; details are in the release notes.

The new policy will be applied in a new installation; permissions will not be changed in an upgrade, but any site can move to this policy, even before updating to 1.5.0, with REVOKE USAGE ON LANGUAGE java FROM public; followed by explicit GRANT commands for the users/roles expected to create Java functions. Many sites guided by the principle of least privilege may have chosen such a policy already.

MS Windows note:

1.5.0 development snapshots have been repeatedly tested on Windows building with Visual Studio (including the Express and Community editions), and the build documentation covers this combination. Beta testers should find it straightforward.

Resources have not been available to test MinGW-based builds. Beta testers using this combination are encouraged to report build issues they may encounter. (Patches, where possible, would be appreciated also. A likely place to look in case of issues would be the comments above PLJAVADLLEXPORT in Backend.c.)

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