Skip to content

Commit

Permalink
Update package version number for the v0.1 release (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
cw75 authored Oct 18, 2022
1 parent e13f5b2 commit e8223c5
Show file tree
Hide file tree
Showing 26 changed files with 93 additions and 34 deletions.
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/aqueduct-helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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.
#
Expand All @@ -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"
2 changes: 1 addition & 1 deletion src/aqueduct-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/Makefile
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/athena.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.0.16
FROM aqueducthq/base_connector:0.1.0

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/bigquery.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.0.16
FROM aqueducthq/base_connector:0.1.0

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/mysql.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.0.16
FROM aqueducthq/base_connector:0.1.0

MAINTAINER Aqueduct <hello@spiralai.co> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/postgres.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.0.16
FROM aqueducthq/base_connector:0.1.0

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/s3.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.0.16
FROM aqueducthq/base_connector:0.1.0

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/snowflake.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.0.16
FROM aqueducthq/base_connector:0.1.0

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/sqlserver.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.0.16
FROM aqueducthq/base_connector:0.1.0

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function310.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function37.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function38.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function39.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/function/requirements-37.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
aqueduct-ml==0.1.0
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/function/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
aqueduct-ml==0.1.0
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pydantic==1.9.0
pyyaml
SQLAlchemy==1.4.30
typing_extensions==4.3.0
aqueduct-ml==0.0.16
aqueduct-ml==0.1.0
2 changes: 1 addition & 1 deletion src/golang/lib/constants.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package lib

const ServerVersionNumber = "0.0.16"
const ServerVersionNumber = "0.1.0"
12 changes: 6 additions & 6 deletions src/python/bin/aqueduct
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion src/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ pyyaml
typing_extensions>=4.3.0
Pillow
packaging
aqueduct-sdk==0.0.16
aqueduct-sdk==0.1.0
2 changes: 1 addition & 1 deletion src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
4 changes: 2 additions & 2 deletions src/ui/app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aqueducthq/ui",
"author": "Aqueduct, Inc. <hello@aqueducthq.com>",
"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",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/ui/common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ui/common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aqueducthq/common",
"author": "Aqueduct <hello@aqueducthq.com>",
"version": "0.0.19-alpha",
"version": "0.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"alias": {
Expand Down

0 comments on commit e8223c5

Please sign in to comment.