Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'hotfix/release_notes'

  • Loading branch information...
commit e9dc55dbd866dad957243743295f9cfd575b11c2 2 parents a13b371 + dd081ef
Tim Kral tkral authored

Showing 1 changed file with 37 additions and 0 deletions. Show diff stats Hide diff stats

  1. +37 0 ReleaseNotes.md
37 ReleaseNotes.md
Source Rendered
... ... @@ -0,0 +1,37 @@
  1 +# Release Notes 22.0.6-BETA
  2 +
  3 +## Upgrading to this Version
  4 +### Convert connection URLs to use query parameters
  5 +Force connection URLs now use standard query parameters. For example:
  6 +
  7 + force://host;user=username;password=password
  8 +
  9 +Becomes
  10 +
  11 + force://host?user=username&password=password
  12 +
  13 +
  14 +Note that if a new connection URL is added directly to XML, any ampersand ('&') will need to be escaped as `&`
  15 +
  16 +### Use ${} URL injection
  17 +A new JPA URL injection method is added that allows for better naming flexibility. Past versions performed URL injection based on naming convention. For example:
  18 +
  19 + $ export FORCE_FORCEDATABASE_URL=force://host;user=username;password=password
  20 +
  21 +Coupled with this persistence-unit:
  22 +
  23 + <persistence-unit name="forceDatabase">
  24 + ...
  25 +
  26 +This can now be replaced with:
  27 +
  28 + $ export FORCE_FORCEDATABASE_URL=force://host?user=username&password=password
  29 +
  30 +And
  31 +
  32 + <persistence-unit name="myPersistenceUnit">
  33 + <property name="datanucleus.ConnectionURL" value="${FORCE_FORCEDATABASE_URL}" />
  34 + ...
  35 +
  36 +## Bug Fixes
  37 +- A problem with local development container detection causes infinite OAuth redirect loop.

0 comments on commit e9dc55d

Please sign in to comment.
Something went wrong with that request. Please try again.