Skip to content

Releases

Oracle PL/SQL Unwrapper 1.0.1

Choose a tag to compare

@sftwnd sftwnd released this 10 Nov 16:04
b8e22ed

Options of a single format, set through the command line and the API, and the stray CR handling of the format V2 as such an option. See #35.

Maven

<dependency>
    <groupId>com.github.sftwnd</groupId>
    <artifactId>oracle-plsql-unwrapper</artifactId>
    <version>1.0.1</version>
</dependency>

The artifact brings oracle-plsql-unwrap-spi and oracle-plsql-unwrap-v2. The classes are at the level of Java 8; each jar is a JPMS module and an OSGi bundle.

Downloads

File What it is
oracle-plsql-unwrapper-1.0.1-dist.zip the executable jar, LICENSE and the launchers bin/unwrapper and bin/unwrapper.cmd; needs Java 8 or later
oracle-plsql-unwrapper-1.0.1-all.jar the executable jar alone: java -jar oracle-plsql-unwrapper-1.0.1-all.jar --help
unwrapper-1.0.1-linux-x64.zip native executable for Linux x86_64, needs glibc 2.34 or later
unwrapper-1.0.1-windows-x64.zip native executable for Windows x86_64
unwrapper-1.0.1-macos-arm64.zip native executable for macOS on Apple silicon
unwrapper-1.0.1-macos-x64.zip native executable for macOS on Intel
oracle-plsql-unwrap-spi-1.0.1.jar, oracle-plsql-unwrap-v2-1.0.1.jar, oracle-plsql-unwrapper-1.0.1.jar the library jars, as on Maven Central
*.asc signatures of the jars, key 9AA4A6E0DB4C6F5B
SHA256SUMS SHA-256 of every file

A native executable needs no Java. The macOS executables are not notarized: macOS may ask to allow them in the security settings.

What the release holds

  • Options of a single format (#31): a format declares its options in the SPI (FormatOption, FormatUnwrapper.options()); the help lists the options of the formats found, the command line sets them with --format-option <format>.<name>=<value>, the API with UnwrapOptions.withFormatOption and Unwrapper.formatOptions(). What no option sets is decided by the system property of the format.
  • Stray CR as an option of the format V2 (#33): V2.strayCr=space|keep and the property com.github.sftwnd.oracle.unwrap.v2.strayCr. withKeepStrayCr, keepStrayCr, the property com.github.sftwnd.oracle.unwrap.keepStrayCr and --keep-stray-cr of the release 1.0.0 still work; they are deprecated and are removed in the next major release.
  • Reproducible executable jar and distribution (#27): the build time no longer gets into META-INF/LICENSE.
  • Test references stored byte for byte with the checksum manifest SHA256SUMS (#24).
  • Maven plugins pinned to their latest versions (#21); the manifest of the jars names Java-Version: 8.
  • Landing page on GitHub Pages (#17).

License

BSD 3-Clause License.

Oracle PL/SQL Unwrapper 1.0.0

Choose a tag to compare

@sftwnd sftwnd released this 07 Nov 10:49
284f3f4

The first release of the library and command line that restore PL/SQL source code from Oracle wrapped scripts of the format V2 (Oracle 10g and later). See #13.

Maven

<dependency>
    <groupId>com.github.sftwnd</groupId>
    <artifactId>oracle-plsql-unwrapper</artifactId>
    <version>1.0.0</version>
</dependency>

The artifact brings oracle-plsql-unwrap-spi and oracle-plsql-unwrap-v2. The classes are at the level of Java 8; each jar is a JPMS module and an OSGi bundle.

Downloads

File What it is
oracle-plsql-unwrapper-1.0.0-dist.zip the executable jar, LICENSE and the launchers bin/unwrapper and bin/unwrapper.cmd; needs Java 8 or later
oracle-plsql-unwrapper-1.0.0-all.jar the executable jar alone: java -jar oracle-plsql-unwrapper-1.0.0-all.jar --help
unwrapper-1.0.0-linux-x64.zip native executable for Linux x86_64, needs glibc 2.34 or later
unwrapper-1.0.0-windows-x64.zip native executable for Windows x86_64
unwrapper-1.0.0-macos-arm64.zip native executable for macOS on Apple silicon
unwrapper-1.0.0-macos-x64.zip native executable for macOS on Intel
oracle-plsql-unwrap-spi-1.0.0.jar, oracle-plsql-unwrap-v2-1.0.0.jar, oracle-plsql-unwrapper-1.0.0.jar the library jars, as on Maven Central
*.asc signatures of the jars, key 9AA4A6E0DB4C6F5B
SHA256SUMS SHA-256 of every file

A native executable needs no Java. The macOS executables are not notarized: macOS may ask to allow them in the security settings.

What the release holds

  • Format V2: every release of WRAP from 10.1 to 23.26.1, with the character set of each unit, the TIMESTAMP, OID, SHARING and IF NOT EXISTS clauses and the line endings of the source.
  • Script assembly: the text outside the units is copied as it is; a unit of the format V1 is reported, not left wrapped.
  • Formats are services of the SPI, so a format of another module is found on the class path, on the module path or in an OSGi container with a ServiceLoader mediator.
  • Command line with --help, --input-encoding, --output-encoding and --keep-stray-cr.

License

BSD 3-Clause License.