Skip to content

Commit

Permalink
chore: Upgrade 0.9.3 (paradedb#1603)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebasedming authored Aug 28, 2024
1 parent 877f88e commit 968ca25
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 30 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cargo-paradedb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-paradedb"
version = "0.9.2"
version = "0.9.3"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ ENV POSTHOG_API_KEY=${POSTHOG_API_KEY} \
COMMIT_SHA=${COMMIT_SHA} \
PARADEDB_TELEMETRY=${PARADEDB_TELEMETRY}

RUN git clone --branch v0.1.1 https://github.com/paradedb/pg_analytics.git /tmp/pg_analytics/
RUN git clone --branch v0.1.2 https://github.com/paradedb/pg_analytics.git /tmp/pg_analytics/

# Build the extension
WORKDIR /tmp/pg_analytics
Expand Down
27 changes: 27 additions & 0 deletions docs/changelog/0.9.3.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: 0.9.3
---

## pg_search

### Bug Fixes

- Fixed a bug where `score_bm25` tuple visibility checker was causing crashes

## pg_analytics

### Bug Fixes

- Fixed a bug where the Postgres search path was not being respected for foreign tables

### New Features

- Introduced the option to configure columns when creating a foreign table

## ParadeDB

- ParadeDB docs have been rebranded to match the new color scheme

## Full Changelog

The full changelog is available [here](https://github.com/paradedb/paradedb/releases/tag/v0.9.3).
14 changes: 7 additions & 7 deletions docs/deploy/pg_analytics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,45 +22,45 @@ are using a different version of Postgres or a different operating system, you w
```bash Ubuntu 24.04
# Available Postgres version are 14, 15, 16
# Available arch versions are amd64, arm64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.1/postgresql-16-pg-analytics_0.1.1-1PARADEDB-noble_amd64.deb" -o /tmp/pg_analytics.deb
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.2/postgresql-16-pg-analytics_0.1.2-1PARADEDB-noble_amd64.deb" -o /tmp/pg_analytics.deb
sudo apt-get install -y /tmp/*.deb
```

```bash Ubuntu 22.04
# Available Postgres version are 14, 15, 16
# Available arch versions are amd64, arm64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.1/postgresql-16-pg-analytics_0.1.1-1PARADEDB-jammy_amd64.deb" -o /tmp/pg_analytics.deb
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.2/postgresql-16-pg-analytics_0.1.2-1PARADEDB-jammy_amd64.deb" -o /tmp/pg_analytics.deb
sudo apt-get install -y /tmp/*.deb
```

```bash Debian 12
# Available Postgres version are 14, 15, 16
# Available arch versions are amd64, arm64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.1/postgresql-16-pg-analytics_0.1.1-1PARADEDB-bookworm_amd64.deb" -o /tmp/pg_analytics.deb
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.2/postgresql-16-pg-analytics_0.1.2-1PARADEDB-bookworm_amd64.deb" -o /tmp/pg_analytics.deb
sudo apt-get install -y /tmp/*.deb
```

```bash RHEL 9
# Available Postgres version are 14, 15, 16
# Available arch versions are x86_64, aarch64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.1/pg_analytics_16-0.1.1-1PARADEDB.el9.x86_64.rpm" -o /tmp/pg_analytics.rpm
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.2/pg_analytics_16-0.1.2-1PARADEDB.el9.x86_64.rpm" -o /tmp/pg_analytics.rpm
sudo dnf install -y /tmp/*.rpm
```

```bash RHEL 8
# Available Postgres version are 14, 15, 16
# Available arch versions are x86_64, aarch64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.1/pg_analytics_16-0.1.1-1PARADEDB.el8.x86_64.rpm" -o /tmp/pg_analytics.rpm
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.1.2/pg_analytics_16-0.1.2-1PARADEDB.el8.x86_64.rpm" -o /tmp/pg_analytics.rpm
sudo dnf install -y /tmp/*.rpm
```

</CodeGroup>

Note: You can replace `v0.1.1` with the `pg_analytics` version you wish to install, and `16` with the version of Postgres you are using.
Note: You can replace `v0.1.2` with the `pg_analytics` version you wish to install, and `16` with the version of Postgres you are using.

## Building from Source

Please follow these [instructions](https://github.com/paradedb/paradedb/tree/v0.1.1/pg_analytics#installation).
Please follow these [instructions](https://github.com/paradedb/paradedb/tree/v0.1.2/pg_analytics#installation).

# Update `postgresql.conf`

Expand Down
14 changes: 7 additions & 7 deletions docs/deploy/pg_search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,45 +32,45 @@ are using a different version of Postgres or a different operating system, you w
```bash Ubuntu 24.04
# Available Postgres version are 14, 15, 16
# Available arch versions are amd64, arm64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.2/postgresql-16-pg-search_0.9.2-1PARADEDB-noble_amd64.deb" -o /tmp/pg_search.deb
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.3/postgresql-16-pg-search_0.9.3-1PARADEDB-noble_amd64.deb" -o /tmp/pg_search.deb
sudo apt-get install -y /tmp/*.deb
```

```bash Ubuntu 22.04
# Available Postgres version are 14, 15, 16
# Available arch versions are amd64, arm64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.2/postgresql-16-pg-search_0.9.2-1PARADEDB-jammy_amd64.deb" -o /tmp/pg_search.deb
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.3/postgresql-16-pg-search_0.9.3-1PARADEDB-jammy_amd64.deb" -o /tmp/pg_search.deb
sudo apt-get install -y /tmp/*.deb
```

```bash Debian 12
# Available Postgres version are 14, 15, 16
# Available arch versions are amd64, arm64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.2/postgresql-16-pg-search_0.9.2-1PARADEDB-bookworm_amd64.deb" -o /tmp/pg_search.deb
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.3/postgresql-16-pg-search_0.9.3-1PARADEDB-bookworm_amd64.deb" -o /tmp/pg_search.deb
sudo apt-get install -y /tmp/*.deb
```

```bash RHEL 9
# Available Postgres version are 14, 15, 16
# Available arch versions are x86_64, aarch64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.2/pg_search_16-0.9.2-1PARADEDB.el9.x86_64.rpm" -o /tmp/pg_search.rpm
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.3/pg_search_16-0.9.3-1PARADEDB.el9.x86_64.rpm" -o /tmp/pg_search.rpm
sudo dnf install -y /tmp/*.rpm
```

```bash RHEL 8
# Available Postgres version are 14, 15, 16
# Available arch versions are x86_64, aarch64
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.2/pg_search_16-0.9.2-1PARADEDB.el8.x86_64.rpm" -o /tmp/pg_search.rpm
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.9.3/pg_search_16-0.9.3-1PARADEDB.el8.x86_64.rpm" -o /tmp/pg_search.rpm
sudo dnf install -y /tmp/*.rpm
```

</CodeGroup>

Note: You can replace `v0.9.2` with the `pg_search` version you wish to install, and `16` with the version of Postgres you are using.
Note: You can replace `v0.9.3` with the `pg_search` version you wish to install, and `16` with the version of Postgres you are using.

## Building from Source

Please follow these [instructions](https://github.com/paradedb/paradedb/tree/v0.9.2/pg_search#installation).
Please follow these [instructions](https://github.com/paradedb/paradedb/tree/v0.9.3/pg_search#installation).

# Update `postgresql.conf`

Expand Down
10 changes: 5 additions & 5 deletions docs/deploy/upgrading.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ SELECT extversion FROM pg_extension WHERE extname = 'pg_analytics';
Because `pg_search`, `pg_analytics`, and `pgvector` are independent extensions, they each have their own versions.
For the latest available version, please refer to the respective Github repos:

1. [`pg_search`](https://github.com/paradedb/paradedb/releases) is on version `0.9.2`
2. [`pg_analytics`](https://github.com/paradedb/pg_analytics/blob/main/pg_analytics.control) is on version `0.1.1`
1. [`pg_search`](https://github.com/paradedb/paradedb/releases) is on version `0.9.3`
2. [`pg_analytics`](https://github.com/paradedb/pg_analytics/blob/main/pg_analytics.control) is on version `0.1.2`
3. [`pgvector`](https://github.com/pgvector/pgvector/tags) is on version `0.7.4`

## Updating ParadeDB Docker Image
Expand All @@ -40,11 +40,11 @@ to `latest` to pull the latest Docker image.
docker pull paradedb/paradedb:<version_number>
```

The latest version of the Docker image should be `0.9.2`. Then, run the following commands to upgrade all extensions to their latest version.
The latest version of the Docker image should be `0.9.3`. Then, run the following commands to upgrade all extensions to their latest version.

```sql
ALTER EXTENSION pg_search UPDATE TO '0.9.2';
ALTER EXTENSION pg_analytics UPDATE TO '0.1.1';
ALTER EXTENSION pg_search UPDATE TO '0.9.3';
ALTER EXTENSION pg_analytics UPDATE TO '0.1.2';
ALTER EXTENSION pgvector UPDATE TO '0.7.4';
```

Expand Down
3 changes: 2 additions & 1 deletion docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"url": "changelog"
}
],
"versions": ["v0.9.2"],
"versions": ["v0.9.3"],
"navigation": [
{
"group": "Welcome",
Expand Down Expand Up @@ -171,6 +171,7 @@
{
"group": "Changelog",
"pages": [
"changelog/0.9.3",
"changelog/0.9.2",
"changelog/0.9.1",
"changelog/0.9.0",
Expand Down
4 changes: 2 additions & 2 deletions pg_search/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pg_search"
description = "Full text search for PostgreSQL using BM25"
version = "0.9.2"
version = "0.9.3"
edition = "2021"
license = "AGPL-3.0"

Expand Down Expand Up @@ -30,7 +30,7 @@ json5 = "0.4.1"
libc = "0.2.152"
memoffset = "0.9.0"
once_cell = "1.18.0"
tokenizers = { version = "0.9.2", path = "../tokenizers" }
tokenizers = { version = "0.9.3", path = "../tokenizers" }
pgrx = "0.12.1"
reqwest = "0.11.22"
rustc-hash = "1.1.0"
Expand Down
1 change: 1 addition & 0 deletions pg_search/sql/pg_search--0.9.2--0.9.3.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\echo Use "ALTER EXTENSION pg_search UPDATE TO '0.9.3'" to load this file. \quit
2 changes: 1 addition & 1 deletion shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "shared"
description = "Shared code for ParadeDB crates"
version = "0.9.2"
version = "0.9.3"
edition = "2021"
license = "AGPL-3.0"

Expand Down
2 changes: 1 addition & 1 deletion tokenizers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tokenizers"
version = "0.9.2"
version = "0.9.3"
edition = "2021"

[features]
Expand Down

0 comments on commit 968ca25

Please sign in to comment.