Skip to content

Releases: LabKey/labkey-api-java

v4.2.0

11 Jan 00:42
Compare
Choose a tag to compare
  • Refactor repository layout, removing unnecessary labkey-client-api folder
  • Upgrade to most recent Gradle, Gradle Plugins, and HttpClient versions

v4.0.0

26 Oct 20:43
4dc2b2d
Compare
Choose a tag to compare
  • Migrate to a new JSON library: JSON-java. The previous library, json-simple is no longer maintained (last released in early 2012) and lacks support for basic features like generics. This is an incompatible API change for developers who write their own Command classes; they will need to update their Command classes if/when they upgrade to v4.0.0. Developers who simply use Command classes should be able to upgrade without changes.
  • API changes:
    • Remove copy method from Commands. It was inconsistently implemented and served little purpose.
    • Remove CommandResponse.getSourceCommand. Functionality would vary wildly because of inconsistent Command.copy implementations.
    • Make the properties stashed by ResponseObject immutable.
  • Issue 46321: Remove lib directory from fatJar in favor of pulling dependencies via the published pom files when needed
  • Remove artifactory plugin since we use the maven publish command now

v3.1.0

20 Sep 22:20
Compare
Choose a tag to compare
  • Add support for creating Freezer Manager freezer hierarchies via StorageController APIs (earliest compatible LabKey Server version: 22.10.0)
    • CreateCommand, UpdateCommand, DeleteCommand
  • Restore proactive authentication behavior. A change in v3.0.0 caused some invocations of @NoPermissionsRequired
    actions (e.g., GetContainersCommand) to use guest credentials instead of the configured user credentials. The library
    now always authenticates using the configured credentials, matching pre-v3.0.0 behavior.

v3.0.0

15 Sep 18:28
Compare
Choose a tag to compare
  • Migrate internal HTTP handling to use Apache HttpClient 5.1.x
  • Switch StopImpersonatingCommand to disable redirects (mimicking previous behavior)
  • Add Connection.stopImpersonating() and deprecate stopImpersonate()
  • Remove deprecated methods:
    • ApiVersionException() (use constructor that takes contentType)
    • CommandException() (use constructor that takes contentType)
    • Connection.getBaseUrl() (use Connection.getBaseURI())
    • CredentialsProvider.configureRequest() (use variant that takes a URI)
    • Filter.NON_BLANK (use Filter.NONBLANK)
    • Filter.getCaption() (use Filter.getDisplayValue())
    • Filter.getName() (use Filter.getUrlKey())
    • Filter.isDataValueRequired() (use Filter.isValueRequired())
  • Remove SAS macros and wrapper classes
  • Add CreateFolderCommand
  • Add CreateProjectCommand (earliest compatible LabKey Server version: 22.3.0)
  • Update LogoutCommand to use POST

v2.0.0

25 Jul 22:52
Compare
Choose a tag to compare
  • Require Java 17 to build and run
  • v2.0.0 is functionally identical to v1.5.2, other than being compiled for Java 17
  • Code that can't yet support Java 17 can continue to use v1.5.2, which was compiled for Java 8
  • All future enhancements will target the 2.x line; we expect no further development on 1.x

v1.5.2

22 Jul 23:49
Compare
Choose a tag to compare
  • Add Connection.setUserAgent() and Connection.getUserAgent()
  • Set Java library user agent to "LabKey Java API"
  • Set SAS library user agent to "LabKey SAS API"

v1.5.1

11 Jul 20:52
46828f9
Compare
Choose a tag to compare
  • Fix NPE when saving assay protocol with transform scripts
  • Add derivationDataScope to PropertyDescriptor

v1.5.0

11 Jul 20:51
Compare
Choose a tag to compare
  • Update gradle and various dependencies
  • Update signature of Connection constructor
  • Issue 43380: ImportDataCommand missing options supported by the query-import.api endpoint
  • Remove CheckForStudyReloadCommand.

v1.4.0

10 Aug 23:48
Compare
Choose a tag to compare
  • Issue 43246: Lineage query NPE while processing an UploadedFile
  • Additional lineage options and support additional properties in response
  • Update dependency version numbers
  • Update to Gradle 7.1

v1.3.2

10 Aug 23:47
Compare
Choose a tag to compare
  • Fix selectedMetadataInputFormat serialization
  • Add some missing dependency declarations