From 08bc1bb317d507b481e1051c9a9a437e908ba46d Mon Sep 17 00:00:00 2001 From: A-Baji Date: Fri, 13 Jan 2023 16:03:32 -0600 Subject: [PATCH 1/3] fix --- pharus/dynamic_api_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pharus/dynamic_api_gen.py b/pharus/dynamic_api_gen.py index c444bc6..e8c6e5b 100644 --- a/pharus/dynamic_api_gen.py +++ b/pharus/dynamic_api_gen.py @@ -131,7 +131,7 @@ def {method_name}() -> dict: ) if re.match( r""" - ^(table|metadata|plot|file|slider| + ^(table|antd-table|metadata|plot|file|slider| dropdown-query|form|basicquery|external|delete).*$""", comp["type"], flags=re.VERBOSE, From edcd1f2444524723f8189c9df8b36c82de39ff48 Mon Sep 17 00:00:00 2001 From: A-Baji Date: Fri, 13 Jan 2023 16:03:49 -0600 Subject: [PATCH 2/3] bump ver --- README.rst | 4 ++-- docker-compose-deploy.yaml | 4 ++-- pharus/server.py | 2 +- pharus/version.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 965e5b3..ca37e95 100644 --- a/README.rst +++ b/README.rst @@ -29,13 +29,13 @@ To start the API server, use the command: .. code-block:: bash - PHARUS_VERSION=0.7.1 docker-compose -f docker-compose-deploy.yaml up -d + PHARUS_VERSION=0.7.2 docker-compose -f docker-compose-deploy.yaml up -d To stop the API server, use the command: .. code-block:: bash - PHARUS_VERSION=0.7.1 docker-compose -f docker-compose-deploy.yaml down + PHARUS_VERSION=0.7.2 docker-compose -f docker-compose-deploy.yaml down References ---------- diff --git a/docker-compose-deploy.yaml b/docker-compose-deploy.yaml index 5f35125..948f341 100644 --- a/docker-compose-deploy.yaml +++ b/docker-compose-deploy.yaml @@ -1,5 +1,5 @@ -# PHARUS_VERSION=0.7.1 docker-compose -f docker-compose-deploy.yaml pull -# PHARUS_VERSION=0.7.1 docker-compose -f docker-compose-deploy.yaml up -d +# PHARUS_VERSION=0.7.2 docker-compose -f docker-compose-deploy.yaml pull +# PHARUS_VERSION=0.7.2 docker-compose -f docker-compose-deploy.yaml up -d # # Intended for production deployment. # Note: You must run both commands above for minimal outage diff --git a/pharus/server.py b/pharus/server.py index 2afec12..f5bf9e4 100644 --- a/pharus/server.py +++ b/pharus/server.py @@ -126,7 +126,7 @@ def api_version() -> str: Content-Type: application/json { - "version": "0.7.1" + "version": "0.7.2" } :statuscode 200: No error. diff --git a/pharus/version.py b/pharus/version.py index 9359be4..35af023 100644 --- a/pharus/version.py +++ b/pharus/version.py @@ -1,2 +1,2 @@ """Package metadata.""" -__version__ = "0.7.1" +__version__ = "0.7.2" From ce80f6d0066c2cff6991e1202cbcf3b7bbabc1ed Mon Sep 17 00:00:00 2001 From: A-Baji Date: Fri, 13 Jan 2023 16:05:22 -0600 Subject: [PATCH 3/3] changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b6c081..851a9c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention. +## [0.7.2] - 2023-01-13 + +### Bugfix + +- Re-add `antd-table` to regex match for dynamic api gen [#150] (https://github.com/datajoint/pharus/pull/150) + ## [0.7.1] - 2023-01-10 ### Bugfix @@ -249,6 +255,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and - Support for DataJoint attribute types: `varchar`, `int`, `float`, `datetime`, `date`, `time`, `decimal`, `uuid`. - Check dependency utility to determine child table references. +[0.7.2]: https://github.com/datajoint/pharus/compare/0.7.1...0.7.2 [0.7.1]: https://github.com/datajoint/pharus/compare/0.7.0...0.7.1 [0.7.0]: https://github.com/datajoint/pharus/compare/0.6.4...0.7.0 [0.6.4]: https://github.com/datajoint/pharus/compare/0.6.3...0.6.4