Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 0.9.1 #3831

Merged
merged 28 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a3ed1ac
Add 0.9.1 to CHANGELOG.md
emilk Oct 12, 2023
4d66522
Bump versions to 0.9.1-rc.1
rerun-bot Oct 12, 2023
f1c324f
Fix release workflow (#3689)
jprochazk Oct 12, 2023
b02bb5e
Add scary warning that default recording_id = authkey (#3799)
teh-cmc Oct 12, 2023
3616ea2
Bump versions to 0.9.1-rc.2
rerun-bot Oct 12, 2023
b7c8121
Merge branch 'main' into release-0.9.1
jprochazk Oct 12, 2023
09f8fab
Merge branch 'main' into release-0.9.1
jprochazk Oct 12, 2023
bc6c4de
Bump versions to 0.9.1
rerun-bot Oct 12, 2023
4f46d2b
Merge branch 'main' into release-0.9.1
jprochazk Oct 12, 2023
c3b3420
Merge branch 'main' into release-0.9.1
jprochazk Oct 12, 2023
f639f31
Bump versions to 0.9.1-rc.1
rerun-bot Oct 12, 2023
d94b1d8
Bump versions to 0.9.1-rc.2
rerun-bot Oct 12, 2023
13f4b31
Bump versions to 0.9.1-rc.3
rerun-bot Oct 12, 2023
b16527e
Merge branch 'main' into release-0.9.1
jprochazk Oct 12, 2023
5637647
update changelog
jprochazk Oct 12, 2023
547a91f
Bump versions to 0.9.1-rc.4
rerun-bot Oct 12, 2023
e806786
install taplo before versioning
jprochazk Oct 12, 2023
3d4e159
remove newlines
jprochazk Oct 12, 2023
2e235a4
improve pr output
jprochazk Oct 12, 2023
c657bd3
cspell: allow `Sonoma`
jprochazk Oct 12, 2023
20d7d27
remove `...`
jprochazk Oct 12, 2023
00fa796
Bump versions to 0.9.1
rerun-bot Oct 12, 2023
7168e31
node18 -> node20
jprochazk Oct 12, 2023
59b2f46
comment with artifact links on success
jprochazk Oct 12, 2023
586a421
make post-release version bump always happen in the release pr
jprochazk Oct 12, 2023
2388be5
bump to `0.10.0-alpha.1+dev`
jprochazk Oct 12, 2023
2198da2
bump to `alpha.7`
jprochazk Oct 12, 2023
6a447bc
Merge branch 'main' into release-0.9.1
jprochazk Oct 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/deploy-vercel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ inputs:
required: true

runs:
using: "node18"
using: "node20"
main: "index.mjs"

108 changes: 64 additions & 44 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ jobs:
run: |
python3 -m pip install -r ./scripts/ci/requirements-crates.txt

# for `taplo fmt` done in `crates.py version --bump`
- name: Install taplo-cli
uses: taiki-e/install-action@v2
with:
tool: taplo-cli

- name: Update crate versions
id: versioning
run: |
Expand Down Expand Up @@ -128,20 +134,24 @@ jobs:
echo "PR does not exist, creating…"

cat <<EOF > pr-body.txt
# Release ${{ steps.versioning.outputs.final }}

### Next steps
- [Test the release](#testing)
- Test the release
- If this is an `alpha` release, you can just merge the pull request.
- Otherwise:
- For any added commits, run the release workflow in `rc` mode again
- After testing, run the release workflow in `release` mode
- Once the final release workflow finishes, [create a GitHub release](https://github.com/rerun-io/rerun/releases/new)

- [ ] Tests
- [ ] Windows
- [ ] Linux
- [ ] MacOS
EOF

gh pr create \
--base main \
--head $(git branch --show-current) \
--title "Release ${{ (inputs.release-type == 'alpha' && steps.versioning.outputs.current) || steps.versioning.outputs.final }}" \
--label "⛴ release" \
--label "exclude from changelog" \
--fill \
Expand Down Expand Up @@ -210,9 +220,9 @@ jobs:
git checkout ${{ github.ref_name }}
git push --force origin ${{ github.ref_name }}:latest

alpha-version-bump:
name: "Alpha Version Bump"
if: inputs.release-type == 'alpha'
post-release-version-bump:
name: "Post-Release Version Bump"
if: inputs.release-type == 'alpha' || inputs.release-type == 'final'
needs: [version, update-docs, publish-crates, build-and-publish-wheels, build-and-publish-web]
runs-on: ubuntu-latest
steps:
Expand All @@ -225,12 +235,25 @@ jobs:
run: |
python3 -m pip install -r scripts/ci/requirements-crates.txt

# After an alpha release, we bump the prerelease version and append `+dev`.
# for `taplo fmt` done in `crates.py version --bump`
- name: Install taplo-cli
uses: taiki-e/install-action@v2
with:
tool: taplo-cli

- name: Update version
id: update-version
run: |
python3 scripts/ci/crates.py version --bump prerelease --dev
echo "version=$(python3 scripts/ci/crates.py get-version)" >> "$GITHUB_OUTPUT"
if [ ${{ inputs.release-type }} = "final" ]; then
# After a final release, we bump the minor version and append `+dev`.
python3 scripts/ci/crates.py version --bump prerelease --dev --pre-id=alpha
echo "version=$(python3 scripts/ci/crates.py get-version)" >> "$GITHUB_OUTPUT"
else
# After an alpha release, we bump the prerelease version and append `+dev`.
python3 scripts/ci/crates.py version --bump minor
python3 scripts/ci/crates.py version --bump prerelease --dev --pre-id=alpha
echo "version=$(python3 scripts/ci/crates.py get-version)" >> "$GITHUB_OUTPUT"
fi

- name: Commit new version
run: |
Expand All @@ -239,54 +262,51 @@ jobs:
git commit -am "Bump versions to ${{ steps.update-version.outputs.version }}"
git push

final-version-bump:
name: "Post-release Version Bump"
if: inputs.release-type == 'final'
comment-artifact-links:
name: "Link to artifacts"
needs: [version, update-docs, publish-crates, build-and-publish-wheels, build-and-publish-web]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
token: ${{ secrets.RERUN_BOT_TOKEN }}

- name: Install dependencies
run: |
python3 -m pip install -r scripts/ci/requirements-crates.txt

# After a release, we bump the minor version and append `+dev`.
- name: Update version
id: update-version
run: |
python3 scripts/ci/crates.py version --bump minor --dev
echo "version=$(python3 scripts/ci/crates.py get-version)" >> "$GITHUB_OUTPUT"

- name: Commit new version
id: commit-version
run: |
branch_name="bump-${{ steps.update-version.outputs.version }}"
git checkout -b $branch_name
git commit -am "Bump versions to ${{ steps.update-version.outputs.version }}"
git push -u origin $branch_name
echo "branch=$branch_name" >> "$GITHUB_OUTPUT"

- name: Create pull request
- name: Create comment
env:
GH_TOKEN: ${{ secrets.RERUN_BOT_TOKEN }}
run: |
cat <<EOF > pr-body.txt
### What
pr_number=$(gh pr view --json number | jq '.number')

- [x] Bump all crate versions to `${{ steps.update-version.outputs.version }}`
if [ ${{ inputs.release-type }} = "final" ]; then
web_app_link="https://app.rerun.io/version/${{ needs.version.outputs.final }}"
rerun_io_docs_link="https://rerun.io/docs"
py_docs_link="https://ref.rerun.io/docs/python/${{ needs.version.outputs.final }}"
else
web_app_link="https://app.rerun.io/commit/${{ needs.version.outputs.release-commit }}"
rerun_io_docs_link="https://rerun.io/preview/${{ needs.version.outputs.release-commit }}/docs"
py_docs_link="https://ref.rerun.io/docs/python/dev"
fi
wheels_link="https://pypi.org/project/rerun-sdk/${{ needs.version.outputs.current }}"
crates_link="https://crates.io/crates/rerun/${{ needs.version.outputs.current }}"
rs_docs_link="https://docs.rs/rerun/${{ needs.version.outputs.current }}"

pip_install="pip install rerun-sdk==${{ needs.version.outputs.current }}"
cargo_install="cargo install rerun-cli@${{ needs.version.outputs.current }}"

cat <<EOF > comment-body.txt
Version ${{ needs.version.outputs.current }} published sucessfully.

| artifact | install |
| --------------------------- | -------------- |
| [web app]($web_app_link) | |
| [wheels]($wheels_link) | $pip_install |
| [crates]($crates_link) | $cargo_install |
| [docs]($rerun_io_docs_link) | |
| [py docs]($py_docs_link) | |
| [rs docs]($rs_docs_link) | |
EOF

gh pr create \
--base main \
--head ${{ steps.commit-version.outputs.branch }} \
--label "⛴ release" \
--label "exclude from changelog" \
--fill \
--body-file pr-body.txt
gh pr comment $pr_number --body-file comment-body.txt --edit-last

5 changes: 0 additions & 5 deletions .github/workflows/reusable_deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@ jobs:
with:
ref: ${{ inputs.RELEASE_COMMIT || (github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.sha) }}

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18

- name: Re-deploy rerun.io
uses: ./.github/actions/deploy-vercel
with:
Expand Down
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,67 @@
## [Unreleased](https://github.com/rerun-io/rerun/compare/latest...HEAD)


## [0.9.1](https://github.com/rerun-io/rerun/compare/0.9.0...0.9.1) - Bug fixes and performance improvements - 2023-10-12

[Rerun](https://www.rerun.io/) is an easy-to-use visualization toolbox for computer vision and robotics.

* Python: `pip install rerun-sdk`
* Rust: `cargo add rerun` and `cargo install rerun-cli`
* Online demo: <https://app.rerun.io/version/0.9.1/>

### Overview & Highlights
- A bunch of bug fixes
- Fix big performance regression when hovering images
- The Rerun Viewer should now be visible to the system accessibility system

#### 🐍 Python SDK
- Added support for PyTorch array to `Boxes2D`'s `array` convenience argument [#3719](https://github.com/rerun-io/rerun/pull/3719)
- Fix default stroke width handling in `log_line_strip_Xd` and `log_obbs` [#3720](https://github.com/rerun-io/rerun/pull/3720)
- Warn/raise when passing incompatible objects to `log` [#3727](https://github.com/rerun-io/rerun/pull/3727)
- Refactor `rerun.AnyValues` to handle `None` input more gracefully [#3725](https://github.com/rerun-io/rerun/pull/3725)
- Default `DisconnectedSpaces` boolean to `true` in Python [#3760](https://github.com/rerun-io/rerun/pull/3760)

#### 🦀 Rust SDK
- Fix return type of `entity_path!()` and `entity_path_vec!()` on empty input [#3734](https://github.com/rerun-io/rerun/pull/3734) (thanks [@kpreid](https://github.com/kpreid)!)
- Export `RecordingStreamError` [#3777](https://github.com/rerun-io/rerun/pull/3777)

#### 🪳 Bug Fixes
- Fix bug when joining cleared optional components [#3726](https://github.com/rerun-io/rerun/pull/3726)
- Update `winit` to 0.28.7 to fix UI glitch on macOS Sonoma [#3763](https://github.com/rerun-io/rerun/pull/3763)
- Show 1D-tensors as bar charts [#3769](https://github.com/rerun-io/rerun/pull/3769)
- Fix loading of `.obj` mesh files [#3772](https://github.com/rerun-io/rerun/pull/3772)
- Fix crash when loading huge image [#3775](https://github.com/rerun-io/rerun/pull/3775)
- Fix performance regression when viewing images and tensors [#3767](https://github.com/rerun-io/rerun/pull/3767)

#### 🌁 Viewer Improvements
- Turn on `AccessKit` accessibility integration [#3732](https://github.com/rerun-io/rerun/pull/3732)
- Display space views using `ViewCoordinates` from closest ancestor [#3748](https://github.com/rerun-io/rerun/pull/3748)
- Improve 3D view bounds handling of camera frustums [#3749](https://github.com/rerun-io/rerun/pull/3749) [#3815](https://github.com/rerun-io/rerun/pull/3815) [#3811](https://github.com/rerun-io/rerun/pull/3811)
- Improve heuristics around 2D vs 3D space-view creation [#3822](https://github.com/rerun-io/rerun/pull/3822)

#### 🚀 Performance Improvements
- Optimize gathering of point cloud colors [#3730](https://github.com/rerun-io/rerun/pull/3730)

#### 🧑‍🏫 Examples
- Fix open photogrammetry example not working on Windows [#3705](https://github.com/rerun-io/rerun/pull/3705)

#### 📚 Docs
- Document that entity-path `rerun/` is reserved [#3747](https://github.com/rerun-io/rerun/pull/3747)

#### 🖼 UI Improvements
- Show all entities/components in the Streams UI, even if empty for the selected timeline [#3779](https://github.com/rerun-io/rerun/pull/3779)

#### 🧑‍💻 Dev-experience
- Less automatic `build.rs` shenanigans [#3814](https://github.com/rerun-io/rerun/pull/3814)

#### 🗣 Refactors
- Refactor our `build.rs` files [#3789](https://github.com/rerun-io/rerun/pull/3789)

#### 📦 Dependencies
- Update `ewebsock` to 0.4.0 [#3729](https://github.com/rerun-io/rerun/pull/3729)
- Update `winit` to 0.28.7 [#3763](https://github.com/rerun-io/rerun/pull/3763)


## [0.9.0](https://github.com/rerun-io/rerun/compare/0.8.2...0.9.0) - New logging API - 2023-10-05

[Rerun](https://www.rerun.io/) is an easy-to-use visualization toolbox for computer vision and robotics.
Expand Down
Loading
Loading