Skip to content

Releases: LabKey/labkey-api-python

3.0.0

30 Jan 22:16
9ca4601
Compare
Choose a tag to compare
  • Query API - WAF encode "sql" parameter for execute_sql
    • WAF encoding of parameters is initially supported with LabKey Server v23.09
    • WAF encoding can be opted out of on execute_sql calls by specifying waf_encode_sql=False
  • Query API - add optional parameters to insert_rows, update_rows, and delete_rows
  • Query API - add move_rows()
    • earliest compatible LabKey Server version: 24.1.0

2.6.1

09 Oct 21:44
2164435
Compare
Choose a tag to compare

Query API - Change max_rows default value to -1 in select_rows

2.6.0

17 Aug 22:39
604cd15
Compare
Choose a tag to compare

Query API - add lineage-related filter types

2.5.1

12 Jul 18:55
4f2827e
Compare
Choose a tag to compare
  • Remove apikey| prefix from webdav client configurations

2.5.0

06 Jul 20:36
db4c1db
Compare
Choose a tag to compare
  • Container API
    • add rename
    • add get_containers
  • Add transform_helper to labkey.utils
    • See docs in docs/transform_helper.md for more information

2.3.0

30 Jun 22:47
7644bd6
Compare
Choose a tag to compare
  • Add hostname property to ServerContext
  • Add base_url property to ServerContext
  • Add webdav_client method to ServerContext
    • This method returns a webdavclient3 Client instance
  • Add webdav_path method to ServerContext
  • Add docs for WebDav support
  • Add unit tests for ServerContext

2.2.0

11 Aug 12:00
f5bcd73
Compare
Choose a tag to compare
  • Add domain.get_domain_details API to domain module.
  • Support saving domain options via domain.save.
  • Fix ConditionalFormat.to_json() to match server response.

2.1.0

12 May 17:31
9a4daf6
Compare
Choose a tag to compare
  • Add support for ontology based column filters ONTOLOGY_IN_SUBTREE and ONTOLOGY_NOT_IN_SUBTREE
  • ServerContext.make_request: payload is now optional
  • ServerContext.make_request: add json kwarg
    • This automatically does json_dumps and sets the content-type header for you
  • Add impersonate_user and stop_impersonating to security module (including APIWrapper)
  • Add more environment variables for integration test configuration
    • host, port, and context_path can now be overridden via env vars

2.0.1

01 Mar 23:34
88fbf3d
Compare
Choose a tag to compare

Fix Issue 42489

  • Updated Run.to_json() to drop unset values

2.0.0

22 Oct 15:30
8601e72
Compare
Choose a tag to compare

Add APIWrapper, remove Python 2 support

  • Add APIWrapper
    • This wraps all of the supported APIs so you don't need to pass around a server_context
  • Remove support for Python 2.x
  • container.create: rename folderType arg to folder_type, rename isWorkbook arg to is_workbook
  • Add Type annotations
    • We don't have 100% of our API methods typed yet, but we are getting there
  • Format code with Black (a static code formatter)
  • remove build_url helper
    • it was just a single line wrapper around server_context
  • remove create_server_context
    • It was just a wrapper around ServerContext, you can replace all usages of create_server_context with ServerContext
  • Removed various "from_data" methods
    • They were all simple one line wrappers around Class constructors that were not needed if you were using any you
      may update your code e.g. "SomeClass.from_data(data)" can be changed to "SomeClass(**data)"
  • Remove unsupported modules
  • Update example code