Releases: edanalytics/ea_airflow_util
Releases · edanalytics/ea_airflow_util
Release list
ea_airflow_util v0.4.1
ea_airflow_util v0.4.0
New features
- Add
snowflake_keypaircallable for generating Snowflake RSA keypairs and rotating Snowflake user public keys. - Add
SnowflakeKeypairRotationDagfor automating Snowflake keypair rotation.
Under the hood
- Add support for Airflow 2.11.
- Implement OpenSSL based key generation for Snowflake keypair authentication.
- Rotate Snowflake user public keys using the slots
RSA_PUBLIC_KEYandRSA_PUBLIC_KEY_2.
Full Changelog: v0.3.8...v0.4.0
ea_airflow_util v0.3.8
Fix release tag
What's Changed
- Feature/sharefile move by @jayckaiser in #74
- Hotfix/formatted paramstore dag mapping by @jayckaiser in #72
- add optional run vars for dbt seed,run,test by @rlittle08 in #73
Full Changelog: v0.3.7...v0.3.8
ea_airflow_util v0.3.7
Fixes
- Fix version update in interface in
SlackWebhookHookinstantiation in Slack callables (by @tomreitz in PR70).
Full Changelog: v0.3.6...v0.3.7
ea_airflow_util v0.3.6
New Features
- Add
recursiveflag tosharefile_to_disk()callable (defaultTrue). When set toFalse, only top-level files are copied using an alternative API method (by @jayckaiser in #64).
Under the hood
- Add pagination to
SharefileHook._find_items()and downstream-dependent methods. - Use
SharefileHookhelper method insharefile_to_disk()callable to reduce API calls to map filepaths to internal API IDs.
Fixes
- Fix bug where full-refresh DAG config is always set to true in
RunDbtDag(by @rlittle08 in #63). - Fix bug in
S3ToSnowflakeOperatorwhere optional arguments being undefined resulted in malformed SQL statements (by @mberrien-fitzsimons in #66).
Full Changelog: v0.3.5...v0.3.6
v0.3.5
New features
- Add optional
most_recent_fileflag toSharefileToDiskOperatorto extract the most recent version of a singleton file from a path.
Under the hood
- Log a warning message when
SharefileHook.folder_id_from_path()finds no files for a given path. - Change logic in callable
sql.s3_dir_to_postgres()to raise an AirflowException if any copy of S3 key fails, instead of only when all fail.
Full Changelog: v0.3.4...v0.3.5
v0.3.4
ea_airflow_util v0.3.3
Under the hood
- Add
dest_filenameargument tos3_to_sharefilecallable to optionally override filename - Add
LoadSharefileCustomUsersDagto top-level package import path
Fixes
- Run DAG setup method during
LoadSharefileCustomUsersDaginitialization
Full Changelog: v0.3.2...v0.3.3
ea_airflow_util v0.3.2
New features
AWSParamStoreToAirflowDAGallows more flexibility when passing Parameter Store paths. Use{tenant_code}when the tenant is in the middle of the path, instead of the end.- Add
s3_to_sharefileanddisk_to_sharefilecallables - Add methods to the
SharefileHook - Add ShareFile callable
check_for_new_files()to assert expectations in ShareFile directory - Add
S3ToSnowflakeOperatorto S3 operators - Add
LoadSharefileCustomUsersDagto automate Heimdall user creation from uploaded authenticated users files in ShareFile
Under the hood
- Code and error-handling improved in callable
sharefile_to_disk. Argumentsds_nodashandts_nodashare deprecated. - Refactor
SFTPToSnowflakeDAGandS3ToSnowflakeDAGto use newS3ToSnowflakeOperator - Update callable
ftp.download_allto accept either a remote directory or file.
Full Changelog: v0.3.1...v0.3.2
ea_airflow_util 0.3.1
New features
- Boolean argument
is_manual_uploadinS3ToSnowflakeDagrearranges S3 source pathing to easier structure for partners
Under the hood
- Copy statement in
S3ToSnowflakeDaguses regex instead of string-splitting to infer pull-date and pull-timestamp
Fixes
- Fix bug in
EACustomDAGwheredefault_argswere not passed to DAG super init.
Full Changelog: v0.3.0...v0.3.1