diff --git a/website/docs/installation.md b/website/docs/installation.md index 83ff13d..ccc8f62 100644 --- a/website/docs/installation.md +++ b/website/docs/installation.md @@ -17,22 +17,17 @@ This page contains the detailed requirements and installation instructions for a ## Hardware requirements -The Hyper API only supports 64-bit platforms. -It has the following minimum hardware requirements: +The Hyper API only supports 64-bit platforms. It has the following minimum hardware requirements: -- Intel Nehalem or AMD Bulldozer processor or newer +- Intel Nehalem, Apple Silicon or AMD Bulldozer processor or newer - 2 GB memory - 1.5 GB minimum free disk space -```mdx-code-block -import { AppleSiliconWorkarounds } from "@site/src/components/AppleSiliconWorkarounds.tsx"; - - -``` ## Supported platforms -- macOS 10.13 or newer +- macOS 10.13 or newer (for Intel) +- macOS 13.0 or newer (for Apple Silicon) - Microsoft Windows 8 or newer (64-bit) - Microsoft Windows Server 2016, 2012, 2012 R2, 2008 R2, 2019 - Ubuntu 18.04 LTS, 20.04 LTS and 22.04 LTS diff --git a/website/docs/releases.md b/website/docs/releases.md index ff5b8ee..927e709 100644 --- a/website/docs/releases.md +++ b/website/docs/releases.md @@ -12,10 +12,8 @@ import {config} from '@site/src/config'; ```mdx-code-block import {DownloadPicker} from '@site/src/components/DownloadPicker' -import { AppleSiliconWorkarounds } from "@site/src/components/AppleSiliconWorkarounds.tsx"; - ``` ## Release Notes @@ -34,6 +32,7 @@ In case you are wondering why all our releases start with `0.0`, read [this FAQ * A `CAST(… AS double precision)` is needed to store such columns in older file formats. * Documented the new and improved [database file format version 3](hyper-api/hyper_process#version-3) that was introduced in version 0.0.16123. The new format supports 128-bit numerics. Refer to [Hyper Database Settings](/docs/hyper-api/hyper_process#default_database_version) for more information. * Documented the [regexp_replace](sql/scalar_func/string_matching#regex-functions) function which provides substitution of new text for substrings based on POSIX regular expressions. +* Added native support for Apple Silicon processors (aarch64) for macOS 13.0 or newer :::warning Queries using `REAL`, `FLOAT4`, or `FLOAT(p)` with `p <= 24` are now treated as 32-bit floating points. @@ -41,6 +40,8 @@ This can lead to different results due to the reduced precision of 32-bit floati To preserve the old behavior, you need to use the types `DOUBLE PRECISION`, `FLOAT8`, or `FLOAT(p)` with `p >= 25`. These continue to be treated as 64-bit floating points. ::: + + ### 0.0.18825 [March 6, 2024] * Updated OpenSSL version from 3.1.4 to 3.2.1 diff --git a/website/src/components/AppleSiliconWorkarounds.tsx b/website/src/components/AppleSiliconWorkarounds.tsx deleted file mode 100644 index e774df8..0000000 --- a/website/src/components/AppleSiliconWorkarounds.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import React from 'react'; -import Admonition from '@theme/Admonition'; - -export function AppleSiliconWorkarounds() { - return ( - - If you are on Apple Silicon (Apple M1, Apple M2, ...), you will currently need workarounds, as described - below. -
- Apple Silicon Workarounds -
-

- Hyper API runs on Apple Silicon only with{' '} - Rosetta 2 instead of natively. You will - have to install Rosetta 2 before installing Hyper API. -

-

- Furthermore, this means that Hyper API can only be used from within other x86 programs, running - under Rosetta. In particular for Python and Java, this means that the Python interpreter/Java - runtime needs to run with Rosetta, too. -

-

- To do so, either install the Intel-only version of the Python/Java interpreter, or prefix your - call with arch -x86_64. E.g., for Python, you can use: -

-
-                        arch -x86_64 /usr/bin/python3 -m pip install tableauhyperapi
-                        
- arch -x86_64 /usr/bin/python3 your_script.py -
-
-
-
- ); -} diff --git a/website/src/components/DownloadPicker/index.tsx b/website/src/components/DownloadPicker/index.tsx index ce9a6a4..2fae63d 100644 --- a/website/src/components/DownloadPicker/index.tsx +++ b/website/src/components/DownloadPicker/index.tsx @@ -41,13 +41,22 @@ export function DownloadPicker() { > diff --git a/website/src/config.ts b/website/src/config.ts index 3a0494c..ac9c272 100644 --- a/website/src/config.ts +++ b/website/src/config.ts @@ -13,7 +13,11 @@ export const config = { macos_cxx: `${downloadBaseUrl}/tableauhyperapi-cxx-macos-x86_64-release-main.${version_long}.zip`, macos_java: `${downloadBaseUrl}/tableauhyperapi-java-macos-x86_64-release-main.${version_long}.zip`, - linux_py: `${downloadBaseUrl}/tableauhyperapi-${version_short}-py3-none-manylinux2014_x86_64.whl`, + macos_arm_py: `${downloadBaseUrl}/tableauhyperapi-${version_short}-py3-none-macosx_13_0_arm64.whl`, + macos_arm_cxx: `${downloadBaseUrl}/tableauhyperapi-cxx-macos-arm64-release-main.${version_long}.zip`, + macos_arm_java: `${downloadBaseUrl}/tableauhyperapi-java-macos-arm64-release-main.${version_long}.zip`, + + linux_py: `${downloadBaseUrl}/tableauhyperapi-${version_short}-py3-none-macosx_13_0_arm64.whl`, linux_cxx: `${downloadBaseUrl}/tableauhyperapi-cxx-linux-x86_64-release-main.${version_long}.zip`, linux_java: `${downloadBaseUrl}/tableauhyperapi-java-linux-x86_64-release-main.${version_long}.zip`,