This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,37 @@ | |||
# Release Notes 22.0.6-BETA | |||
|
|||
## Upgrading to this Version | |||
### Convert connection URLs to use query parameters | |||
Force connection URLs now use standard query parameters. For example: | |||
|
|||
force://host;user=username;password=password | |||
|
|||
Becomes | |||
|
|||
force://host?user=username&password=password | |||
|
|||
|
|||
Note that if a new connection URL is added directly to XML, any ampersand ('&') will need to be escaped as `&` | |||
|
|||
### Use ${} URL injection | |||
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: | |||
|
|||
$ export FORCE_FORCEDATABASE_URL=force://host;user=username;password=password | |||
|
|||
Coupled with this persistence-unit: | |||
|
|||
<persistence-unit name="forceDatabase"> | |||
... | |||
|
|||
This can now be replaced with: | |||
|
|||
$ export FORCE_FORCEDATABASE_URL=force://host?user=username&password=password | |||
|
|||
And | |||
|
|||
<persistence-unit name="myPersistenceUnit"> | |||
<property name="datanucleus.ConnectionURL" value="${FORCE_FORCEDATABASE_URL}" /> | |||
... | |||
|
|||
## Bug Fixes | |||
- A problem with local development container detection causes infinite OAuth redirect loop. |