Skip to content

Commit e3eacb4

Browse files
authored
release tantivy (#2083)
* prerelease * chore: Release
1 parent fdecb79 commit e3eacb4

File tree

9 files changed

+49
-37
lines changed

9 files changed

+49
-37
lines changed

Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tantivy"
3-
version = "0.19.0"
3+
version = "0.20.0"
44
authors = ["Paul Masurel <[email protected]>"]
55
license = "MIT"
66
categories = ["database-implementations", "data-structures"]
@@ -55,13 +55,13 @@ measure_time = "0.8.2"
5555
async-trait = "0.1.53"
5656
arc-swap = "1.5.0"
5757

58-
columnar = { version="0.1", path="./columnar", package ="tantivy-columnar" }
59-
sstable = { version="0.1", path="./sstable", package ="tantivy-sstable", optional = true }
60-
stacker = { version="0.1", path="./stacker", package ="tantivy-stacker" }
61-
query-grammar = { version= "0.19.0", path="./query-grammar", package = "tantivy-query-grammar" }
62-
tantivy-bitpacker = { version= "0.3", path="./bitpacker" }
58+
columnar = { version= "0.1", path="./columnar", package ="tantivy-columnar" }
59+
sstable = { version= "0.1", path="./sstable", package ="tantivy-sstable", optional = true }
60+
stacker = { version= "0.1", path="./stacker", package ="tantivy-stacker" }
61+
query-grammar = { version= "0.20.0", path="./query-grammar", package = "tantivy-query-grammar" }
62+
tantivy-bitpacker = { version= "0.4", path="./bitpacker" }
6363
common = { version= "0.5", path = "./common/", package = "tantivy-common" }
64-
tokenizer-api = { version="0.1", path="./tokenizer-api", package="tantivy-tokenizer-api" }
64+
tokenizer-api = { version= "0.1", path="./tokenizer-api", package="tantivy-tokenizer-api" }
6565
sketches-ddsketch = { version = "0.2.1", features = ["use_serde"] }
6666
futures-util = { version = "0.3.28", optional = true }
6767

RELEASE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Release a new Tantivy Version
2+
3+
## Steps
4+
5+
1. Identify new packages in workspace since last release
6+
2. Identify changed packages in workspace since last release
7+
3. Bump version in `Cargo.toml` and their dependents for all changed packages
8+
4. Update version of root `Cargo.toml`
9+
5. Publish version starting with leaf nodes
10+
6. Set git tag with new version
11+
12+
13+
In conjucation with `cargo-release` Steps 1-4 (I'm not sure if the change detection works):
14+
Set new packages to version 0.0.0
15+
16+
Replace prev-tag-name
17+
```bash
18+
cargo release --workspace --no-publish -v --prev-tag-name 0.19 --push-remote origin minor --no-tag --execute
19+
```
20+
21+
no-tag or it will create tags for all the subpackages

appveyor.yml

-23
This file was deleted.

bitpacker/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tantivy-bitpacker"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2021"
55
authors = ["Paul Masurel <[email protected]>"]
66
license = "MIT"

columnar/Cargo.toml

+8-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,20 @@ name = "tantivy-columnar"
33
version = "0.1.0"
44
edition = "2021"
55
license = "MIT"
6+
homepage = "https://github.com/quickwit-oss/tantivy"
7+
repository = "https://github.com/quickwit-oss/tantivy"
8+
desciption = "column oriented storage for tantivy"
9+
categories = ["database-implementations", "data-structures", "compression"]
610

711
[dependencies]
812
itertools = "0.10.5"
913
fnv = "1.0.7"
1014
fastdivide = "0.4.0"
1115

12-
stacker = { path = "../stacker", package="tantivy-stacker"}
13-
sstable = { path = "../sstable", package = "tantivy-sstable" }
14-
common = { path = "../common", package = "tantivy-common" }
15-
tantivy-bitpacker = { version= "0.3", path = "../bitpacker/" }
16+
stacker = { version= "0.1", path = "../stacker", package="tantivy-stacker"}
17+
sstable = { version= "0.1", path = "../sstable", package = "tantivy-sstable" }
18+
common = { version= "0.5", path = "../common", package = "tantivy-common" }
19+
tantivy-bitpacker = { version= "0.4", path = "../bitpacker/" }
1620
serde = "1.0.152"
1721

1822
[dev-dependencies]

query-grammar/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tantivy-query-grammar"
3-
version = "0.19.0"
3+
version = "0.20.0"
44
authors = ["Paul Masurel <[email protected]>"]
55
license = "MIT"
66
categories = ["database-implementations", "data-structures"]

sstable/Cargo.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ name = "tantivy-sstable"
33
version = "0.1.0"
44
edition = "2021"
55
license = "MIT"
6+
homepage = "https://github.com/quickwit-oss/tantivy"
7+
repository = "https://github.com/quickwit-oss/tantivy"
8+
keywords = ["search", "information", "retrieval", "sstable"]
9+
categories = ["database-implementations", "data-structures", "compression"]
10+
desciption = "sstables for tantivy"
611

712
[dependencies]
8-
common = {path="../common", package="tantivy-common"}
13+
common = {version= "0.5", path="../common", package="tantivy-common"}
914
tantivy-fst = "0.4"
1015
# experimental gives us access to Decompressor::upper_bound
1116
zstd = { version = "0.12", features = ["experimental"] }

stacker/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name = "tantivy-stacker"
33
version = "0.1.0"
44
edition = "2021"
55
license = "MIT"
6+
homepage = "https://github.com/quickwit-oss/tantivy"
7+
repository = "https://github.com/quickwit-oss/tantivy"
8+
description = "term hashmap used for indexing"
69

710
[dependencies]
811
murmurhash32 = "0.3"

tokenizer-api/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ version = "0.1.0"
44
license = "MIT"
55
edition = "2021"
66
description = "Tokenizer API of tantivy"
7+
homepage = "https://github.com/quickwit-oss/tantivy"
8+
repository = "https://github.com/quickwit-oss/tantivy"
79

810
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
911

0 commit comments

Comments
 (0)