Skip to content

Commit

Permalink
Release 0.2.9 (#1170)
Browse files Browse the repository at this point in the history
Co-authored-by: Vikram Sreekanti <[email protected]>
Co-authored-by: Ubuntu <[email protected]>
Co-authored-by: Wei Chen <[email protected]>
  • Loading branch information
4 people authored Apr 5, 2023
1 parent b360972 commit 8e93e58
Show file tree
Hide file tree
Showing 32 changed files with 87 additions and 59 deletions.
27 changes: 25 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
# Changelog

## 0.2.8
Released on March 29, 2023.
## 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.

### Enhancements
* Improves the artifact storage management process. The integrations page now
shows which system is being used for artifact storage, and if a migration
between artifact stores fails, the error will be surfaced on the
integration details page until the user triggers a new artifact migration.
* Adds metadata to read and write operators' sidesheets. Both sidesheets now
show which system is being used for the IO operation, and the save operator
now shows to what location and (if relevant) in what format the data is
being saved.

### Bugfixes
* Fixes typos in MongoDB connection dialog.
* Fixes bug where workflow status at the top of the workflow details page would
not update in sync with other parts of the page.
* Fixes a bug where stopping the Aqueduct server immediately after starting it
could potentially trigger and then kill a workflow run that would then
stay in a pending state permanently.

## 0.2.8
Released on March 29, 2023.

### Enhancements
* Extends Aqueduct's parameter support to allow parameters to be `None` *if*
Expand Down
4 changes: 2 additions & 2 deletions manual_qa_tests/workflows/succeed_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ def empty_str_check(df, empty_str):

def deploy(client, integration_name):
integration = client.integration(integration_name)
client.create_param("table", default="hotel_reviews")
table_param = client.create_param("table", default="hotel_reviews")
bound = client.create_param("bound", default=10)
empty_str = client.create_param("empty_str", default="")

reviews = integration.sql("SELECT * FROM {{ table }}")
reviews = integration.sql("SELECT * FROM $1", parameters=[table_param])
check(reviews, bound)
empty_str_check(reviews, empty_str)
flow = client.publish_flow(
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.2.8",
version="0.2.9",
author="Aqueduct, Inc.",
author_email="[email protected]",
description="Python SDK for the Aqueduct prediction infrastructure",
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.2.8
VERSION = 0.2.9

# 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.2.8
FROM aqueducthq/base_connector:0.2.9

MAINTAINER Aqueduct <[email protected]> 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.2.8
FROM aqueducthq/base_connector:0.2.9

MAINTAINER Aqueduct <[email protected]> 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.2.8
FROM aqueducthq/base_connector:0.2.9

MAINTAINER Aqueduct <[email protected]> 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.2.8
FROM aqueducthq/base_connector:0.2.9

MAINTAINER Aqueduct <[email protected]> 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.2.8
FROM aqueducthq/base_connector:0.2.9

MAINTAINER Aqueduct <[email protected]> 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.2.8
FROM aqueducthq/base_connector:0.2.9

MAINTAINER Aqueduct <[email protected]> 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.2.8
FROM aqueducthq/base_connector:0.2.9

MAINTAINER Aqueduct <[email protected]> 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.2.8
aqueduct-ml==0.2.9

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.2.8
aqueduct-ml==0.2.9


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.2.8
aqueduct-ml==0.2.9

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.2.8
aqueduct-ml==0.2.9

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py310_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.2.8
- aqueduct-ml==0.2.9
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py37_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.2.8
- aqueduct-ml==0.2.9
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py38_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.2.8
- aqueduct-ml==0.2.9
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py39_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.2.8
- aqueduct-ml==0.2.9
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.2.8
aqueduct-ml==0.2.9
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.2.8
aqueduct-ml==0.2.9
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.2.8
aqueduct-ml==0.2.9
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.2.8"
const ServerVersionNumber = "0.2.9"
2 changes: 1 addition & 1 deletion src/python/bin/aqueduct
Original file line number Diff line number Diff line change
Expand Up @@ -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.8"
package_version = "0.2.9"
aws_credentials_path = os.path.join(os.environ["HOME"], ".aws", "credentials")

default_server_port = 8080
Expand Down
2 changes: 1 addition & 1 deletion src/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.8
aqueduct-sdk==0.2.9
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.2.8",
version="0.2.9",
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,15 +1,15 @@
{
"name": "@aqueducthq/ui",
"author": "Aqueduct, Inc. <[email protected]>",
"version": "0.2.8",
"version": "0.2.9",
"scripts": {
"start": "parcel --no-cache index.html",
"build": "parcel build --public-url /dist --dist-dir dist/default index.html",
"lint": "eslint '*/**/*.{js,ts,tsx}' --format table",
"lint:fix": "eslint '*/**/*.{js,ts,tsx}' --format table --fix"
},
"dependencies": {
"@aqueducthq/common": "0.2.8",
"@aqueducthq/common": "0.2.9",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@fortawesome/fontawesome-svg-core": "^6.2.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 <[email protected]>",
"version": "0.2.8",
"version": "0.2.9",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"alias": {
Expand Down
25 changes: 16 additions & 9 deletions src/ui/common/src/components/operators/WithOperatorHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ const WithOperatorHeader: React.FC<Props> = ({
const integrationId =
operator?.spec?.load?.integration_id ||
operator?.spec?.extract?.integration_id;
const integrationName = integrationId
? integrationsState?.integrations[integrationId]?.name
: undefined;

return (
<Box width="100%">
Expand All @@ -118,17 +121,21 @@ const WithOperatorHeader: React.FC<Props> = ({
{checkLevelDisplay}
</Box>

<ResourceItem
resource={service}
resourceCustomName={
integrationsState?.integrations[integrationId]?.name
}
/>
{integrationName && (
<ResourceItem
resource={service}
resourceCustomName={
integrationsState?.integrations[integrationId]?.name
}
/>
)}

<Box display="flex" width="100%">
<Box width="100%" paddingTop={sideSheetMode ? '16px' : '24px'}>
<SaveDetails parameters={operator?.spec?.load?.parameters} />
</Box>
{operator?.spec?.load?.parameters && (
<Box width="100%" paddingTop={sideSheetMode ? '16px' : '24px'}>
<SaveDetails parameters={operator?.spec?.load?.parameters} />
</Box>
)}

{operator?.spec?.load && <Box width="96px" />}

Expand Down
28 changes: 13 additions & 15 deletions src/ui/common/src/components/workflows/nodes/Node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,24 +254,22 @@ export const Node: React.FC<Props> = ({ data, isConnectable }) => {
{headerIcon}
</Box>

<Box flex={1}>
<Typography
sx={{
maxWidth: '80%',
flex: 1,
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
fontSize: '32px',
}}
>
{data.label}
</Typography>
</Box>
<Typography
sx={{
maxWidth: '70%',
flex: 1,
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
fontSize: '32px',
}}
>
{data.label}
</Typography>

{headerEndIcon && (
<>
<Box justifySelf="end" mr={2}>
<Box justifySelf="end" ml={1} mr={2}>
<Tooltip
title={
data.spec?.type === OperatorType.Check
Expand Down
4 changes: 2 additions & 2 deletions src/ui/common/src/components/workflows/workflowHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const WorkflowHeader: React.FC<Props> = ({ workflowDag }) => {
let selectedWorkflowStatus = ExecutionStatus.Unknown;
if (workflowHistory.status.loading === LoadingStatusEnum.Succeeded) {
selectedWorkflowStatus =
workflowHistory.history.versions[selectedResultIdx].exec_state.status;
workflowHistory.history.versions[selectedResultIdx]?.exec_state.status;
}

const name = workflowDag.metadata?.name ?? '';
Expand Down Expand Up @@ -123,7 +123,7 @@ const WorkflowHeader: React.FC<Props> = ({ workflowDag }) => {
function rehypeWrapText() {
return function wrapTextTransform(tree) {
visitParents(tree, 'text', (node, ancestors) => {
if (ancestors.at(-1).tagName !== 'custom-typography') {
if (ancestors[ancestors.length - 1]?.tagName !== 'custom-typography') {
node.type = 'element';
node.tagName = 'custom-typography';
node.children = [{ type: 'text', value: node.value }];
Expand Down

0 comments on commit 8e93e58

Please sign in to comment.