Skip to content

v1.7.0

Compare
Choose a tag to compare
@linjiX linjiX released this 29 Jun 16:54

New Features:

  • Support copying and moving data and segment (#748, #753, #777)

    • Add DatasetClient.move_segment and FusionDatasetClient.move_segment (#753)
    • Add DatasetClient.copy_segment and FusionDatasetClient.copy_segment (#757)
    • Add SegmentClient.copy_data (#762)
    • Add SegmentClient.move_data (#766)
  • Support importing data from auth cloud storage (#747, #768, #769, #770)

    • Add AuthData.open and CloudClient.list_auth_data (#763, #773)
    • Add SegmentClient.import_auth_data (#760)
    • Support dataset with AuthData in GAS.upload_dataset (#774)
  • Add special error messages to all attrs in Label and Catalog when the attr does not exist (#731)

  • Add gas auth command to authenticate, list and unset TensorBay account (#672, #681, #684, #693)

  • Support listing and unsetting config in gas config command (#695, #697)

  • The CLI config file format is updated to support multiple profiles better (#638)

  • Add Vector.__abs__ to get the 2-norm of a vector (#674)

  • Add the following basic arithmetic methods for Vector: (#673)

    • Vector.__sub__
    • Vector.__rsub__
    • Vector.__mul__
    • Vector.__rmul__
    • Vector.__truediv__
    • Vector.__floordiv__
  • Add __contains__ method for the following Sequence subclasses (#707, #708):

    • UserSequence
    • NameList
    • SortedNameList
    • DatasetBase
  • Add __eq__ method for UserSequence and UserMapping (#719, #726)

  • Add __reversed__ method for UserSequence (#727)

Bug fixes:

  • Fix the issue that .png files are all missing in RP2K open dataset loader (#714)

Interface adjustment:

  • Use NameSortedList in Sensors to replace NameSortedDict (#704)
  • Rename NamedList to NameList and NameSortedList to SortedNameList (#706)

Improvements:

  • Move lazy evaluation related code to client/lazy.py (#688)
  • Use bisect in NameSortedList to replace SortedDict (#703)
  • Remove sortedcontainers from dependancies (#705)
  • Group version control methods from DatasetClientBase into VersionControlClient (#750)

Performance:

  • Enhance the performance of the following methods: (#675)
    • Polyline2D.uniform_frechet_distance
    • Polyline2D.similarity
  • Override PagingList mixin methods inherited from MutableSequence to enhance its performance (#686)

Documentation:

  • Add docs about copying and moving data and segment (#761, #765)
  • Add docs about importing data from auth cloud storage (#756)
  • Add docs about gas auth and gas config (#696, #702)
  • Fix typos in docs (#679)
  • Refine the docs (#700, #736, #725, #754)

Deprecations:

  • The setting access key feature in CLI gas config is deprecated, please use gas auth (#689)
  • Remove the deprecated method get_segment_by_name (#698)