Snowddl

Latest version: v0.26.0

Safety actively analyzes 623739 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 13

0.26.0

- Introduce the concept of "intention cache". Initially it will be used to store and check intentions to drop or replace parent objects, so child objects can be properly resolved during "plan" action. For example, `DROP TABLE` command implicitly drops all table constraints, so there is no need to generate SQL commands to drop constraints.
- Revert explicit setting to destroy schemas in SingleDB. It should be handled automatically by "intention cache" checks.
- Rework `HYBRID_TABLE` to apply all constraints on table creation. Wait for Snowflake to resolve `FOREIGN KEY` issues with Hybrid Tables.

0.25.3

- Add explicit setting to destroy schemas. Use it in SingleDB mode only. Do not attempt to destroy schemas in normal mode.
- Set `TARGET_DB` automatic placeholder earlier, but only if `--target-db` argument was specified.

0.25.2

- Added CLI options `--refresh-stage-encryption` and `--refresh-secrets` to SingleDB mode.

0.25.1

- Prevented SingleDB mode from asking for `--destroy-without-prefix` CLI option which is not possible to set on "destroy" action.
- Ensured schemas are correctly "destroyed" even when `DatabaseResolver` is not present in resolver sequence. Most schema objects are still being ignored.

0.25.0

- Added browser-based SSO authentication (thanks to Joseph Niblo).

0.24.0

- Implemented `HYBRID_TABLE` object type using short hash.
- Switched `depends_on` implementation from list to set, which should help to avoid deduplication problem entirely.
- Added SQL comment with specific replace reasons when replace table is required.
- Adjusted replace table logic to avoid unnecessary type casting when data type was not changed.
- Added some tests for `HYBRID_TABLE`.

Page 1 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.