Content-Length: 5211 | pFad | http://github.com/postgresml/postgresml/pull/996.patch
thub.com
From d0694cc15988c94416ac076f06ef219ee4855258 Mon Sep 17 00:00:00 2001
From: SilasMarvin <19626586+SilasMarvin@users.noreply.github.com>
Date: Thu, 7 Sep 2023 09:36:14 -0700
Subject: [PATCH 1/2] Ready to move to 0.9.2
---
pgml-sdks/pgml/Cargo.lock | 2 +-
pgml-sdks/pgml/Cargo.toml | 2 +-
pgml-sdks/pgml/javascript/README.md | 8 ++++++++
pgml-sdks/pgml/javascript/package.json | 2 +-
pgml-sdks/pgml/pyproject.toml | 2 +-
pgml-sdks/pgml/python/README.md | 9 +++++++++
6 files changed, 21 insertions(+), 4 deletions(-)
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..68650f760 100644
--- a/pgml-sdks/pgml/javascript/README.md
+++ b/pgml-sdks/pgml/javascript/README.md
@@ -578,6 +578,14 @@ 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()
+```
+
## 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..3f96959c9 100644
--- a/pgml-sdks/pgml/python/README.md
+++ b/pgml-sdks/pgml/python/README.md
@@ -589,6 +589,15 @@ 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()
+```
+
## Developer Setup
This Python library is generated from our core rust-sdk. Please check [rust-sdk documentation](../README.md) for developer setup.
From 74ee26101f53f4f782286a9dadca4400d267e483 Mon Sep 17 00:00:00 2001
From: SilasMarvin <19626586+SilasMarvin@users.noreply.github.com>
Date: Thu, 7 Sep 2023 09:39:17 -0700
Subject: [PATCH 2/2] Clarified README
---
pgml-sdks/pgml/javascript/README.md | 2 ++
pgml-sdks/pgml/python/README.md | 2 ++
2 files changed, 4 insertions(+)
diff --git a/pgml-sdks/pgml/javascript/README.md b/pgml-sdks/pgml/javascript/README.md
index 68650f760..63b6c41a8 100644
--- a/pgml-sdks/pgml/javascript/README.md
+++ b/pgml-sdks/pgml/javascript/README.md
@@ -586,6 +586,8 @@ Changes between SDK versions are not necessarily backwards compatible. We provid
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/python/README.md b/pgml-sdks/pgml/python/README.md
index 3f96959c9..c2b3f0b0c 100644
--- a/pgml-sdks/pgml/python/README.md
+++ b/pgml-sdks/pgml/python/README.md
@@ -598,6 +598,8 @@ 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.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy