Skip to content

Commit e5a485e

Browse files
Merge pull request #234 from databrickslabs/feature/v0.0.10
Added breaking changes to release docs
2 parents 4690761 + d2fba21 commit e5a485e

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
# Changelog
22

33
## [v0.0.10]
4+
### ⚠️ Breaking Changes
5+
- **DPM Mode Flag Removal from v0.0.9**: DLT-META v0.0.9 pipelines using DPM mode flag must be migrated to the default publishing mode before upgrading. This change is metadata-only and doesn't impact existing datasets, but is irreversible.
6+
- **invoke_dlt_pipeline Argument Changes**: Method arguments now require layer-specific prefixes (bronze_ or silver_) to support apply_changes_from_snapshot in both layers. This affects existing pipeline configurations using the previous argument naming.
7+
8+
### Migration Guide
9+
1. **DPM Mode Migration**:
10+
- Before upgrading to v0.0.10, update pipeline JSON settings as per Databricks documentation [Migrate to the default publishing mode](https://docs.databricks.com/aws/en/dlt/migrate-to-dpm#migrate-to-the-default-publishing-mode)
11+
- This is a one-way migration - ensure all stakeholders are informed
12+
- Verify pipeline functionality in test environment first
13+
14+
2. **invoke_dlt_pipeline Updates**:
15+
- Method signature changed to support layer-specific functions:
16+
```python
17+
invoke_dlt_pipeline(
18+
spark,
19+
layer,
20+
bronze_custom_transform_func=None, # Previously: custom_transform_func
21+
silver_custom_transform_func=None, # New in v0.0.10
22+
bronze_next_snapshot_and_version=None, # Previously: next_snapshot_and_version
23+
silver_next_snapshot_and_version=None # New in v0.0.10
24+
)
25+
```
26+
- Layer-specific functions allow different transformations for bronze and silver layers
27+
- Existing code using single custom_transform_func should move to bronze_custom_transform_func
28+
- Existing code using next_snapshot_and_version should move to bronze_next_snapshot_and_version
29+
- Review and update all pipeline configurations using this method
30+
431
### Added
532
- Added apply_changes_from_snapshot support in silver layer [PR](https://github.com/databrickslabs/dlt-meta/pull/187)
633
- Added UI using databricks lakehouse app for onboarding/deploy commands [PR](https://github.com/databrickslabs/dlt-meta/pull/168)

docs/content/releases/_index.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,35 @@ weight: 80
55
draft: false
66
---
77
# v0.0.10
8+
9+
## ⚠️ Breaking Changes
10+
- **DPM Mode Removal**: DLT-META v0.0.9 pipelines using DPM mode flag must be migrated to the default publishing mode before upgrading. This change is metadata-only and doesn't impact existing datasets, but is irreversible.
11+
- **Multi-Level Namespace Changes**: Custom schema qualification in table names is no longer supported. Tables must be created without database qualifiers.
12+
- **invoke_dlt_pipeline Argument Changes**: Method arguments now require layer-specific prefixes (bronze_ or silver_) to support apply_changes_from_snapshot in both layers. This affects existing pipeline configurations using the previous argument naming.
13+
14+
## Migration Guide
15+
1. **DPM Mode Migration**:
16+
- Before upgrading to v0.0.10, update pipeline JSON settings as per Databricks documentation [Migrate to the default publishing mode](https://docs.databricks.com/aws/en/dlt/migrate-to-dpm#migrate-to-the-default-publishing-mode)
17+
- This is a one-way migration - ensure all stakeholders are informed
18+
- Verify pipeline functionality in test environment first
19+
20+
2. **invoke_dlt_pipeline Updates**:
21+
- Method signature changed to support layer-specific functions:
22+
```python
23+
invoke_dlt_pipeline(
24+
spark,
25+
layer,
26+
bronze_custom_transform_func=None, # Previously: custom_transform_func
27+
silver_custom_transform_func=None, # New in v0.0.10
28+
bronze_next_snapshot_and_version=None, # Previously: next_snapshot_and_version
29+
silver_next_snapshot_and_version=None # New in v0.0.10
30+
)
31+
```
32+
- Layer-specific functions allow different transformations for bronze and silver layers
33+
- Existing code using single custom_transform_func should move to bronze_custom_transform_func
34+
- Existing code using next_snapshot_and_version should move to bronze_next_snapshot_and_version
35+
- Review and update all pipeline configurations using this method
36+
837
## Enhancements
938
- Added apply_changes_from_snapshot support in silver layer [PR](https://github.com/databrickslabs/dlt-meta/pull/187)
1039
- Added UI using databricks lakehouse app for onboarding/deploy commands [PR](https://github.com/databrickslabs/dlt-meta/pull/168)

0 commit comments

Comments
 (0)