Skip to content

Changelog

[1.10.0] - 2024-11-07

Added

  • Added the possibility to request Ngram explanations

[1.9.7] - 2024-11-07

Fixed

  • Changed logic for using prediction server service URL to be more open ended about when we are using the datarobot-nginx hostname

[1.9.6] - 2024-11-04

Added

  • Added logic to make datarobot-predict work natively in custom apps by using a prediction server service URL

[1.9.5] - 2024-10-15

Fixed

  • Unstructured predictions failed with 406 on Serverless Prediction Environments.

[1.9.4] - 2024-10-09

Fixed

  • CVE-2024-47554 in default batch-processor.jar

[1.9.3] - 2024-09-25

Changed

  • Increase the number of max retries for deployment predictions to 5.

[1.9.2] - 2024-09-16

Fixed

  • Remove requirement for supported python version to be 3.12 or below.

[1.9.1] - 2024-09-04

Fixed

  • Scoring Code predictions could fail in some situations where text features includes unexpected quote characters.

[1.9.0] - 2024-06-25

Added

  • Deployment predictions are now retried in case the server return 502, 503 or 504.

[1.8.4] - 2024-06-20

Added

  • ScoringCodeJavaError now have message and class_name to allow catching different type of errors.

[1.8.3] - 2024-05-13

Fixed

  • Fixed compatibility with newer Scoring Code jars.

[1.8.2] - 2024-04-03

Fixed

  • Scoring Code functionality is broken in 1.8.0 and 1.8.1 because required files were not included during build.

[1.8.1] - 2024-03-25

Fixed

  • Fixed a bug with deployments backed by the Datarobot Servless platform type.

[1.8.0] - 2024-03-14

Added

  • Passthrough columns are now supported for Scoring Code and deployment predictions.

[1.7.1] - 2024-03-07

Fixed

  • Precision of floating point numbers could be lost when transferring data from Python to Java in some situations.

[1.7.0] - 2024-02-27

Added

  • Unstructured deployment predictions can now automatically convert to/from pandas DataFrame if a DataFrame is passed as request data.

[1.6.3] - 2024-02-06

Fixed

  • Deployment predictions could return the index column from the input dataframe as a column named Unnamed: 0.

[1.6.2] - 2024-02-05

Fixed

  • Version 1.6.0, 1.6.1 failed during import on Python 3.10 and later.

[1.6.1] - 2024-02-02

Changed

  • Changed som internals used during testing.
  • Removed parameters used during testing from ScoringCodeModel.

[1.6.0] - 2023-12-19

Added

  • The libray version is now available as datarobot_predict.__version__.
  • The Py4J gateway in ScoringCodeModel can now be shut down either by using ScoringCodeModel as a context manager or by manually calling shutdown().

Fixed

  • Py4J exceptions raised from Java Scoring Code could be queried for information after the Py4J gateway had been shut down.

[1.5.2] - 2023-11-24

Changed

  • Internal changes that makes it easier to override ScoringCodeModel to customize behavior.

[1.5.1] - 2023-10-20

Fixed

  • Scoring Code on Spark would fail on Spark 3.5.

[1.5.0] - 2023-10-05

Changed

  • Deployment predict functions now returns PredictionResult instead of just pd.DataFrame.

[1.4.0] - 2023-09-25

Added

  • Deployment predictions have been added.

Changed

  • Moved TimeSeriesType enum to datarobot_predict root module.

[1.3.3] - 2023-09-06

Fixed

  • Scoring could fail on Windows because of text encoding issues.

[1.3.2] - 2023-09-06

Fixed

  • Time series scoring of a small valid series could be skipped if the number of rows are less than the feature derivation window.

[1.3.1] - 2023-06-21

Fixed

  • Line ending for streaming pandas DataFrame to Java on Windows.

[1.3.0] - 2023-06-19

Added

  • Scoring Code PySpark API is feature complete.

Changed

  • The library is now tested on Python 3.7 in CI jobs to make sure that it is supported.
  • Py4J dependency relaxed to >=0.10.7, <1.0

Fixed

  • Spark scoring would fail on some versions of Spark with AttributeError: 'SparkSession' object has no attribute '_conf'.
  • Instantiation of SparkScoringCodeModel and Spark scoring would fail on Spark 2.x.
  • Py4J detection failed on Databricks in some situations.

[1.2.0] - 2023-05-31

Added

  • Partial implementation of Scoring Code PySpark API.

Fixed

  • The library would fail to run on Python 3.7 because cached_property was being used.

[1.1.0] - 2023-04-28

Changed

  • Changed Scoring Code backend to improve performance. Scoring is now performed in batches, utilizing multiple threads.
  • The underlying Java to Python bridge is changed from JPype to Py4J. This should provide better stability as the JVM is running in an external process.

Fixed

  • Scoring of Cross-Series Time Series models would fail.

[1.0.3] - 2023-04-12

Changed

  • License changed to Apache 2.

[1.0.2] - 2023-04-12

Changed

  • The version required for the dependency click was relaxed to >=7,<9 .

[1.0.1] - 2023-02-03

Fixed

  • Internal CI job didn't work properly.

[1.0.0] - 2023-02-01

Added

  • Initial release