From e8223c5257ffe396d53f9da9471d08f32c4769a6 Mon Sep 17 00:00:00 2001 From: Chenggang Wu Date: Tue, 18 Oct 2022 16:53:28 +0800 Subject: [PATCH] Update package version number for the v0.1 release (#612) --- CHANGELOG.md | 59 +++++++++++++++++++ sdk/setup.py | 2 +- src/aqueduct-helm/Chart.yaml | 6 +- src/aqueduct-helm/values.yaml | 2 +- src/dockerfiles/Makefile | 2 +- src/dockerfiles/connectors/athena.dockerfile | 2 +- .../connectors/bigquery.dockerfile | 2 +- src/dockerfiles/connectors/mysql.dockerfile | 2 +- .../connectors/postgres.dockerfile | 2 +- src/dockerfiles/connectors/s3.dockerfile | 2 +- .../connectors/snowflake.dockerfile | 2 +- .../connectors/sqlserver.dockerfile | 2 +- .../function/function310.dockerfile | 2 +- .../function/function37.dockerfile | 2 +- .../function/function38.dockerfile | 2 +- .../function/function39.dockerfile | 2 +- .../lambda/function/requirements-37.txt | 2 +- .../lambda/function/requirements.txt | 2 +- src/dockerfiles/lambda/requirements.txt | 2 +- src/golang/lib/constants.go | 2 +- src/python/bin/aqueduct | 12 ++-- src/python/requirements.txt | 2 +- src/python/setup.py | 2 +- src/ui/app/package.json | 4 +- src/ui/common/package-lock.json | 4 +- src/ui/common/package.json | 2 +- 26 files changed, 93 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7adb4a7ce..5a559022a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,64 @@ # Changelog +## 0.1.0 +Released on October 18, 2022. + +### Key Features +* Updates the UI to provide a simplified, more responsive layout and surface + more information about workflow execution. + * Adds details pages for operators, artifacts, checks, and metrics which + show the history and metadata (e.g., code preview, historical values) + for the relevant object. + * Replaces old sidesheets with preview of the details pages when clicking + on a node in the workflow DAG. + * Adds narrower, simplified navigation sidebar as well as breadcrumbs to + simplify navigation. + * Makes page layout more responsive to narrow screens. +* Adds Helm chart to deploy Aqueduct on Kubernetes servers; when running in + Kubernetes, there's a new integration mechanism to connect Aqueduct to the + current Kubernetes server that uses an in-cluster client rather than + `kubeconfig` file. +* When switching Aqueduct metadata stores from local to cloud-hosted, + automigrates all data to cloud storage. + +### Enhancements +* Allows operators to have multiple output artifacts. You can specify the + number of by using the `num_outputs` argument to the `@op` decorator. +```python +import aqueduct as aq + +@aq.op(num_outputs=3) +def multi_output: + return 1, 2, 3 + +a, b, c = multi_output() +``` +* Enables modifying version history retention policy from the settings pane of + the workflow page. +* Adds documentation link to menu sidebar. +* Detects when SDK and server version are mismatched and surfaces an error when + creating SDK client. +* Allows `publish_flow` to accept both a single artifact or a list of multiple + artifacts in the `artifacts` parameter. +* Moves retention policy parameter from `publish_flow` to `FlowConfig` object. + +### Bugfixes +* Fixes bug where tuple return types in operators were not returned correctly. +* Sets minimum version requirements on `pydantic` and `typing-extensions`; + older versions caused inexplicable and confusing bugs. +* Fixes bug where CSV upload dialog didn't show all rows in data upload + preview. +* Fixes bug where parameters and checks were marked as canceled when there were + invalid inputs. +* Fixes bug where Aqueduct logo was cut off on the welcome page on small + screens. +* Fixes bug where long `stdout` or `stderr` logs were truncated on the UI. +* Fixes bug where SQLite inserts would fail because of an argument limit for + older versions of SQLite. +* Fixes bug where running Aqueduct operators in temporary environments (e.g., + IPython interpreter, VSCode notebooks) would fail because the operator + source file would not be detectable. + ## 0.0.16 Released on September 26, 2022. diff --git a/sdk/setup.py b/sdk/setup.py index 9b58f3f3c..4b33ec2f5 100644 --- a/sdk/setup.py +++ b/sdk/setup.py @@ -18,7 +18,7 @@ setuptools.setup( name="aqueduct-sdk", - version="0.0.16", + version="0.1.0", author="Aqueduct, Inc.", author_email="hello@aqueducthq.com", description="Python SDK for the Aqueduct prediction infrastructure", diff --git a/src/aqueduct-helm/Chart.yaml b/src/aqueduct-helm/Chart.yaml index 864ce93e6..6425ab95c 100644 --- a/src/aqueduct-helm/Chart.yaml +++ b/src/aqueduct-helm/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: aqueduct-helm -description: A Helm chart for Kubernetes +description: Helm chart for deploying Aqueduct on Kubernetes # A chart can be either an 'application' or a 'library' chart. # @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.16 +version: 0.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.0.16" +appVersion: "0.1.0" diff --git a/src/aqueduct-helm/values.yaml b/src/aqueduct-helm/values.yaml index 881018f10..8347829fb 100644 --- a/src/aqueduct-helm/values.yaml +++ b/src/aqueduct-helm/values.yaml @@ -8,7 +8,7 @@ image: repository: aqueducthq/aqueduct-py38 pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "0.0.16" + tag: "0.1.0" imagePullSecrets: [] nameOverride: "" diff --git a/src/dockerfiles/Makefile b/src/dockerfiles/Makefile index d1bd74bf8..ad2818f63 100644 --- a/src/dockerfiles/Makefile +++ b/src/dockerfiles/Makefile @@ -1,5 +1,5 @@ .DEFAULT_GOAL = all -VERSION = 0.0.16 +VERSION = 0.1.0 # By default, turn off the Makefile practice of printing each command before # you run it. diff --git a/src/dockerfiles/connectors/athena.dockerfile b/src/dockerfiles/connectors/athena.dockerfile index 3f42fa63c..2c1ca2c4f 100644 --- a/src/dockerfiles/connectors/athena.dockerfile +++ b/src/dockerfiles/connectors/athena.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.0.16 +FROM aqueducthq/base_connector:0.1.0 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/bigquery.dockerfile b/src/dockerfiles/connectors/bigquery.dockerfile index 1eea2194d..3f83a89bf 100644 --- a/src/dockerfiles/connectors/bigquery.dockerfile +++ b/src/dockerfiles/connectors/bigquery.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.0.16 +FROM aqueducthq/base_connector:0.1.0 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/mysql.dockerfile b/src/dockerfiles/connectors/mysql.dockerfile index ac8b36d71..8a2dceec5 100644 --- a/src/dockerfiles/connectors/mysql.dockerfile +++ b/src/dockerfiles/connectors/mysql.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.0.16 +FROM aqueducthq/base_connector:0.1.0 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/postgres.dockerfile b/src/dockerfiles/connectors/postgres.dockerfile index 22287e8cd..9cdad3837 100644 --- a/src/dockerfiles/connectors/postgres.dockerfile +++ b/src/dockerfiles/connectors/postgres.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.0.16 +FROM aqueducthq/base_connector:0.1.0 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/s3.dockerfile b/src/dockerfiles/connectors/s3.dockerfile index b0690d513..3a9907f05 100644 --- a/src/dockerfiles/connectors/s3.dockerfile +++ b/src/dockerfiles/connectors/s3.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.0.16 +FROM aqueducthq/base_connector:0.1.0 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/snowflake.dockerfile b/src/dockerfiles/connectors/snowflake.dockerfile index 9425ca957..f61348d36 100644 --- a/src/dockerfiles/connectors/snowflake.dockerfile +++ b/src/dockerfiles/connectors/snowflake.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.0.16 +FROM aqueducthq/base_connector:0.1.0 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/sqlserver.dockerfile b/src/dockerfiles/connectors/sqlserver.dockerfile index 1eb64c705..a84720838 100644 --- a/src/dockerfiles/connectors/sqlserver.dockerfile +++ b/src/dockerfiles/connectors/sqlserver.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.0.16 +FROM aqueducthq/base_connector:0.1.0 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/function/function310.dockerfile b/src/dockerfiles/function/function310.dockerfile index 0ba2b3f88..a9503abd2 100644 --- a/src/dockerfiles/function/function310.dockerfile +++ b/src/dockerfiles/function/function310.dockerfile @@ -16,7 +16,7 @@ pyarrow==7.0.0 \ boto3==1.18.0 \ pydantic==1.9.0 \ scikit_learn==1.0.2 \ -aqueduct-ml==0.0.16 +aqueduct-ml==0.1.0 ENV PYTHONUNBUFFERED 1 diff --git a/src/dockerfiles/function/function37.dockerfile b/src/dockerfiles/function/function37.dockerfile index 9bc51c8c6..2386870de 100644 --- a/src/dockerfiles/function/function37.dockerfile +++ b/src/dockerfiles/function/function37.dockerfile @@ -16,7 +16,7 @@ boto3==1.18.0 \ pydantic==1.9.0 \ scikit_learn==1.0.2 \ typing_extensions==4.3.0 \ -aqueduct-ml==0.0.16 +aqueduct-ml==0.1.0 ENV PYTHONUNBUFFERED 1 diff --git a/src/dockerfiles/function/function38.dockerfile b/src/dockerfiles/function/function38.dockerfile index 7157722b6..df52ebad4 100644 --- a/src/dockerfiles/function/function38.dockerfile +++ b/src/dockerfiles/function/function38.dockerfile @@ -16,7 +16,7 @@ pyarrow==7.0.0 \ boto3==1.18.0 \ pydantic==1.9.0 \ scikit_learn==1.0.2 \ -aqueduct-ml==0.0.16 +aqueduct-ml==0.1.0 ENV PYTHONUNBUFFERED 1 diff --git a/src/dockerfiles/function/function39.dockerfile b/src/dockerfiles/function/function39.dockerfile index 79adafe63..4bdda15a1 100644 --- a/src/dockerfiles/function/function39.dockerfile +++ b/src/dockerfiles/function/function39.dockerfile @@ -16,7 +16,7 @@ pyarrow==7.0.0 \ boto3==1.18.0 \ pydantic==1.9.0 \ scikit_learn==1.0.2 \ -aqueduct-ml==0.0.16 +aqueduct-ml==0.1.0 ENV PYTHONUNBUFFERED 1 diff --git a/src/dockerfiles/lambda/function/requirements-37.txt b/src/dockerfiles/lambda/function/requirements-37.txt index 6f8d1f0c6..5068102e7 100644 --- a/src/dockerfiles/lambda/function/requirements-37.txt +++ b/src/dockerfiles/lambda/function/requirements-37.txt @@ -7,4 +7,4 @@ boto3==1.18.0 pydantic==1.9.0 scikit_learn==1.0.2 typing_extensions==4.3.0 -aqueduct-ml==0.0.16 \ No newline at end of file +aqueduct-ml==0.1.0 \ No newline at end of file diff --git a/src/dockerfiles/lambda/function/requirements.txt b/src/dockerfiles/lambda/function/requirements.txt index 4f844f32e..341c94f40 100644 --- a/src/dockerfiles/lambda/function/requirements.txt +++ b/src/dockerfiles/lambda/function/requirements.txt @@ -6,4 +6,4 @@ pyarrow==7.0.0 boto3==1.18.0 pydantic==1.9.0 scikit_learn==1.0.2 -aqueduct-ml==0.0.16 \ No newline at end of file +aqueduct-ml==0.1.0 \ No newline at end of file diff --git a/src/dockerfiles/lambda/requirements.txt b/src/dockerfiles/lambda/requirements.txt index da33ecc23..d1426d1dc 100644 --- a/src/dockerfiles/lambda/requirements.txt +++ b/src/dockerfiles/lambda/requirements.txt @@ -6,4 +6,4 @@ pydantic==1.9.0 pyyaml SQLAlchemy==1.4.30 typing_extensions==4.3.0 -aqueduct-ml==0.0.16 \ No newline at end of file +aqueduct-ml==0.1.0 \ No newline at end of file diff --git a/src/golang/lib/constants.go b/src/golang/lib/constants.go index 2f6678694..257a414cb 100644 --- a/src/golang/lib/constants.go +++ b/src/golang/lib/constants.go @@ -1,3 +1,3 @@ package lib -const ServerVersionNumber = "0.0.16" +const ServerVersionNumber = "0.1.0" diff --git a/src/python/bin/aqueduct b/src/python/bin/aqueduct index ac4dbc759..fe5d82331 100755 --- a/src/python/bin/aqueduct +++ b/src/python/bin/aqueduct @@ -27,7 +27,7 @@ base_directory = os.path.join(os.environ["HOME"], ".aqueduct") server_directory = os.path.join(os.environ["HOME"], ".aqueduct", "server") ui_directory = os.path.join(os.environ["HOME"], ".aqueduct", "ui") -package_version = "0.0.16" +package_version = "0.1.0" aws_credentials_path = os.path.join(os.environ["HOME"], ".aws", "credentials") default_server_port = 8080 @@ -218,20 +218,20 @@ def update_server_version(): ] ) - if parse_version(current_version) < parse_version("0.1") and parse_version(package_version) >= parse_version("0.1"): - # We add a couple new tables to the demo db for the v0.1 release. + if parse_version(current_version) < parse_version("0.1.0") and parse_version(package_version) >= parse_version("0.1.0"): + # We add a couple new tables to the demo db for the v0.1.0 release. # If we want to add tables in other releases in the future, we should refactor each of them # into a helper function. - data_script_path = os.path.join(server_directory, "db", "0.1", "create_tables.py") + data_script_path = os.path.join(server_directory, "db", "0.1.0", "create_tables.py") data_script_dir = os.path.dirname(data_script_path) if not os.path.isdir(data_script_dir): os.mkdir(data_script_dir) - s3_path = ("https://aqueduct-ai.s3.us-east-2.amazonaws.com/assets/demo/0.1/create_tables.py") + s3_path = ("https://aqueduct-ai.s3.us-east-2.amazonaws.com/assets/demo/0.1.0/create_tables.py") with open(data_script_path, "wb") as f: f.write(requests.get(s3_path).content) os.chmod(data_script_path, 0o755) subprocess.check_call([sys.executable, data_script_path]) - print("Successfully added new tables to the demo db as part of release v0.1.") + print("Successfully added new tables to the demo db as part of release v0.1.0.") def update(): diff --git a/src/python/requirements.txt b/src/python/requirements.txt index 975f48f65..063b5fb69 100644 --- a/src/python/requirements.txt +++ b/src/python/requirements.txt @@ -10,4 +10,4 @@ pyyaml typing_extensions>=4.3.0 Pillow packaging -aqueduct-sdk==0.0.16 +aqueduct-sdk==0.1.0 diff --git a/src/python/setup.py b/src/python/setup.py index c3e4c4e74..e43863ce1 100644 --- a/src/python/setup.py +++ b/src/python/setup.py @@ -10,7 +10,7 @@ setup( name="aqueduct-ml", - version="0.0.16", + version="0.1.0", install_requires=install_requires, scripts=["bin/aqueduct"], packages=find_packages(), diff --git a/src/ui/app/package.json b/src/ui/app/package.json index 7349acd01..f1c283978 100644 --- a/src/ui/app/package.json +++ b/src/ui/app/package.json @@ -1,7 +1,7 @@ { "name": "@aqueducthq/ui", "author": "Aqueduct, Inc. ", - "version": "0.0.16", + "version": "0.1.0", "scripts": { "start": "parcel --no-cache index.html", "build": "parcel build --public-url /dist --dist-dir dist/default index.html", @@ -10,7 +10,7 @@ "lint:fix": "eslint '*/**/*.{js,ts,tsx}' --format table --fix" }, "dependencies": { - "@aqueducthq/common": "0.0.19-alpha", + "@aqueducthq/common": "0.1.0", "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", "@fortawesome/fontawesome-svg-core": "^6.1.1", diff --git a/src/ui/common/package-lock.json b/src/ui/common/package-lock.json index 67119ad3f..525e4d272 100644 --- a/src/ui/common/package-lock.json +++ b/src/ui/common/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aqueducthq/common", - "version": "0.0.19-alpha", + "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aqueducthq/common", - "version": "0.0.19-alpha", + "version": "0.1.0", "hasInstallScript": true, "devDependencies": { "@babel/preset-react": "^7.17.12", diff --git a/src/ui/common/package.json b/src/ui/common/package.json index b1461575f..5985d06c8 100644 --- a/src/ui/common/package.json +++ b/src/ui/common/package.json @@ -1,7 +1,7 @@ { "name": "@aqueducthq/common", "author": "Aqueduct ", - "version": "0.0.19-alpha", + "version": "0.1.0", "main": "dist/index.js", "types": "dist/index.d.ts", "alias": {