Content-Length: 3397 | pFad | http://github.com/postgresml/postgresml/pull/996.diff
thub.com
diff --git a/pgml-sdks/pgml/Cargo.lock b/pgml-sdks/pgml/Cargo.lock
index f68e47b68..50ff24dc0 100644
--- a/pgml-sdks/pgml/Cargo.lock
+++ b/pgml-sdks/pgml/Cargo.lock
@@ -1232,7 +1232,7 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"
[[package]]
name = "pgml"
-version = "0.9.1"
+version = "0.9.2"
dependencies = [
"anyhow",
"async-trait",
diff --git a/pgml-sdks/pgml/Cargo.toml b/pgml-sdks/pgml/Cargo.toml
index ca7782fd0..bbf929b94 100644
--- a/pgml-sdks/pgml/Cargo.toml
+++ b/pgml-sdks/pgml/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pgml"
-version = "0.9.1"
+version = "0.9.2"
edition = "2021"
authors = ["PosgresML "]
homepage = "https://postgresml.org/"
diff --git a/pgml-sdks/pgml/javascript/README.md b/pgml-sdks/pgml/javascript/README.md
index 0439e7a93..63b6c41a8 100644
--- a/pgml-sdks/pgml/javascript/README.md
+++ b/pgml-sdks/pgml/javascript/README.md
@@ -578,6 +578,16 @@ await collection.remove_pipeline(pipeline)
Removing a Pipeline deletes it and all associated data from the database. Removed Pipelines cannot be re-enabled but can be recreated.
+## Upgrading
+
+Changes between SDK versions are not necessarily backwards compatible. We provide a migrate function to help transition smoothly.
+
+```javascript
+await pgml.migrate()
+```
+
+This will migrate all collections to be compatible with the latest SDK version.
+
## Developer Setup
This javascript library is generated from our core rust-sdk. Please check [rust-sdk documentation](../README.md) for developer setup.
diff --git a/pgml-sdks/pgml/javascript/package.json b/pgml-sdks/pgml/javascript/package.json
index 551b7156d..118f78b84 100644
--- a/pgml-sdks/pgml/javascript/package.json
+++ b/pgml-sdks/pgml/javascript/package.json
@@ -1,6 +1,6 @@
{
"name": "pgml",
- "version": "0.9.1",
+ "version": "0.9.2",
"description": "Open Source Alternative for Building End-to-End Vector Search Applications without OpenAI & Pinecone",
"keywords": [
"postgres",
diff --git a/pgml-sdks/pgml/pyproject.toml b/pgml-sdks/pgml/pyproject.toml
index db72e5105..f1c3b48fb 100644
--- a/pgml-sdks/pgml/pyproject.toml
+++ b/pgml-sdks/pgml/pyproject.toml
@@ -5,7 +5,7 @@ build-backend = "maturin"
[project]
name = "pgml"
requires-python = ">=3.7"
-version = "0.9.1"
+version = "0.9.2"
description = "Python SDK is designed to facilitate the development of scalable vector search applications on PostgreSQL databases."
authors = [
{name = "PostgresML", email = "team@postgresml.org"},
diff --git a/pgml-sdks/pgml/python/README.md b/pgml-sdks/pgml/python/README.md
index 9eb69e4e8..c2b3f0b0c 100644
--- a/pgml-sdks/pgml/python/README.md
+++ b/pgml-sdks/pgml/python/README.md
@@ -589,6 +589,17 @@ await collection.remove_pipeline(pipeline)
Removing a Pipeline deletes it and all associated data from the database. Removed Pipelines cannot be re-enabled but can be recreated.
+## Upgrading
+
+Changes between SDK versions are not necessarily backwards compatible. We provide a migrate function to help transition smoothly.
+
+```python
+from pgml import migrate
+await migrate()
+```
+
+This will migrate all collections to be compatible with the latest SDK version.
+
## Developer Setup
This Python library is generated from our core rust-sdk. Please check [rust-sdk documentation](../README.md) for developer setup.
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/postgresml/postgresml/pull/996.diff
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy