From d877273021a03ae3622f800a9a885c0fb7a08fd2 Mon Sep 17 00:00:00 2001 From: Miles Richardson Date: Fri, 18 Mar 2022 00:01:18 +0000 Subject: [PATCH] =?UTF-8?q?Bump=20version:=200.3.7=20=E2=86=92=200.3.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- .github/workflows/build_and_test_and_release.yml | 2 +- CHANGELOG.md | 15 +++++++++++++++ docs/api/splitgraph.hooks.data_source.rst | 8 ++++++++ install.sh | 2 +- pyproject.toml | 2 +- splitgraph/__version__.py | 2 +- 7 files changed, 28 insertions(+), 5 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 0de45752..08a5ebb2 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,7 @@ [bumpversion] commit = True tag = True -current_version = 0.3.7 +current_version = 0.3.8 parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+))? serialize = {major}.{minor}.{patch}-{release} diff --git a/.github/workflows/build_and_test_and_release.yml b/.github/workflows/build_and_test_and_release.yml index 326b892f..2c62a549 100644 --- a/.github/workflows/build_and_test_and_release.yml +++ b/.github/workflows/build_and_test_and_release.yml @@ -229,7 +229,7 @@ jobs: - name: Upload multi-file binary.gz as artifact uses: actions/upload-artifact@v2 with: - name: sgr-osx.tgz + name: sgr-osx path: dist/sgr.tgz upload_release: diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e95486c..99d2b801 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## v0.3.8 (2022-03-18) + + * Fix slow startup of `sgr` binary on Mac OS / Darwin (https://github.com/splitgraph/splitgraph/pull/656) + * Add new release artifact `sgr-osx-x86_64.tgz` including executable sgr, shared libraries, and resources + * Change `install.sh` on Darwin to default to the `.tgz` artifact (for previous behavior, set `FORCE_ONEFILE=1`) + * Extract the archive to `~/.splitgraph/pkg/sgr` and symlink `~/.splitgraph/sgr -> ~/.splitgraph/pkg/sgr/sgr` + * Add support for incremental loads to FDW plugins (https://github.com/splitgraph/splitgraph/pull/647) + * Add a `cursor_columns` field to the table parameters of FDW data sources + * Fix bug on Windows where `sgr` failed to locate `.sgconfig` in non-existent `$HOME` directory (https://github.com/splitgraph/splitgraph/pull/651) _Thanks @harrybiddle!_ + * Switch to cross-platform path expansion when adding home directory to config search paths + +Starting from this version, all future releases will include `sgr-osx-x86_64.tgz`, which we recommend installing on Mac OS. The `install.sh` script will default to it. + +Note: if you download an executable directly from this release page, using a web browser, then Mac will quarantine the file and refuse to execute it. Command line HTTP clients like `curl` do not have this limitation, and the recommended installation method is to run the `install.sh` script included as a part of every release. See [the pull request adding `sgr-osx-x86_64.tgz`](https://github.com/splitgraph/splitgraph/pull/656) for more details. + ## v0.3.7 (2022-02-28) * Add Google BigQuery data plugin (https://github.com/splitgraph/splitgraph/pull/638) diff --git a/docs/api/splitgraph.hooks.data_source.rst b/docs/api/splitgraph.hooks.data_source.rst index a2df913c..7832074c 100644 --- a/docs/api/splitgraph.hooks.data_source.rst +++ b/docs/api/splitgraph.hooks.data_source.rst @@ -20,6 +20,14 @@ splitgraph.hooks.data\_source.fdw module :undoc-members: :show-inheritance: +splitgraph.hooks.data\_source.utils module +------------------------------------------ + +.. automodule:: splitgraph.hooks.data_source.utils + :members: + :undoc-members: + :show-inheritance: + Module contents --------------- diff --git a/install.sh b/install.sh index 6bc52eab..89a99af6 100755 --- a/install.sh +++ b/install.sh @@ -12,7 +12,7 @@ set -eo pipefail -SGR_VERSION=${SGR_VERSION-0.3.7} +SGR_VERSION=${SGR_VERSION-0.3.8} INSTALL_DIR=${INSTALL_DIR-$HOME/.splitgraph} # Set IGNORE_SGR_EXISTS to keep going if sgr already exists. # Set SKIP_BINARY=1 to skip downloading sgr diff --git a/pyproject.toml b/pyproject.toml index 8d41f990..db7685a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "splitgraph" -version = "0.3.7" +version = "0.3.8" description = "Command line library and Python client for Splitgraph, a version control system for data" license = "Apache 2.0 modified with Commons Clause" authors = ["Splitgraph Limited"] diff --git a/splitgraph/__version__.py b/splitgraph/__version__.py index 8879c6c7..4ad67eb7 100644 --- a/splitgraph/__version__.py +++ b/splitgraph/__version__.py @@ -1 +1 @@ -__version__ = "0.3.7" +__version__ = "0.3.8"