Skip to content

Commit d184882

Browse files
authored
Ready to move to 0.9.2 (#996)
1 parent 8c5c456 commit d184882

File tree

6 files changed

+25
-4
lines changed

6 files changed

+25
-4
lines changed

pgml-sdks/pgml/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pgml-sdks/pgml/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pgml"
3-
version = "0.9.1"
3+
version = "0.9.2"
44
edition = "2021"
55
authors = ["PosgresML <team@postgresml.org>"]
66
homepage = "https://postgresml.org/"

pgml-sdks/pgml/javascript/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,16 @@ await collection.remove_pipeline(pipeline)
578578
579579
Removing a Pipeline deletes it and all associated data from the database. Removed Pipelines cannot be re-enabled but can be recreated.
580580
581+
## Upgrading
582+
583+
Changes between SDK versions are not necessarily backwards compatible. We provide a migrate function to help transition smoothly.
584+
585+
```javascript
586+
await pgml.migrate()
587+
```
588+
589+
This will migrate all collections to be compatible with the latest SDK version.
590+
581591
## Developer Setup
582592
583593
This javascript library is generated from our core rust-sdk. Please check [rust-sdk documentation](../README.md) for developer setup.

pgml-sdks/pgml/javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pgml",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "Open Source Alternative for Building End-to-End Vector Search Applications without OpenAI & Pinecone",
55
"keywords": [
66
"postgres",

pgml-sdks/pgml/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "maturin"
55
[project]
66
name = "pgml"
77
requires-python = ">=3.7"
8-
version = "0.9.1"
8+
version = "0.9.2"
99
description = "Python SDK is designed to facilitate the development of scalable vector search applications on PostgreSQL databases."
1010
authors = [
1111
{name = "PostgresML", email = "team@postgresml.org"},

pgml-sdks/pgml/python/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,17 @@ await collection.remove_pipeline(pipeline)
589589

590590
Removing a Pipeline deletes it and all associated data from the database. Removed Pipelines cannot be re-enabled but can be recreated.
591591

592+
## Upgrading
593+
594+
Changes between SDK versions are not necessarily backwards compatible. We provide a migrate function to help transition smoothly.
595+
596+
```python
597+
from pgml import migrate
598+
await migrate()
599+
```
600+
601+
This will migrate all collections to be compatible with the latest SDK version.
602+
592603
## Developer Setup
593604

594605
This Python library is generated from our core rust-sdk. Please check [rust-sdk documentation](../README.md) for developer setup.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy