Skip to content

Releases: replicate/replicate-python

0.15.4

09 Oct 11:43
cc1c767
Compare
Choose a tag to compare

What's Changed

  • Lazily instantiate underlying client by @mattt in #170

Full Changelog: 0.15.3...0.15.4

0.15.3

05 Oct 19:20
30e4be5
Compare
Choose a tag to compare

What's Changed

  • Don't set Authorization header unless API token is provided by @mattt in #167
  • Add Python 3.12 to CI test matrix by @mattt in #166

Full Changelog: 0.15.2...0.15.3

0.15.2

05 Oct 17:25
f199e7e
Compare
Choose a tag to compare

What's Changed

  • Fix run calls for versions with invalid Cog version by @mattt in #165

Full Changelog: 0.15.1...0.15.2

0.15.1

04 Oct 13:33
6b548ee
Compare
Choose a tag to compare

What's Changed

  • Fix logic for preparing model with no default example by @mattt in #162

Full Changelog: 0.15.0...0.15.1

0.15.0

04 Oct 10:59
f890859
Compare
Choose a tag to compare

Warning

This release was yanked due to a bug. Please upgrade to 0.15.1.

What's Changed

  • Add support for models.get and models.list endpoints by @mattt in #161
    • Add url, description, visibility, and other fields to Model
    • Add owner field to Model and reimplements existing username field to deprecated property that aliases this field
    • Update ModelCollection.get method to fetch information about the named model from Replicate's API
    • Add ModelCollection.list method to fetch public models from Replicate's API
    • Update predictions.create to support creating a prediction by version ID string

Full Changelog: 0.14.0...0.15.0

0.14.0

03 Oct 13:40
e3c8637
Compare
Choose a tag to compare

What's Changed

  • Replace requests with httpx by @mattt in #147
  • Update VSCode settings for Python Tools by @mattt in #158

Full Changelog: 0.13.0...0.14.0

0.13.0

17 Sep 16:11
d9e41ea
Compare
Choose a tag to compare

What's Changed

  • Indicate Python requirements in README by @mattt in #154
  • Add progress property to Prediction by @mattt in #155

Full Changelog: 0.12.0...0.13.0

0.12.0

11 Sep 18:04
c1307ca
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.11.0...0.12.0

0.11.0

07 Aug 11:29
5152c50
Compare
Choose a tag to compare

What's Changed

  • Add metrics field to Prediction by @mattt in #136
  • Update deprecation warnings for Model.predict and Version.predict by @mattt in #137

Full Changelog: 0.10.0...0.11.0

0.10.0

31 Jul 22:30
52f88eb
Compare
Choose a tag to compare

What's Changed

  • Add urls property to Prediction and Training models by @mattt in #128
  • Add Python docstrings for classes, attributes, and methods by @mattt in #129
  • Add packaging type information to pyproject.toml by @mattt in #127
  • Update suggested VSCode extensions and project settings by @mattt in #130
  • Add stream parameter to predictions.create by @mattt in #131

Full Changelog: 0.9.0...0.10.0