Recent Releases of labkey
labkey - 3.4.0
- Add "valueExpression" to PropertyDescriptor class
- needed for creating/adding domain calculated fields
- update Domain class to append calculatedFields to the domain's fields
- Fix Issue 52904
- UnexpectedRedirectError is not wrapped with ServerContextError
- Allow redirects when deactivating users
- Python
Published by labkey-alan about 1 year ago
labkey - 3.1.0
- ServerContext
- Add allow_redirects flag (defaults to False) to constructor
- Add allowredirects flag to makerequest
- APIWrapper: Add allow_redirects flag (defaults to False)
- Add UnexpectedRedirectError
- thrown when allow_redirects is False and the server issues a redirect
- Python
Published by labkey-alan almost 2 years ago
labkey - 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 executesql calls by specifying wafencode_sql=False
- Query API - add optional parameters to insertrows, updaterows, and delete_rows
- Query API - add move_rows()
- earliest compatible LabKey Server version: 24.1.0
- Python
Published by labkey-alan over 2 years ago
labkey - 2.3.0
- Add
hostnameproperty to ServerContext - Add
base_urlproperty to ServerContext - Add
webdav_clientmethod to ServerContext- This method returns a webdavclient3 Client instance
- Add
webdav_pathmethod to ServerContext - Add docs for WebDav support
- Add unit tests for ServerContext
- Python
Published by labkey-alan about 4 years ago
labkey - 2.1.0
- Add support for ontology based column filters ONTOLOGYINSUBTREE and ONTOLOGYNOTIN_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 impersonateuser and stopimpersonating 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
- Python
Published by labkey-alan about 5 years ago
labkey - 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 foldertype, rename isWorkbook arg to isworkbook
- 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 createservercontext
- It was just a wrapper around ServerContext, you can replace all usages of createservercontext 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
- Python
Published by labkey-alan over 5 years ago
labkey - 1.4.1
- Add integration tests
- NOTE: The next planned release will be 2.0.0 and is expected to drop support for Python 2.x, we plan to introduce code that will only be compatible with Python 3.6 and beyond. Python 2.x is no longer supported by the PSF as of January 1st, 2020.
- Python
Published by labkey-alan almost 6 years ago
labkey - 1.3.0
- domain.create() now iterates through its conditional formats and converts instances or lists of QueryFilter to their string format.
- domain.conditional_format() provides a wrapper for creating a conditional format--typically to be used in updating
- Added examples for domain.create, domain.conditional_format, and updating QC state.
- Python
Published by labkey-alan about 6 years ago
labkey - 0.6.0
- Support apikey in utils.createserver_context.
- Support verifyssl in utils.createserver_context. Thanks to @pescobar for this contribution.
- Remove SafeTLSAdapter in favor of normal TLS convention.
- Improve exception messaging when raising ServerContextError.
- Python
Published by labkey-nicka almost 9 years ago