Skip to content

Commit

Permalink
Prepare for 24.0.0 (#2808)
Browse files Browse the repository at this point in the history
* Create changelog

* Update version

* Update instructions to reflect label_issues.py needs admin

* Update release instructions with notes about the github token

* Update changelog

* update log

Co-authored-by: Ian Joiner <ian.joiner@spaceandtime.io>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
  • Loading branch information
3 people committed Sep 30, 2022
1 parent e2bf158 commit 6477db1
Show file tree
Hide file tree
Showing 18 changed files with 187 additions and 123 deletions.
103 changes: 103 additions & 0 deletions CHANGELOG-old.md

Large diffs are not rendered by default.

126 changes: 40 additions & 86 deletions CHANGELOG.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions arrow-array/Cargo.toml
Expand Up @@ -17,7 +17,7 @@

[package]
name = "arrow-array"
version = "23.0.0"
version = "24.0.0"
description = "Array abstractions for Apache Arrow"
homepage = "https://github.com/apache/arrow-rs"
repository = "https://github.com/apache/arrow-rs"
Expand Down Expand Up @@ -45,9 +45,9 @@ ahash = { version = "0.8", default-features = false, features = ["compile-time-r
ahash = { version = "0.8", default-features = false, features = ["runtime-rng"] }

[dependencies]
arrow-buffer = { version = "23.0.0", path = "../arrow-buffer" }
arrow-schema = { version = "23.0.0", path = "../arrow-schema" }
arrow-data = { version = "23.0.0", path = "../arrow-data" }
arrow-buffer = { version = "24.0.0", path = "../arrow-buffer" }
arrow-schema = { version = "24.0.0", path = "../arrow-schema" }
arrow-data = { version = "24.0.0", path = "../arrow-data" }
chrono = { version = "0.4", default-features = false, features = ["clock"] }
num = { version = "0.4", default-features = false, features = ["std"] }
half = { version = "2.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion arrow-buffer/Cargo.toml
Expand Up @@ -17,7 +17,7 @@

[package]
name = "arrow-buffer"
version = "23.0.0"
version = "24.0.0"
description = "Buffer abstractions for Apache Arrow"
homepage = "https://github.com/apache/arrow-rs"
repository = "https://github.com/apache/arrow-rs"
Expand Down
6 changes: 3 additions & 3 deletions arrow-data/Cargo.toml
Expand Up @@ -17,7 +17,7 @@

[package]
name = "arrow-data"
version = "23.0.0"
version = "24.0.0"
description = "Array data abstractions for Apache Arrow"
homepage = "https://github.com/apache/arrow-rs"
repository = "https://github.com/apache/arrow-rs"
Expand Down Expand Up @@ -45,8 +45,8 @@ force_validate = []

[dependencies]

arrow-buffer = { version = "23.0.0", path = "../arrow-buffer" }
arrow-schema = { version = "23.0.0", path = "../arrow-schema" }
arrow-buffer = { version = "24.0.0", path = "../arrow-buffer" }
arrow-schema = { version = "24.0.0", path = "../arrow-schema" }

num = { version = "0.4", default-features = false, features = ["std"] }
half = { version = "2.0", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions arrow-flight/Cargo.toml
Expand Up @@ -18,7 +18,7 @@
[package]
name = "arrow-flight"
description = "Apache Arrow Flight"
version = "23.0.0"
version = "24.0.0"
edition = "2021"
rust-version = "1.62"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
Expand All @@ -27,7 +27,7 @@ repository = "https://github.com/apache/arrow-rs"
license = "Apache-2.0"

[dependencies]
arrow = { path = "../arrow", version = "23.0.0", default-features = false, features = ["ipc"] }
arrow = { path = "../arrow", version = "24.0.0", default-features = false, features = ["ipc"] }
base64 = { version = "0.13", default-features = false }
tonic = { version = "0.8", default-features = false, features = ["transport", "codegen", "prost"] }
bytes = { version = "1", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion arrow-flight/README.md
Expand Up @@ -27,7 +27,7 @@ Add this to your Cargo.toml:

```toml
[dependencies]
arrow-flight = "23.0.0"
arrow-flight = "24.0.0"
```

Apache Arrow Flight is a gRPC based protocol for exchanging Arrow data between processes. See the blog post [Introducing Apache Arrow Flight: A Framework for Fast Data Transport](https://arrow.apache.org/blog/2019/10/13/introducing-arrow-flight/) for more information.
Expand Down
4 changes: 2 additions & 2 deletions arrow-pyarrow-integration-testing/Cargo.toml
Expand Up @@ -18,7 +18,7 @@
[package]
name = "arrow-pyarrow-integration-testing"
description = ""
version = "23.0.0"
version = "24.0.0"
homepage = "https://github.com/apache/arrow-rs"
repository = "https://github.com/apache/arrow-rs"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
Expand All @@ -32,7 +32,7 @@ name = "arrow_pyarrow_integration_testing"
crate-type = ["cdylib"]

[dependencies]
arrow = { path = "../arrow", version = "23.0.0", features = ["pyarrow"] }
arrow = { path = "../arrow", version = "24.0.0", features = ["pyarrow"] }
pyo3 = { version = "0.17", features = ["extension-module"] }

[package.metadata.maturin]
Expand Down
2 changes: 1 addition & 1 deletion arrow-schema/Cargo.toml
Expand Up @@ -17,7 +17,7 @@

[package]
name = "arrow-schema"
version = "23.0.0"
version = "24.0.0"
description = "Defines the logical types for arrow arrays"
homepage = "https://github.com/apache/arrow-rs"
repository = "https://github.com/apache/arrow-rs"
Expand Down
10 changes: 5 additions & 5 deletions arrow/Cargo.toml
Expand Up @@ -17,7 +17,7 @@

[package]
name = "arrow"
version = "23.0.0"
version = "24.0.0"
description = "Rust implementation of Apache Arrow"
homepage = "https://github.com/apache/arrow-rs"
repository = "https://github.com/apache/arrow-rs"
Expand All @@ -44,10 +44,10 @@ ahash = { version = "0.8", default-features = false, features = ["compile-time-r
ahash = { version = "0.8", default-features = false, features = ["runtime-rng"] }

[dependencies]
arrow-buffer = { version = "23.0.0", path = "../arrow-buffer" }
arrow-data = { version = "23.0.0", path = "../arrow-data" }
arrow-schema = { version = "23.0.0", path = "../arrow-schema" }
arrow-array = { version = "23.0.0", path = "../arrow-array" }
arrow-buffer = { version = "24.0.0", path = "../arrow-buffer" }
arrow-data = { version = "24.0.0", path = "../arrow-data" }
arrow-schema = { version = "24.0.0", path = "../arrow-schema" }
arrow-array = { version = "24.0.0", path = "../arrow-array" }
serde_json = { version = "1.0", default-features = false, features = ["std"], optional = true }
indexmap = { version = "1.9", default-features = false, features = ["std"] }
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"], optional = true }
Expand Down
4 changes: 2 additions & 2 deletions arrow/README.md
Expand Up @@ -35,7 +35,7 @@ This crate is tested with the latest stable version of Rust. We do not currently

The arrow crate follows the [SemVer standard](https://doc.rust-lang.org/cargo/reference/semver.html) defined by Cargo and works well within the Rust crate ecosystem.

However, for historical reasons, this crate uses versions with major numbers greater than `0.x` (e.g. `23.0.0`), unlike many other crates in the Rust ecosystem which spend extended time releasing versions `0.x` to signal planned ongoing API changes. Minor arrow releases contain only compatible changes, while major releases may contain breaking API changes.
However, for historical reasons, this crate uses versions with major numbers greater than `0.x` (e.g. `24.0.0`), unlike many other crates in the Rust ecosystem which spend extended time releasing versions `0.x` to signal planned ongoing API changes. Minor arrow releases contain only compatible changes, while major releases may contain breaking API changes.

## Feature Flags

Expand All @@ -62,7 +62,7 @@ The [Apache Arrow Status](https://arrow.apache.org/docs/status.html) page lists

## Safety

Arrow seeks to uphold the Rust Soundness Pledge as articulated eloquently [here](https://raphlinus.github.io/rust/23.0.01/18/soundness-pledge.html). Specifically:
Arrow seeks to uphold the Rust Soundness Pledge as articulated eloquently [here](https://raphlinus.github.io/rust/24.0.01/18/soundness-pledge.html). Specifically:

> The intent of this crate is to be free of soundness bugs. The developers will do their best to avoid them, and welcome help in analyzing and fixing them
Expand Down
11 changes: 9 additions & 2 deletions dev/release/README.md
Expand Up @@ -71,17 +71,24 @@ git checkout -b make-release

# Copy the content of CHANGELOG.md to the beginning of CHANGELOG-old.md

# ensure your github token is available
export ARROW_GITHUB_API_TOKEN=<TOKEN>

# manully edit ./dev/release/update_change_log.sh to reflect the release version
# create the changelog
CHANGELOG_GITHUB_TOKEN=<TOKEN> ./dev/release/update_change_log.sh
./dev/release/update_change_log.sh

# run automated script to copy labels to issues based on referenced PRs
# (NOTE this must be done by a committer / other who has
# write access to the repository)
python dev/release/label_issues.py

# review change log / edit issues and labels if needed, rerun
git commit -a -m 'Create changelog'


# update versions
sed -i '' -e 's/14.0.0/23.0.0/g' `find . -name 'Cargo.toml' -or -name '*.md' | grep -v CHANGELOG.md`
sed -i '' -e 's/14.0.0/24.0.0/g' `find . -name 'Cargo.toml' -or -name '*.md' | grep -v CHANGELOG.md`
git commit -a -m 'Update version'
```

Expand Down
6 changes: 3 additions & 3 deletions dev/release/update_change_log.sh
Expand Up @@ -29,8 +29,8 @@

set -e

SINCE_TAG="22.0.0"
FUTURE_RELEASE="23.0.0"
SINCE_TAG="23.0.0"
FUTURE_RELEASE="24.0.0"

SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SOURCE_TOP_DIR="$(cd "${SOURCE_DIR}/../../" && pwd)"
Expand Down Expand Up @@ -72,7 +72,7 @@ mv "${OLD_OUTPUT_PATH}".tmp "${OLD_OUTPUT_PATH}"
# use exclude-tags-regex to filter out tags used for object_store
# crates and only only look at tags that DO NOT begin with `object_store_`
pushd "${SOURCE_TOP_DIR}"
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN="$CHANGELOG_GITHUB_TOKEN" -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator \
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN="$ARROW_GITHUB_API_TOKEN" -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator \
--user apache \
--project arrow-rs \
--cache-file=.githubchangeloggenerator.cache \
Expand Down
2 changes: 1 addition & 1 deletion integration-testing/Cargo.toml
Expand Up @@ -18,7 +18,7 @@
[package]
name = "arrow-integration-testing"
description = "Binaries used in the Arrow integration tests"
version = "23.0.0"
version = "24.0.0"
homepage = "https://github.com/apache/arrow-rs"
repository = "https://github.com/apache/arrow-rs"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
Expand Down
6 changes: 3 additions & 3 deletions parquet/Cargo.toml
Expand Up @@ -17,7 +17,7 @@

[package]
name = "parquet"
version = "23.0.0"
version = "24.0.0"
license = "Apache-2.0"
description = "Apache Parquet implementation in Rust"
homepage = "https://github.com/apache/arrow-rs"
Expand All @@ -41,7 +41,7 @@ zstd = { version = "0.11.1", optional = true, default-features = false }
chrono = { version = "0.4", default-features = false, features = ["alloc"] }
num = { version = "0.4", default-features = false }
num-bigint = { version = "0.4", default-features = false }
arrow = { path = "../arrow", version = "23.0.0", optional = true, default-features = false, features = ["ipc"] }
arrow = { path = "../arrow", version = "24.0.0", optional = true, default-features = false, features = ["ipc"] }
base64 = { version = "0.13", default-features = false, features = ["std"], optional = true }
clap = { version = "3", default-features = false, features = ["std", "derive", "env"], optional = true }
serde_json = { version = "1.0", default-features = false, features = ["std"], optional = true }
Expand All @@ -61,7 +61,7 @@ flate2 = { version = "1.0", default-features = false, features = ["rust_backend"
lz4 = { version = "1.23", default-features = false }
zstd = { version = "0.11", default-features = false }
serde_json = { version = "1.0", features = ["std"], default-features = false }
arrow = { path = "../arrow", version = "23.0.0", default-features = false, features = ["ipc", "test_utils", "prettyprint", "json"] }
arrow = { path = "../arrow", version = "24.0.0", default-features = false, features = ["ipc", "test_utils", "prettyprint", "json"] }

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 2 additions & 2 deletions parquet_derive/Cargo.toml
Expand Up @@ -17,7 +17,7 @@

[package]
name = "parquet_derive"
version = "23.0.0"
version = "24.0.0"
license = "Apache-2.0"
description = "Derive macros for the Rust implementation of Apache Parquet"
homepage = "https://github.com/apache/arrow-rs"
Expand All @@ -35,4 +35,4 @@ proc-macro = true
proc-macro2 = { version = "1.0", default-features = false }
quote = { version = "1.0", default-features = false }
syn = { version = "1.0", default-features = false }
parquet = { path = "../parquet", version = "23.0.0" }
parquet = { path = "../parquet", version = "24.0.0" }
4 changes: 2 additions & 2 deletions parquet_derive/README.md
Expand Up @@ -32,8 +32,8 @@ Add this to your Cargo.toml:

```toml
[dependencies]
parquet = "23.0.0"
parquet_derive = "23.0.0"
parquet = "24.0.0"
parquet_derive = "24.0.0"
```

and this to your crate root:
Expand Down
6 changes: 3 additions & 3 deletions parquet_derive_test/Cargo.toml
Expand Up @@ -17,7 +17,7 @@

[package]
name = "parquet_derive_test"
version = "23.0.0"
version = "24.0.0"
license = "Apache-2.0"
description = "Integration test package for parquet-derive"
homepage = "https://github.com/apache/arrow-rs"
Expand All @@ -29,6 +29,6 @@ publish = false
rust-version = "1.62"

[dependencies]
parquet = { path = "../parquet", version = "23.0.0", default-features = false }
parquet_derive = { path = "../parquet_derive", version = "23.0.0", default-features = false }
parquet = { path = "../parquet", version = "24.0.0", default-features = false }
parquet_derive = { path = "../parquet_derive", version = "24.0.0", default-features = false }
chrono = { version="0.4.19", default-features = false, features = [ "clock" ] }

0 comments on commit 6477db1

Please sign in to comment.