Skip to content

Releases: astronomer/astro-sdk

0.9.1

30 May 19:42
c345fce
Compare
Choose a tag to compare

Bugfix:

0.9.0

26 May 00:47
Compare
Choose a tag to compare

Enhancements:

  • Introduction of the user-facing Table, Metadata, and File classes

Breaking changes:

  • The operator save_file became export_file.
  • The tasks load_file, export_file (previously save_file) and run_raw_sql should be used with use Table, Metadata and File instances
  • The decorators dataframe, run_raw_sql and transform should be used with Table and Metadata instances.
  • Temporary removal of the operators aggregate_check, boolean_check, render, and stats_check.
  • Removal of the class TempTable. It is possible to declare temporary tables using Table(temp=True). All the temporary table names are prefixed with _tmp_. If the user decides to name a Table, it is no longer temporary.
  • The only mandatory property of a Table instance is conn_id. If the user gives no metadata to Table, the library will try to extract schema and other information from the connection object. If undefined and the database supports schema, the SDK defaults the schema to the value in AIRFLOW__ASTRO__SQL_SCHEMA.

Internals:

  • Major refactor introducing Database, File, FileType and FileLocation concepts.

0.8.5

25 May 19:16
befae43
Compare
Choose a tag to compare

What's Changed

Bugfix

Full Changelog: 0.8.4...0.8.5

0.8.5b1

25 May 16:42
0fb08fd
Compare
Choose a tag to compare
0.8.5b1 Pre-release
Pre-release

What's Changed

Bug fix

Full Changelog: 0.8.4...0.8.5b1

0.9.0b1

24 May 19:30
7c4f91d
Compare
Choose a tag to compare
0.9.0b1 Pre-release
Pre-release

Enhancements:

  • Introduction of the user-facing Table, Metadata, and File classes

Breaking changes:

  • The operator save_file became export_file.
  • The tasks load_file, export_file (previously save_file) and run_raw_sql should be used with use Table, Metadata and File instances
  • The decorators dataframe, run_raw_sql and transform should be used with Table and Metadata instances.
  • Temporary removal of the operators aggregate_check, boolean_check, render, and stats_check.
  • Removal of the class TempTable. It is possible to declare temporary tables using Table(temp=True). All the temporary table names are prefixed with _tmp_. If the user decides to name a Table, it is no longer temporary.
  • The only mandatory property of a Table instance is conn_id. If the user gives no metadata to Table, the library will try to extract schema and other information from the connection object. If undefined and the database supports schema, the SDK defaults the schema to the value in AIRFLOW__ASTRO__SQL_SCHEMA.

Internals:

  • Major refactor introducing Database, File, FileType and FileLocation concepts.

0.8.4

24 May 14:25
Compare
Choose a tag to compare

Enhancements:

  • Add support for Airflow 2.3 #329.

Full Changelog: 0.8.3...0.8.4

0.8.3

05 May 14:29
Compare
Choose a tag to compare

Bug fix:

  • Do not attempt to create a schema if it already exists #329. Issue reported by @jlaneve

0.8.2

21 Apr 08:39
6725be3
Compare
Choose a tag to compare

Bug fix:

  • Support dataframes from different databases in dataframe operator #325

Enhancements:

  • Add integration testcase for SqlDecoratedOperator to test execution of Raw SQL #316

0.8.1

14 Apr 15:28
a0d0ddf
Compare
Choose a tag to compare

Bug fix:

  • Snowflake transform without input_table #319

0.8.0

12 Apr 21:23
0878120
Compare
Choose a tag to compare

Feature:

  • load_file support for nested NDJSON files #257

Breaking change:

  • aql.dataframe switches the capitalization to lowercase by default. This behaviour can be changed by using identifiers_as_lower #154

Documentation:

  • Fix commands in README.md #242
  • Add scripts to auto-generate Sphinx documentation

Enhancements:

  • Improve type hints coverage
  • Improve Amazon S3 example DAG, so it does not rely on pre-populated data #293
  • Add example DAG to load/export from BigQuery #265
  • Fix usages of mutable default args #267
  • Enable DeepSource validation #299
  • Improve code quality and coverage

Bug fixes:

  • Support gcpbigquery connections #294
  • Support params argument in aql.render to override SQL Jinja template values #254
  • Fix aql.dataframe when table arg is absent #259

Others: