All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, adheres to Semantic Versioning, and is generated by Changie.
- Use a behavior flag to gate microbatch functionality (instead of an environment variable) (#327)
- Add
query_id
to SQLQueryStatus (#342)
- dbt-tests-adapters: Add required begin to microbatch model config to BaseMicrobatch test (#315)
- Negate the check for microbatch behavior flag in determining builtins (#349)
- Move require_batched_execution_for_custom_microbatch_strategy flag to global (#351)
- Always make behavior flags available for evaluation (#338)
- Add adapter telemetry. (#301)
- Drop support for Python 3.8 (#332)
- Allows unique_key for snapshots to take a list (#181)
- Always validate an incremental model's
incremental_strategy
(#330)
- Enable setting current value of dbt_valid_to (#320)
- Allow configuring of snapshot column names (#289)
- Default microbatch strategy implementation and base tests (#302)
- Compare 'snapshot_get_time' and snapshot 'updated_at' data types (#242)
- Add Behavior Flag framework (#281)
- Add EventTimeFilter to BaseRelation, which renders a filtered relation when start or end is set (#294)
- Update dbt-common pin to >=1.8 (#299)
- Use model alias for the CTE identifier generated during ephemeral materialization (#5273)
- Updating changie.yaml to add contributors and PR links (#219)
- render 'to' and 'to_columns' fields on foreign key constraints, and bump dbt-common lower bound to 1.6 (#271)
- Incremental table varchar column definition changed (#276)
- Rework record/replay to record at the database connection level. (#244)
- Fix scenario where using the
--empty
flag causes metadata queries to contain limit clauses (#213)
- --limit flag no longer subshells the query. This resolves the dbt Cloud experience issue where limit prevents ordering elements.. (#207)
- Fix query timer resolution (#246)
- Add optional release_connection parameter to connection_named method (#247)
- Add get_catalog_for_single_relation macro and capability to enable adapters to optimize catalog generation (#231)
- Improvement of the compile error message in the get_fixture-sql.sql when the relation or the model not exist (#203)
- Cross-database
date
macro (#191)
- Update Clone test to reflect core change removing
deferred
attribute from nodes (#194)
- Add query recording for adapters which use SQLConnectionManager (#195)
- Improve memory efficiency of process_results() (#217)
- Enable serialization contexts (#197)
- Debug log when
type_code
fails to convert to adata_type
(#135) - Introduce TableLastModifiedMetadataBatch and implement BaseAdapter.calculate_freshness_from_metadata_batch (#127)
- Support for sql fixtures in unit testing (#146)
- Cross-database
cast
macro (#173) - Allow adapters to opt out of aliasing the subquery generated by render_limited (#179)
- subquery alias generated by render_limited now includes the relation name to mitigate duplicate aliasing (#179)
- Fix adapter-specific cast handling for constraint enforcement (#165)
- Use
dbt-adapters
throughout the contributing guide (#137)
- Add the option to set the log level of the AdapterRegistered event (#141)
- Update dependabot config to cover GHA (#161)
- Validate that dbt-core and dbt-adapters remain de-coupled (#174)
- remove dbt_version from query comment test fixture (#184)
- add support for py3.12 (#185)
- Update RelationConfig to capture all fields used by adapters (#30)
- Add field wrapper to BaseRelation members that were missing it. (#108)
- Add "description" and "meta" fields to RelationConfig protocol (#119)
- Ignore adapter-level support warnings for 'custom' constraints (#90)
- Make all adapter zone tests importable by removing "Test" prefix (#93)
- Configure
changie
(#16) - Setup ADR tracking framework (#11)
- Create issue templates (#12)
- Create PR template (#13)
- Lazy load agate to improve dbt-core performance (#125)
- add BaseAdapater.MAX_SCHEMA_METADATA_RELATIONS (#131)
- Configure
dependabot
(#14) - Implement unit testing in CI (#22)
- Allow version to be specified in either version.py or about.py (#44)
- Remove init.py file from dbt.tests (#96)
- Pin
black>=24.3
inpyproject.toml
(#140)