Evidence collection
v0.17.0-evidences-98.json 1e232306
Collected 3 months ago
Release notes
Changelog
[0.17.0] - 2025-01-14
Added
- New setup extra
test
which installs the dependencies for testing. - The Container class has a new member function
filter_by_identity
which is based on_filter_entity_list
. - The
Entity
properties_cuid
and_flags
are now available for read-only access ascuid
andflags
, respectively.
Changed
- Renamed the
filter
function of Container, ParentList and PropertyList tofilter_by_identity
.
Deprecated
-
ParentList.filter
andPropertyList.filter
functions, usefilter_by_identity
instead.
Removed
- Support for Python 3.8
Fixed
-
#73
Entity.to_xml
now detects potentially infinite recursion and prevents an error -
#89
to_xml
does not addnoscript
orTransactionBenchmark
tags anymore -
#103
authentication/interface/on_response()
does not overwriteauth_token
if new value isNone
- #119 The diff returned by compare_entities now uses id instead of name as key if either property does not have a name
-
#87
XMLSyntaxError
messages when parsing (incomplete) responses in case of certain connection timeouts. The diff returned by compare_entities now uses id instead of name as key if either property does not have a name -
#127
pylinkahead.ini now supports None and tuples as values for the
timeout
keyword
Evidence collection
v0.16.0-evidences-92.json cecc2864
Collected 5 months ago
Release notes
Changelog
[0.16.0] - 2024-11-13
Added
-
ParentList
andPropertyList
now have afilter
function that allows to select a subset of the contained elements by ID and/or name. - Official support for Python 3.13
- Added arguments to
describe_diff
that allow customizing the labels for the 'old' and the 'new' diffs. - Optional
realm
argument forlinkahead_admin.py set_user_password
which defaults toNone
, i.e., the server's default realm.
Changed
-
compare_entities
is now case insensitive with respect to property and recordtype names -
_ParentList
is now calledParentList
-
_Properties
is now calledPropertyList
-
ParentList.remove
is now case insensitive when a name is used.
Deprecated
- the use of the arguments
old_entity
andnew_entity
incompare_entities
is now deprecated. Please useentity0
andentity1
respectively instead.
Fixed
-
gitlab.indiscale.com#200
linkahead_admin.py
prints reasonable error messages when users or roles don't exist.
Evidence collection
v0.15.1-evidences-84.json 0fabffaa
Collected 7 months ago
Release notes
Changelog
[0.15.1] - 2024-08-21
Deprecated
-
connection.get_username
. Usela.Info().user_info.name
instead.
Fixed
-
#128
Assign
datetime.date
ordatetime.datetime
values toDATETIME
properties.
Documentation
- Added docstrings for
linkahead.models.Info
andlinkahead.models.UserInfo
.
Evidence collection
v0.15.0-evidences-80.json 53821a70
Collected 9 months ago
Release notes
Changelog
[0.15.0] - 2024-07-09
Added
- Support for Python 3.12
- The
linkahead
module now opts into type checking and supports mypy. -
#112
Entity.update_acl
now supports optional**kwargs
that are passed to theEntity.update
method that is called internally, thus allowing, e.g., updating the ACL despite possible naming collisions withunique=False
. - a
role
argument forget_entity_by_name
andget_entity_by_id
Changed
- Using environment variable PYLINKAHEADINI instead of PYCAOSDBINI.
Removed
- Support for Python 3.7
Fixed
-
#104 Selecting
parts of a
Container
with aslice
used to return alist
object instead of aContainer
, removing all useful methods of theContainer
class. This has been fixed and using aslice
such as[:2]
now returns a newContainer
. - #120 Unwanted subproperties in reference properties.
Documentation
- Added documentation and a tutorial example for the usage of the
page_length
argument ofexecute_query
.
Evidence collection
v0.14.0-evidences-74.json dcf8138f
Collected 1 year ago
Release notes
Changelog
[0.14.0] - 2024-02-20
Added
-
utils.merge_entities
now has amerge_id_with_resolved_entity
keyword which allows to identify property values with each other in case that one is an id and the other is an Entity with this id. Default isFalse
, so no change to the default behavior. -
apiutils.escape_quoted_text
for escaping text in queries.
Changed
-
cached_query()
now also caches uniqueness related exceptions.
Evidence collection
v0.13.2-evidences-71.json 2bb254b1
Collected 1 year ago
Release notes
Changelog
[0.13.2] - 2023-12-15
Fixed
- #113 Container could fail to delete when there were reference properties.
- HTTP status 431 (Headers too long) now also raises an URI too long exception.
v0.13.1
Historical release
Release notes
Evidence collection
v0.13.0-evidences-66.json 4d3e7048
Collected 1 year ago
Release notes
[0.13.0] - 2023-10-10
Added
- New
page_length
parameter forcaosdb.execute_query
andcaosdb.Query.execute
. See docstrings for more details. -
Entity.remove_value_from_property
function that removes a given value from a property and optionally removes the property if it is empty afterwards.
Changed
-
_Messages
is nowMessages
and inherits from list instead of dict -
Message.__init__
signature changed andtype
defaults to "Info" now. -
Message.__eq__
changed. Equality is equality oftype
,code
, anddescription
now. - Rename from CaosDB to LinkAhead. For proper migration, follow the instructions
in
migration_to_linkahead.md
and check the documentation at docs.indiscale.com.
Deprecated
- The API of Messages has been simplified and some ways to interact with messages have been deprecated. Warnings are raised correspondingly.
-
Message.get_code
. Use thecode
property instead.
Fixed
- Detection for cyclic references when converting entites using the high level API.
Evidence collection
v0.12.0-evidences-60.json 05bc65e1
Collected 1 year ago
Release notes
Changelog
[0.12.0] - 2023-06-02
Added
- Added location argument to
src/caosdb/utils/checkFileSystemConsistency.py
- Entity getters:
get_entity_by_<name/id/path>
- Cached versions of entity getters and of
execute_query
(cached_query
)
Deprecated
- getOriginUrlIn, getDiffIn, getBranchIn, getCommitIn (formerly apiutils) have been moved to caosdb.utils.git_utils
Fixed
- Fixed
src/caosdb/utils/checkFileSystemConsistency.py
Documentation
-
#83 - Improved
documentation on adding REFERENCE properties, both in the docstring of
Entity.add_property
and in the data-insertion tutorial.
Evidence collection
v0.11.2-evidences-52.json eeb1954f
Collected 2 years ago
Release notes
[0.11.2] - 2023-03-14
Fixed
- root logger is no longer used to create warnings. Fixes undesired output in stderr