Skip to content

Commit

Permalink
release 0.4.0 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
crflynn authored May 19, 2022
1 parent 8cd95f2 commit 9bdfacc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 2022-05-19 - 0.4.0

* Breaking: pbspark now encodes the well known type `Timestamp` to spark `TimestampType` by default.
* Bugfix: protobuf bytes now properly convert to spark BinaryType
* Bugfix: message decoding now properly works by populating the passed message instance rather than returning a new one
* protobuf objects are now patched only temporarily when being used by pbspark
* Timestamp conversion now references protobuf well known type objects rather than objects copied from protobuf to pbspark
* Modify the encoding function to convert udf-passed Row objects to dictionaries before passing to the parser.
* Documentation fixes and more details on custom encoders.

## 2022-04-19 - 0.3.0

* Breaking: protobuf bytes fields will now convert directly to spark ByteType and vice versa.
Expand Down
2 changes: 1 addition & 1 deletion pbspark/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.0"
__version__ = "0.4.0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pbspark"
version = "0.3.0"
version = "0.4.0"
description = "Convert between protobuf messages and pyspark dataframes"
authors = ["flynn <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 9bdfacc

Please sign in to comment.