Releases: LabKey/labkey-api-java
Releases · LabKey/labkey-api-java
v4.2.0
- Refactor repository layout, removing unnecessary
labkey-client-api
folder - Upgrade to most recent Gradle, Gradle Plugins, and HttpClient versions
v4.0.0
- 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 inconsistentCommand.copy
implementations. - Make the properties stashed by
ResponseObject
immutable.
- Remove
- Issue 46321: Remove
lib
directory fromfatJar
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
- 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
- Migrate internal HTTP handling to use Apache HttpClient 5.1.x
- Switch
StopImpersonatingCommand
to disable redirects (mimicking previous behavior) - Add
Connection.stopImpersonating()
and deprecatestopImpersonate()
- 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
- 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
- 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
- Fix NPE when saving assay protocol with transform scripts
- Add derivationDataScope to PropertyDescriptor
v1.5.0
- 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
- 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
- Fix selectedMetadataInputFormat serialization
- Add some missing dependency declarations