Skip to content

1.2

Compare
Choose a tag to compare
@erlendvollset erlendvollset released this 01 Oct 15:37
· 1340 commits to master since this release
7b5bb9a

[1.2.0] - 2019-10-01

Added

  • Support for authenticating with bearer tokens. Can now supply a jwt or jwt-factory to CogniteClient. This token will override any api-key which has been set.

[1.1.12] - 2019-10-01

Fixed

  • Fixed a bug in time series pagination where getting 100k datapoints could cause a missing id error when using include_outside_points.
  • SequencesData to_pandas no longer returns NaN on integer zero columns.
  • Fixed a bug where the JSON encoder would throw circular reference errors on unknown data types, including numpy floats.

[1.1.11] - 2019-09-23

Fixed

  • Fix testing.CogniteClientMock so it is possible to get attributes on child which have not been explicitly in the CogniteClientMock constructor

[1.1.10] - 2019-09-23

Fixed

  • Fix testing.CogniteClientMock so it is possible to get child mock not explicitly defined

Added

  • list and __call__ methods for events now support list parameters for root_asset_ids, root_asset_external_ids.

[1.1.9] - 2019-09-20

Changed

  • Renamed testing.mock_cognite_client to testing.monkeypatch_cognite_client

Added

  • testing.CogniteClientMock object

[1.1.8] - 2019-09-19

Added

  • Support for aggregated properties of assets.
  • Asset and AssetList classes now have a sequences function which retrieves related sequences.
  • Support for partitioned listing of assets and events.

Changed

  • list and __call__ methods for assets now support list parameters for root_ids, root_external_ids.
  • Sequences API no longer supports column ids, all relevant functions have been changed to only use external ids.

Fixed

  • Fixed a bug in time series pagination where getting 100k dense datapoints would cause a missing id error.
  • Sequences retrieve functions fixed to match API change, to single item per retrieve.
  • Sequences retrieve/insert functions fixed to match API change to take lists of external ids.

[1.1.7] - 2019-09-13

Fixed

  • testing.mock_cognite_client() so that it still accepts arguments after exiting from mock context.

[1.1.6] - 2019-09-12

Fixed

  • testing.mock_cognite_client() so that the mocked CogniteClient may accept arguments.

[1.1.5] - 2019-09-12

Added

  • Method files.download_to_path for streaming a file to a specific path

[1.1.4] - 2019-09-12

Added

  • root_asset_ids parameter for time series list.

Changed

  • Formatted output in jupyter notebooks for SequenceData.
  • retrieve_latest function in theDatapoints API extended to support more than 100 items.
  • Log requests at DEBUG level instead of INFO.

[1.1.3] - 2019-09-05

Changed

  • Disabled automatic handling of cookies on the requests session objects

Fixed

  • to_pandas method on CogniteResource in the case of objects without metadata

[1.1.2] - 2019-08-28

Added

  • limit parameter on sequence data retrieval.
  • Support for relationships exposed through experimental client.
  • end parameter of sequence.data retrieval and range delete accepts -1 to indicate last index of sequence.

Changed

  • Output in jupyter notebooks is now pandas-like by default, instead of outputting long json strings.

Fixed

  • id parameters and timestamps now accept any integer type including numpy.int64, so values from dataframes can be passed directly.
  • Compatibility fix for renaming of sequences cursor and start/end parameters in the API.

[1.1.1] - 2019-08-23

Added

  • complete parameter on datapoints.retrieve_dataframe, used for forward-filling/interpolating intervals with missing data.
  • include_aggregate_names option on datapoints.retrieve_dataframe and DatapointsList.to_pandas, used for removing the |<aggregate-name> postfix on dataframe column headers.
  • datapoints.retrieve_dataframe_dict function, which returns {aggregate:dataframe} without adding aggregate names to columns
  • source_created_time and source_modified_time support for files