Releases: SQLMesh/sqlmesh
Releases · SQLMesh/sqlmesh
v0.28.0
✨ Features
- Support model selection when constructing a plan (#1335) @izeigerman
- Support simple model selection expressions (#1338) @izeigerman
- Introduce support for MSSQL @deschman
🛠️ Refactor
- Move project from snapshot to model/node (#1345) @tobymao
- Use a rewriter instead of a renderer for metrics (#1340) @tobymao
🧹 Chore
- Add documentation for the MSSQL connection config (#1341) @izeigerman
v0.27.1
v0.27.0
✨ Features
- Make all incremental models in a dbt project forward-only by default (#1303) @izeigerman
- Add model to promote (#1292) @eakmanrq
🪲 Bug fixes
- Make file watcher ignore local db updates (#1306) @mykalmax
- Correctly check schema names when cleaning up (#1304) @eakmanrq
- Respect plan
include-unmodifiedflag when no model changes (#1296) @treysp - Display column description + display model references in docs (#1305) @mykalmax
- Remove debounce async (#1308) @mykalmax
- CLI table-diff styling (#1313) @treysp
- Table properties serde (#1310) @eakmanrq
- Styling updates for table and table-diff (#1312) @mykalmax
- Dbt-redshift 1.6 removed column class specialization (#1320) @crericha
- Format model on save (#1309) @mykalmax
- Use full file path to get model from path_to_model_mapping (#1321) @mykalmax
- Support latest Pydantic V2 version in tests (#1325) @izeigerman
- Fetch column types if the type is unknown for a partition column in the BQ engine adapter (#1326) @izeigerman
🧹 Chore
- Add the Delegating State Sync base class to simplify downstream implementations (#1316) @izeigerman
👽 Other
v0.26.0
✨ Features
- Add sqlmesh references and automatic joins (#1278) @tobymao
- Add ability to select node and build path from that node to current (#1245) @mykalmax
- Support Table Properties on Views (#1286) @eakmanrq
- Allow macro lambdas with expansion on tuples (#1298) @tobymao
🪲 Bug fixes
- Improve interval_unit validation and support the field in dbt projects (#1281) @crericha
- Make Databricks use replace where (#1291) @eakmanrq
- Migration of grain @tobymao
- Editor content updates too late with debounce @mykalmax
- Set debounceImmediate to false for model lineage (#1293) @mykalmax
- Exclude redundant keys from the config attribute in dbt models (#1294) @izeigerman
- Support physical table schema override for dbt projects (#1297) @izeigerman
🧹 Chore
- Support Pydantic 2 (#1290) @izeigerman
👽 Other
v0.25.1
✨ Features
- Add column statistics to output and make sample opt in on cli (#1265) @z3z1ma
- Recreate a view if missing even if the rendered query hasn't changed (#1268) @izeigerman
- Table diff sample by row source (#1272) @treysp
🪲 Bug fixes
- (snowflake) Extract date from datetime values, quote audit's this_model (#1269) @georgesittas
- (metrics) Don't normalize metric names (#1270) @georgesittas
- Remove debounce from initial request (#1275) @mykalmax
- Fix column stats display when no common columns (#1279) @treysp
- Resubscribe after new connection has beed established (#1282) @mykalmax
- Correctly recreate views for snapshots categorized as indirect non-breaking (#1285) @izeigerman
🧹 Chore
- Bump sqlglot to v17.10.2 (#1276) @georgesittas
👽 Other
v0.25.0
✨ Features
- Make default target environment configurable (#1262) @izeigerman
- Add ability to override the dbt target name in the SQLMesh config (#1263) @izeigerman
- Include Jinja macros when rendering a model definition (#1264) @izeigerman
🪲 Bug fixes
- Rendering of a model definition with table properties specified (#1261) @izeigerman
- Fix!(tests): normalize identifiers according to the config's dialect (#1206) @georgesittas
- Increase request timeout delay (#1266) @mykalmax
- Include catalog name in schema creation (#1249) @eakmanrq
🧹 Chore
- Add default_target_environment description to the configuration reference doc @izeigerman
👽 Other
v0.24.1
🪲 Bug fixes
- Support inserting dataframes into Environment on Databricks (#1242) @eakmanrq
- Loading Python config while having Personal YAML file (#1247) @eakmanrq
- (macros) Incrementally resolve macro var definitions (#1253) @georgesittas
- Timeout request after 10s by default (#1225) @mykalmax
- Implement richless Databricks console for Model Creation (#1250) @eakmanrq
- Pass sleep generator parameters directly into the Retry instance in the BigQuery adapter (#1257) @izeigerman
🧹 Chore
- Bump sqlglot to v17.9.0 (#1248) @georgesittas
- Warn by default if the error occurs during the schema creation (#1256) @izeigerman
👽 Other
v0.24.0
✨ Features
- MySQL support (#1232) @izeigerman
- Sync file system via sse (#1197) @mykalmax
- Make Environment Suffix Target Configurable (#1220) @eakmanrq
🪲 Bug fixes
- Correctly set the hive dynamic partition mode (#1229) @pingzh
- Styling bugs around lineage (#1223) @mykalmax
- Wrong key for tabs triggers re-renders (#1233) @mykalmax
- Use a pendulum datetime object for the start_date attribute in Airflow (#1230) @izeigerman
- Wrong argument order for getCellContent (#1234) @mykalmax
- Spark partition by on state tables (#1238) @eakmanrq
- Fix progress when completed (#1239) @eakmanrq
- Improve Databricks Catalog setting (#1240) @eakmanrq
- Set the plan DAG start date at request time (#1244) @izeigerman
🧹 Chore
- Improve the error message in the query renderer (#1231) @izeigerman
👽 Other
v0.23.0
✨ Features
- Support custom schema name for state metadata (#1171) @eakmanrq
- CI/CD Bot Add Merge Method (#1207) @eakmanrq
- Respect the model's cron expression in the built-in scheduler (#1209) @izeigerman
- Make interval unit configurable per model (#1213) @izeigerman
- Add physical schema override (#1212) @eakmanrq
- Allow specifying of arbitrary table properties as part of the model definition (#1217) @izeigerman
- Initial pass of SQLMetrics (#1221) @tobymao
🪲 Bug fixes
- Use VARCHAR instead of TEXT for MySQL pks, indexed fields (#1208) @georgesittas
- Increase timeout-keep-alive and send ping every 15s to browser (#1172) @mykalmax
- Send cancel plan request when canceling plan (#1210) @mykalmax
- Remove latest time in favour of execution time (#1211) @izeigerman
- Allow render output to wrap instead of cropping (#1222) @z3z1ma
- Parsing of the quoting config (#1227) @izeigerman
- Enable Hive dynamic partition in Spark session (#1228) @izeigerman
🛠️ Refactor
- Serialize the source SQL code for each expression (#1187) @georgesittas
🧹 Chore
- Cleanup @tobymao
- Improve the warning message when missing a schema while optimizing a model query (#1224) @izeigerman
👽 Other
v0.22.0
✨ Features
- Drop schemas for expired environments (#1177) @eakmanrq
- Support the '_dbt_max_partition' variable for BigQuery dbt projects (#1195) @izeigerman
🪲 Bug fixes
- Use session when creating snapshot tables (#1190) @izeigerman
- Support insert overwrite with dynamic partitions in the BigQuery adapter (#1188) @izeigerman
- Fix test (#1193) @eakmanrq
- Add boolean to fix request params type (#1199) @mykalmax
- Set forward_only to true by default for the Incremental Unmanaged model kind (#1200) @izeigerman
- Fix invalidating env test (#1201) @eakmanrq
- Make sure the evaluation progress bar looks good when evaluating a large number of models (#1202) @izeigerman
🧹 Chore
- Rename 'target_partitions' variable to something more distinct to avoid potential conflict @izeigerman