From 48339b7809a5ef67620f5ea4736370f7266873fe Mon Sep 17 00:00:00 2001 From: William Ayd Date: Wed, 21 Aug 2024 14:46:04 -0400 Subject: [PATCH] 5.0.0 release (#325) --- doc/source/changelog.rst | 37 +++++++++++++++++++++++++++++++++++++ doc/source/conf.py | 2 +- newsfragments/280.feat | 3 --- newsfragments/285.feature | 1 - newsfragments/287.fix | 2 -- pyproject.toml | 2 +- src/pantab/__init__.py | 2 +- 7 files changed, 40 insertions(+), 9 deletions(-) delete mode 100644 newsfragments/280.feat delete mode 100644 newsfragments/285.feature delete mode 100644 newsfragments/287.fix diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index fe6df756..1aeff352 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -1,5 +1,42 @@ Changelog ^^^^^^^^^ + +Pantab 5.0.0 (2024-08-21) +========================= + +New Features +------------ + +Support for Apple Silicon +~~~~~~~~~~~~~~~~~~~~~~~~~ + +As one of our most requested features, we are happy to announce that pantab now runs natively on Apple Silicon processors without having to use Rosetta 2. This provides significant performance and usability improvements to macOS users with M1 chips or newer. For users of Intel chips, pantab still distributes an x86 wheel. + +New Data Type Support +~~~~~~~~~~~~~~~~~~~~~ + +With the 5.0.0 release, pantab now supports writing decimal data types, akin to those offered by the `decimal `_ module built into Python. For users that need precise calculations, these are highly encouraged over floating point data types. + +Speaking of floating point...pantab now also offers support for single point precision types. Previously, single point precision values were cast to double point precision when being written to Hyper; now the types can be fully roundtripped. + +Faster Datetime Writes +~~~~~~~~~~~~~~~~~~~~~~ + +In the 5.0.0 release, the performance when writing datetime types (both timezone-aware and timezone-naive) has been improved by about 20%. + +Other Features +-------------- + +- pantab no longer generates a hyperd.log file (#292) +- pantab now defaults to producing Hyper files using database version 4 (#313) +- Improved error message when trying to write an unsupported data type to hyper (#293) +- NumPy is no longer required when building pantab (#315) + +Bugfixes +-------- + +- Fixed issue on Unix systems where an incompatible binary installed via the tableauhyperapi package could interfere with the version bundled into pantab (#302). In theory, this issue may still affect Windows users (see #318) + Pantab 4.1.0 (2024-04-02) ========================= diff --git a/doc/source/conf.py b/doc/source/conf.py index 7a78e335..5b9ca581 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -5,7 +5,7 @@ project = "pantab" copyright = "2019-2024, Will Ayd, innobi, LLC" author = "Will Ayd, innobi, LLC" -release = "4.1.0" +release = "5.0.0" # -- General configuration --------------------------------------------------- diff --git a/newsfragments/280.feat b/newsfragments/280.feat deleted file mode 100644 index 0bfc0517..00000000 --- a/newsfragments/280.feat +++ /dev/null @@ -1,3 +0,0 @@ -Adds support for writing DataFrames/Tables that have 8 bit integers. Hyper does -not have an 8 bit integer data type, so it will be converted to a 16 bit integer -upon writing. diff --git a/newsfragments/285.feature b/newsfragments/285.feature deleted file mode 100644 index 04103b9b..00000000 --- a/newsfragments/285.feature +++ /dev/null @@ -1 +0,0 @@ -pantab now offers more informative error messages when trying to write an unsupported data type diff --git a/newsfragments/287.fix b/newsfragments/287.fix deleted file mode 100644 index 203ca3c6..00000000 --- a/newsfragments/287.fix +++ /dev/null @@ -1,2 +0,0 @@ -pantab could fail to import if tableauhyperapi is below the recommended -version. diff --git a/pyproject.toml b/pyproject.toml index ff4511de..3b7eeea5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "scikit_build_core.build" [project] name = "pantab" -version = "4.1.0" +version = "5.0.0" description = "Converts pandas DataFrames into Tableau Hyper Extracts and back" license = {file = "LICENSE.txt"} readme = "README.md" diff --git a/src/pantab/__init__.py b/src/pantab/__init__.py index e7f1e0b9..27a009ef 100644 --- a/src/pantab/__init__.py +++ b/src/pantab/__init__.py @@ -1,4 +1,4 @@ -__version__ = "4.1.0" +__version__ = "5.0.0" from pantab._reader import frame_from_hyper, frame_from_hyper_query, frames_from_hyper