Skip to content

Commit

Permalink
VER: Release 0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
threecgreen authored Oct 1, 2024
2 parents d1aa0f7 + 7ebfa8c commit 45f38a8
Show file tree
Hide file tree
Showing 11 changed files with 554 additions and 221 deletions.
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 <support@databento.com>"]
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 <support@databento.com>"]
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 = "support@databento.com" }
]
Expand Down
Loading

0 comments on commit 45f38a8

Please sign in to comment.