diff --git a/CHANGELOG.md b/CHANGELOG.md index cc77ec0a9..c97ddf1a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,46 @@ # Changelog +## 0.2.10 +Released on April 11, 2023. + +### Enhancements +* Enables subdirectory support when configuring the AWS S3 integration. When + a subdirectory is specified, everything outside of that directory will be + ignored by Aqueduct. +* Extends support for creating artifact from the local file system to [all + types](https://docs.aqueducthq.com/artifacts) supported by Aqueduct. +* If executing code on the Aqueduct server without Conda, the server will now + proactively ensure that the Python version from your environment matches + the server's Python environment. If there's a mismatch, an error will be + thrown. +* Adds a dismissable banner to the Aqueduct UI notifying users of new releases. + +### Bugfixes +* Fixes bug where errors occurring during the execution of a metric were not + being properly surfaced. +* Fixes bug where checks with a severity level of warning were being shown as + errors in check history. +* Fixes bug where creating a schedule with helper functions on the SDK would + fail for monthly schedules. + ## 0.2.9 Released on April 5, 2023. ### Key Features -* [Beta] Aqueduct now has support for loading dataframe and image data from - the local filesystem as parameters. See `client.create_param()` for details. +* [Beta] Aqueduct now has support for loading DataFrames and images from + the local filesystem as parameters: + ```python +import aqueduct as aq +client = aq.Client() + +data = client.create_param( + "df", + "/path/to/my/df.csv", + use_local=True, + as_type=aq.TableArtifact, + format='csv', +) + ``` ### Enhancements * Improves the artifact storage management process. The integrations page now diff --git a/sdk/setup.py b/sdk/setup.py index b49141c30..1eb56d6af 100644 --- a/sdk/setup.py +++ b/sdk/setup.py @@ -18,7 +18,7 @@ setuptools.setup( name="aqueduct-sdk", - version="0.2.9", + version="0.2.10", author="Aqueduct, Inc.", author_email="hello@aqueducthq.com", description="Python SDK for the Aqueduct prediction infrastructure", diff --git a/src/dockerfiles/Makefile b/src/dockerfiles/Makefile index bb966b101..f081822f4 100644 --- a/src/dockerfiles/Makefile +++ b/src/dockerfiles/Makefile @@ -1,5 +1,5 @@ .DEFAULT_GOAL = all -VERSION = 0.2.9 +VERSION = 0.2.10 # 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 41c78935f..c0fbb34fa 100644 --- a/src/dockerfiles/connectors/athena.dockerfile +++ b/src/dockerfiles/connectors/athena.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.2.9 +FROM aqueducthq/base_connector:0.2.10 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/bigquery.dockerfile b/src/dockerfiles/connectors/bigquery.dockerfile index 1cc44cf5a..00cd645c0 100644 --- a/src/dockerfiles/connectors/bigquery.dockerfile +++ b/src/dockerfiles/connectors/bigquery.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.2.9 +FROM aqueducthq/base_connector:0.2.10 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/mysql.dockerfile b/src/dockerfiles/connectors/mysql.dockerfile index b78a910e3..433834a12 100644 --- a/src/dockerfiles/connectors/mysql.dockerfile +++ b/src/dockerfiles/connectors/mysql.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.2.9 +FROM aqueducthq/base_connector:0.2.10 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/postgres.dockerfile b/src/dockerfiles/connectors/postgres.dockerfile index 927d4e806..cb7cc393c 100644 --- a/src/dockerfiles/connectors/postgres.dockerfile +++ b/src/dockerfiles/connectors/postgres.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.2.9 +FROM aqueducthq/base_connector:0.2.10 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/s3.dockerfile b/src/dockerfiles/connectors/s3.dockerfile index a905d780d..402736fab 100644 --- a/src/dockerfiles/connectors/s3.dockerfile +++ b/src/dockerfiles/connectors/s3.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.2.9 +FROM aqueducthq/base_connector:0.2.10 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/snowflake.dockerfile b/src/dockerfiles/connectors/snowflake.dockerfile index 13e4a505e..bef245870 100644 --- a/src/dockerfiles/connectors/snowflake.dockerfile +++ b/src/dockerfiles/connectors/snowflake.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.2.9 +FROM aqueducthq/base_connector:0.2.10 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/connectors/sqlserver.dockerfile b/src/dockerfiles/connectors/sqlserver.dockerfile index 1c782bb00..de1253b79 100644 --- a/src/dockerfiles/connectors/sqlserver.dockerfile +++ b/src/dockerfiles/connectors/sqlserver.dockerfile @@ -1,4 +1,4 @@ -FROM aqueducthq/base_connector:0.2.9 +FROM aqueducthq/base_connector:0.2.10 MAINTAINER Aqueduct version: 0.1 diff --git a/src/dockerfiles/function/function310.dockerfile b/src/dockerfiles/function/function310.dockerfile index 222f8e685..b1d0f527a 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.2.9 +aqueduct-ml==0.2.10 ENV PYTHONUNBUFFERED 1 diff --git a/src/dockerfiles/function/function37.dockerfile b/src/dockerfiles/function/function37.dockerfile index abe8cf0a5..85ca158f5 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.2.9 +aqueduct-ml==0.2.10 ENV PYTHONUNBUFFERED 1 diff --git a/src/dockerfiles/function/function38.dockerfile b/src/dockerfiles/function/function38.dockerfile index 7b04cab74..061e0762e 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.2.9 +aqueduct-ml==0.2.10 ENV PYTHONUNBUFFERED 1 diff --git a/src/dockerfiles/function/function39.dockerfile b/src/dockerfiles/function/function39.dockerfile index 987c538b9..4dec1575c 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.2.9 +aqueduct-ml==0.2.10 ENV PYTHONUNBUFFERED 1 diff --git a/src/dockerfiles/gpu/py310_env.yml b/src/dockerfiles/gpu/py310_env.yml index 2e30c4820..8ce1142b7 100644 --- a/src/dockerfiles/gpu/py310_env.yml +++ b/src/dockerfiles/gpu/py310_env.yml @@ -14,4 +14,4 @@ dependencies: - pip: - scikit_learn==1.0.2 - typing_extensions==4.3.0 - - aqueduct-ml==0.2.9 + - aqueduct-ml==0.2.10 diff --git a/src/dockerfiles/gpu/py37_env.yml b/src/dockerfiles/gpu/py37_env.yml index 5b0ddbd82..d430a1a2c 100644 --- a/src/dockerfiles/gpu/py37_env.yml +++ b/src/dockerfiles/gpu/py37_env.yml @@ -14,4 +14,4 @@ dependencies: - pip: - scikit_learn==1.0.2 - typing_extensions==4.3.0 - - aqueduct-ml==0.2.9 + - aqueduct-ml==0.2.10 diff --git a/src/dockerfiles/gpu/py38_env.yml b/src/dockerfiles/gpu/py38_env.yml index 65593db35..73441e8e2 100644 --- a/src/dockerfiles/gpu/py38_env.yml +++ b/src/dockerfiles/gpu/py38_env.yml @@ -14,4 +14,4 @@ dependencies: - pip: - scikit_learn==1.0.2 - typing_extensions==4.3.0 - - aqueduct-ml==0.2.9 \ No newline at end of file + - aqueduct-ml==0.2.10 \ No newline at end of file diff --git a/src/dockerfiles/gpu/py39_env.yml b/src/dockerfiles/gpu/py39_env.yml index 6d898c5de..d864a7c00 100644 --- a/src/dockerfiles/gpu/py39_env.yml +++ b/src/dockerfiles/gpu/py39_env.yml @@ -14,4 +14,4 @@ dependencies: - pip: - scikit_learn==1.0.2 - typing_extensions==4.3.0 - - aqueduct-ml==0.2.9 \ No newline at end of file + - aqueduct-ml==0.2.10 \ No newline at end of file diff --git a/src/dockerfiles/lambda/function/requirements-37.txt b/src/dockerfiles/lambda/function/requirements-37.txt index eeb737e39..23abfc01d 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.2.9 \ No newline at end of file +aqueduct-ml==0.2.10 \ No newline at end of file diff --git a/src/dockerfiles/lambda/function/requirements.txt b/src/dockerfiles/lambda/function/requirements.txt index 705471ba1..408fd8d0b 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.2.9 \ No newline at end of file +aqueduct-ml==0.2.10 \ No newline at end of file diff --git a/src/dockerfiles/lambda/requirements.txt b/src/dockerfiles/lambda/requirements.txt index b88f00f58..829f951ae 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.2.9 \ No newline at end of file +aqueduct-ml==0.2.10 \ No newline at end of file diff --git a/src/dockerfiles/spark/spark-py37-env.dockerfile b/src/dockerfiles/spark/spark-py37-env.dockerfile index 53c041291..874d625a1 100644 --- a/src/dockerfiles/spark/spark-py37-env.dockerfile +++ b/src/dockerfiles/spark/spark-py37-env.dockerfile @@ -25,7 +25,7 @@ RUN wget --quiet https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -O aws unzip awscliv2.zip && ./aws/install RUN conda activate py37_env -RUN pip install conda-pack aqueduct-ml==0.2.9 +RUN pip install conda-pack aqueduct-ml==0.2.10 COPY ./spark/create-conda-env.sh / diff --git a/src/golang/lib/constants.go b/src/golang/lib/constants.go index 2cd33b9bf..fd51d9f8e 100644 --- a/src/golang/lib/constants.go +++ b/src/golang/lib/constants.go @@ -1,3 +1,3 @@ package lib -const ServerVersionNumber = "0.2.9" +const ServerVersionNumber = "0.2.10" diff --git a/src/python/bin/aqueduct b/src/python/bin/aqueduct index 97b3e005e..9cfd3de88 100755 --- a/src/python/bin/aqueduct +++ b/src/python/bin/aqueduct @@ -37,7 +37,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.2.9" +package_version = "0.2.10" aws_credentials_path = os.path.join(os.environ["HOME"], ".aws", "credentials") default_server_port = 8080 @@ -287,6 +287,7 @@ def update_server_version(): # 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. + print("Adding new tables to the demo db...") 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): diff --git a/src/python/requirements.txt b/src/python/requirements.txt index ec09ddd21..4d71e707a 100644 --- a/src/python/requirements.txt +++ b/src/python/requirements.txt @@ -11,4 +11,4 @@ typing_extensions>=4.3.0,<=4.4.0 Pillow<=9.4.0 packaging<=23.0 pymongo<=4.3.3 -aqueduct-sdk==0.2.9 +aqueduct-sdk==0.2.10 diff --git a/src/python/setup.py b/src/python/setup.py index 271071db0..3f4d56c13 100644 --- a/src/python/setup.py +++ b/src/python/setup.py @@ -10,7 +10,7 @@ setup( name="aqueduct-ml", - version="0.2.9", + version="0.2.10", 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 97806c5e6..8b47a98f5 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.2.9", + "version": "0.2.10", "scripts": { "start": "parcel --no-cache index.html", "build": "parcel build --public-url /dist --dist-dir dist/default index.html", @@ -9,7 +9,7 @@ "lint:fix": "eslint '*/**/*.{js,ts,tsx}' --format table --fix" }, "dependencies": { - "@aqueducthq/common": "0.2.9", + "@aqueducthq/common": "0.2.10", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@fortawesome/fontawesome-svg-core": "^6.2.1", diff --git a/src/ui/common/package-lock.json b/src/ui/common/package-lock.json index 94096f828..327b8d613 100644 --- a/src/ui/common/package-lock.json +++ b/src/ui/common/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aqueducthq/common", - "version": "0.2.9", + "version": "0.2.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aqueducthq/common", - "version": "0.2.9", + "version": "0.2.10", "hasInstallScript": true, "devDependencies": { "@babel/core": "^7.20.12", diff --git a/src/ui/common/package.json b/src/ui/common/package.json index 7406fc1be..86d1a6dbe 100644 --- a/src/ui/common/package.json +++ b/src/ui/common/package.json @@ -1,7 +1,7 @@ { "name": "@aqueducthq/common", "author": "Aqueduct ", - "version": "0.2.9", + "version": "0.2.10", "main": "dist/index.js", "types": "dist/index.d.ts", "alias": {