Releases: LabKey/labkey-api-python
Releases · LabKey/labkey-api-python
3.0.0
- 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
Query API - Change max_rows default value to -1 in select_rows
2.6.0
Query API - add lineage-related filter types
2.5.1
- Remove
apikey|
prefix from webdav client configurations
2.5.0
- 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
- 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
- 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
- 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
Fix Issue 42489
- Updated Run.to_json() to drop unset values
2.0.0
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)"
- They were all simple one line wrappers around Class constructors that were not needed if you were using any you
- Remove unsupported modules
- Update example code