Skip to content

Commit

Permalink
Prepare release notes for update
Browse files Browse the repository at this point in the history
  • Loading branch information
littleK0i committed Jan 29, 2025
1 parent b7a090c commit a4e1037
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## [0.42.0] - 2025-01-29

- Introduced logic to `.lstrip(" \n\r\t").rstrip(" \n\r\t;")` from object config parameters containing SQL snippets:
- AGGREGATION_POLICY: `body`;
- DYNAMIC_TABLE: `text`;
- MASKING_POLICY: `body`;
- MATERIALIZED_VIEW: `text`;
- PROJECTION_POLICY: `body`;
- ROW_ACCESS_POLICY: `body`;
- TASK: `body`;
- VIEW: `text`;

This change should help to prevent issues with these characters causing SnowDDL to re-create object constantly. Affected objects might be re-created once after the update.

FUNCTION and PROCEDURE are not affected by this change, since their bodies may contain code which is not SQL.

## [0.41.0] - 2025-01-26

- Changed naming for some roles automatically created by SnowDDL to prevent collisions with native Snowflake entities, specifically `DATABASE ROLES`:
Expand Down
2 changes: 1 addition & 1 deletion snowddl/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.41.0"
__version__ = "0.42.0"

0 comments on commit a4e1037

Please sign in to comment.