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

VER: Release 0.22.0 #64

Merged
merged 4 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
31 changes: 11 additions & 20 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ jobs:
args: --release --target universal2-apple-darwin --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheel-macos-${{ matrix.python-version }}
path: dist

windows-release:
Expand Down Expand Up @@ -127,9 +127,9 @@ jobs:
args: --release --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheel-windows-${{ matrix.python-version }}
path: dist

linux-release:
Expand Down Expand Up @@ -171,9 +171,9 @@ jobs:
args: --release --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheel-linux-${{ matrix.python-version }}
path: dist

linux-musl-release:
Expand Down Expand Up @@ -215,9 +215,9 @@ jobs:
args: --release --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheel-linux-musl-${{ matrix.python-version }}
path: dist

publish-py:
Expand All @@ -231,9 +231,9 @@ jobs:
linux-musl-release,
]
steps:
- uses: actions/download-artifact@v3
with:
name: wheels
- uses: actions/download-artifact@v4
pattern: wheel-*
merge-multiple: true
# Install publish dependencies
- name: Install publish dependencies
run: python -m pip install --upgrade twine
Expand All @@ -245,15 +245,6 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: twine upload *

- name: Upload to release
uses: actions/upload-artifact@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: wheels
path: "*"
upload_url: ${{ needs.tag-release.outputs.upload_url }}

publish-rs:
runs-on: ubuntu-latest
needs:
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.22.0 - 2024-10-01

### Enhancements
- Added Python type stubs for Record `__init__` methods

### Breaking changes
- Combine `_reserved3` and `_reserved4` fields in `CbboMsg`
- Changed setters for `char` Record fields to accept a single-character strings
- Changed `rtype` and `length` to no longer be settable from Python. Users should
use the Record type `__init__` methods to initialize records

### Bug fixes
- Added missing Python type stub for `CMBP_1` variant in `Schema`

## 0.21.0 - 2024-09-24

### Enhancements
Expand Down
10 changes: 5 additions & 5 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.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resolver = "2"
[workspace.package]
authors = ["Databento <[email protected]>"]
edition = "2021"
version = "0.21.0"
version = "0.22.0"
documentation = "https://docs.databento.com"
repository = "https://github.com/databento/dbn"
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "databento-dbn"
version = "0.21.0"
version = "0.22.0"
description = "Python bindings for encoding and decoding Databento Binary Encoding (DBN)"
authors = ["Databento <[email protected]>"]
license = "Apache-2.0"
Expand All @@ -17,7 +17,7 @@ build-backend = "maturin"

[project]
name = "databento-dbn"
version = "0.21.0"
version = "0.22.0"
authors = [
{ name = "Databento", email = "[email protected]" }
]
Expand Down
Loading
Loading