Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Nov 21, 2024
1 parent 84657c3 commit d525588
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

This is the changelog for arro3. pyo3-arrow has a separate changelog.

## [0.4.3] - 2024-11-21

### What's Changed

- Build wheels for Python 3.13 by @kylebarron in https://github.com/kylebarron/arro3/pull/260
- Raise RuntimeWarning when compiled in debug mode by @kylebarron in https://github.com/kylebarron/arro3/pull/255
- Add `Buffer.to_bytes` by @kylebarron in https://github.com/kylebarron/arro3/pull/251
- Make buffers have a length by @martindurant in https://github.com/kylebarron/arro3/pull/252

## New Contributors

- @martindurant made their first contribution in https://github.com/kylebarron/arro3/pull/252

**Full Changelog**: https://github.com/kylebarron/arro3/compare/py-v0.4.2...py-0.4.3

## [0.4.2] - 2024-10-14

### What's Changed
Expand Down
2 changes: 1 addition & 1 deletion arro3-core/python/arro3/core/_core.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class Buffer:
def __init__(self, buffer) -> None: ...
def __buffer__(self, flags: int) -> memoryview: ...
def __len__(self) -> int: ...
def as_bytes(self) -> bytes:
def to_bytes(self) -> bytes:
"""Copy this buffer into a Python `bytes` object."""

class ChunkedArray:
Expand Down
2 changes: 1 addition & 1 deletion pyo3-arrow/src/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl PyArrowBuffer {
buf
}

fn as_bytes<'py>(&'py self, py: Python<'py>) -> Bound<'py, PyBytes> {
fn to_bytes<'py>(&'py self, py: Python<'py>) -> Bound<'py, PyBytes> {
PyBytes::new_bound(py, &self.0)
}

Expand Down

0 comments on commit d525588

Please sign in to comment.