Skip to content

Commit 908b1c1

Browse files
Merge pull request #212 from preset-io/new_release
chore: update CHANGELOG
2 parents 8a0060c + abae6c5 commit 908b1c1

File tree

1 file changed

+63
-58
lines changed

1 file changed

+63
-58
lines changed

CHANGELOG.rst

Lines changed: 63 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -2,67 +2,72 @@
22
Changelog
33
=========
44

5+
Version 0.2.1 - 2023-05-30
6+
==========================
7+
8+
- Fix for https://github.com/apache/superset/pull/24067 (`#211 <https://github.com/preset-io/backend-sdk/pull/211>`_).
9+
510
Version 0.2.0 - 2023-05-23
611
==========================
712

8-
- Column descriptions and labels are now synced from dbt models (`PR #72 <https://github.com/preset-io/backend-sdk/pull/72>`_, `PR #111 <https://github.com/preset-io/backend-sdk/pull/111>`_, `PR #195 <https://github.com/preset-io/backend-sdk/pull/195>`_ and `PR #197 <https://github.com/preset-io/backend-sdk/pull/197>`_).
9-
- CLI can now provision users directly to the team (doesn't require accepting the invitation) with the ``import-users`` command. The ``export-users`` command can now also be used with Preset Workspaces. (`PR #74 <https://github.com/preset-io/backend-sdk/pull/74>`_, `PR #100 <https://github.com/preset-io/backend-sdk/pull/100>`_ and `PR #148 <https://github.com/preset-io/backend-sdk/pull/148>`_).
10-
- It's possible to export roles information using the ``export-roles`` command (`PR #75 <https://github.com/preset-io/backend-sdk/pull/75>`_ and `PR #161 <https://github.com/preset-io/backend-sdk/pull/161>`_).
11-
- Exported roles information can be imported via the ``import-roles`` command (`PR #76 <https://github.com/preset-io/backend-sdk/pull/76>`_, `PR #167 <https://github.com/preset-io/backend-sdk/pull/167>`_ and `PR #179 <https://github.com/preset-io/backend-sdk/pull/179>`_).
12-
- Improved session object logic (`PR #77 <https://github.com/preset-io/backend-sdk/pull/77>`_).
13-
- Improved export/import logic for owernship and role information (`PR #79 <https://github.com/preset-io/backend-sdk/pull/79>`_).
14-
- CLI can now add users to imported roles (`PR #81 <https://github.com/preset-io/backend-sdk/pull/81>`_).
15-
- A JWT token can now be passed for authentication (`PR #82 <https://github.com/preset-io/backend-sdk/pull/82>`_).
16-
- Added debug logging to API requests (`PR #83 <https://github.com/preset-io/backend-sdk/pull/83>_`).
17-
- CLI can now export specific asset types, using the ``--asset-type`` flag (`PR #84 <https://github.com/preset-io/backend-sdk/pull/84>`_).
18-
- CLI can now export specific assets only, using the ``--$asset_type-ids`` (for example ``--dashboard-ids``) flag (`PR #85 <https://github.com/preset-io/backend-sdk/pull/85>`_ and `PR #88 <https://github.com/preset-io/backend-sdk/pull/88>`_).
19-
- CLI can now authenticate to Superset (On Premises) without CSRF token (`PR #87 <https://github.com/preset-io/backend-sdk/pull/87>`_).
20-
- Workspace/Team prompt no longer happens in case ``--help`` was pased (`PR #89 <https://github.com/preset-io/backend-sdk/pull/89>`_).
21-
- Team Roles, Workspace Roles and DARs can now be synced to a Preset team based on a YAML file (`PR #90 <https://github.com/preset-io/backend-sdk/pull/90>`_).
22-
- Added ``--version`` command to display the installed version (`PR #91 <https://github.com/preset-io/backend-sdk/pull/91>`_).
23-
- Fixed parent/child node selection in dbt Core for proper graph selection (`PR #92 <https://github.com/preset-io/backend-sdk/pull/92>`_).
24-
- Improved logging for the dbt Client (`PR #94 <https://github.com/preset-io/backend-sdk/pull/94>`_).
25-
- CLI now can create datasets for different databases (for DB Engines that supports multiple databases like Snowflake, BigQuery, etc) (`PR #95 <https://github.com/preset-io/backend-sdk/pull/95>`_).
26-
- BQ connection can now successfully be created/updated from the ``profiles.yml`` information (`PR #96 <https://github.com/preset-io/backend-sdk/pull/96>`_).
27-
- Redshift connectons now get created with the ``redshift+psycopg2`` driver (`PR #97 <https://github.com/preset-io/backend-sdk/pull/97>`_).
28-
- YAML files outside of asset folders aren't imported in the native sync (`PR #99 <https://github.com/preset-io/backend-sdk/pull/99>`_).
29-
- Improved BQ DB detection (`PR #102 <https://github.com/preset-io/backend-sdk/pull/102>`_).
30-
- Reduced the maximum amount of files included in an export file (`PR #105 <https://github.com/preset-io/backend-sdk/pull/105>`_).
31-
- Workspaces can now be defined as environment variables (`PR #106 <https://github.com/preset-io/backend-sdk/pull/106>`_).
32-
- CLI can now create Snowflake connections authenticated via private key pair (`PR #108 <https://github.com/preset-io/backend-sdk/pull/108>`_).
33-
- Improved the ``--exclude`` filter for the dbt sync (`PR #109 <https://github.com/preset-io/backend-sdk/pull/109>`_).
34-
- Improved database connection logic (`PR #111 <https://github.com/preset-io/backend-sdk/pull/111>`_).
35-
- CLI can now create Snowflake connections authenticated with DUO MFA (`PR #112 <https://github.com/preset-io/backend-sdk/pull/112>`_).
36-
- dbt target definition now defaults to the ``profile.yml`` if not specified (`PR #114 <https://github.com/preset-io/backend-sdk/pull/114>`_).
37-
- The dbt sync can now be triggered using the ``dbt_project.yml`` file rather than the ``manifest.json`` (`PR #115 <https://github.com/preset-io/backend-sdk/pull/115>`_).
38-
- CLI now supports `None` as column type (`PR #116 <https://github.com/preset-io/backend-sdk/pull/116>`_).
39-
- Database connection is now tested before triggering the import (`PR #118 <https://github.com/preset-io/backend-sdk/pull/118>`_).
40-
- Added support for companion YAML templates (`PR #120 <https://github.com/preset-io/backend-sdk/pull/120>`_).
41-
- YAML rendering logic is now improved (`PR #121 <https://github.com/preset-io/backend-sdk/pull/121>`_ and `PR #205 <https://github.com/preset-io/backend-sdk/pull/205>`_).
42-
- DB connection password is no longer logged in case the connection fails (`PR #122 <https://github.com/preset-io/backend-sdk/pull/122>`_).
43-
- Import assets is now performed through the ``assets`` endpoint (`PR #124 <https://github.com/preset-io/backend-sdk/pull/124>`_).
44-
- Large imports can be performed with the ``--split`` flag to prevent timeouts (`PR #124 <https://github.com/preset-io/backend-sdk/pull/124>`_). It also creates a ``checkpoint`` in case it fails so the retry would ignore already imported assets (`PR #137 <https://github.com/preset-io/backend-sdk/pull/137>`_ and `PR #139 <https://github.com/preset-io/backend-sdk/pull/139>`_).
45-
- Preset Manager requests updated to use ``api.app.preset.io`` (`PR #127 <https://github.com/preset-io/backend-sdk/pull/127>`_).
46-
- CLI now prompts user for job information if not specified when triggering a sync from dbt Cloud (`PR #128 <https://github.com/preset-io/backend-sdk/pull/128>`_).
47-
- dbt exposures now includes assets that were created by manual datasets, based on the schema and table name (`PR #132 <https://github.com/preset-io/backend-sdk/pull/132>`_).
48-
- Added support for Python 3.11 (`PR #133 <https://github.com/preset-io/backend-sdk/pull/133>`_).
49-
- CLI now refreshes JWT token if needed (`PR #134 <https://github.com/preset-io/backend-sdk/pull/134>`_).
50-
- Import failures due to connection errors are automatically retried (`PR #135 <https://github.com/preset-io/backend-sdk/pull/135>`_).
51-
- Improved Get Resources logic (`PR #136 <https://github.com/preset-io/backend-sdk/pull/136>`_).
52-
- CLI no longer prompts user to enter the DB password in case the connection already exists (`PR #140 <https://github.com/preset-io/backend-sdk/pull/140>`_).
53-
- It's now possible to trigger a sync only for exposures back to dbt, using the ``--exposures-only`` flag (`PR #142 <https://github.com/preset-io/backend-sdk/pull/142>`_).
54-
- CLI can be used to list SCIM groups and membership with the ``list-group-membership`` command (`PR #143 <https://github.com/preset-io/backend-sdk/pull/143>`_).
55-
- The dbt profile name is now used to look for an existing DB connection in the Workspace, instead of the project name (`PR #151 <https://github.com/preset-io/backend-sdk/pull/151>`_).
56-
- Added support for dbt derived metrics (`PR #154 <https://github.com/preset-io/backend-sdk/pull/154>`_, `PR #160 <https://github.com/preset-io/backend-sdk/pull/160>`_, `PR #196 <https://github.com/preset-io/backend-sdk/pull/196>`_, `PR #198 <https://github.com/preset-io/backend-sdk/pull/198>`_ and `PR #199 <https://github.com/preset-io/backend-sdk/pull/199>`_).
57-
- Fixed column configuration issues after a dbt sync (`PR #156 <https://github.com/preset-io/backend-sdk/pull/156>`_ and `PR #165 <https://github.com/preset-io/backend-sdk/pull/165>`_).
58-
- Added support for dbt 1.3 (`PR #159 <https://github.com/preset-io/backend-sdk/pull/159>`_).
59-
- Improved the ``MetricSchema`` loading (`PR #159 <https://github.com/preset-io/backend-sdk/pull/159>`_).
60-
- Added support for Secondary Contributor Workspace Role (`PR #186 <https://github.com/preset-io/backend-sdk/pull/186>`_).
61-
- Use model table alias for dataset creation (`PR #192 <https://github.com/preset-io/backend-sdk/pull/192>`_).
62-
- The dbt sync now only updates the DB connection in case ``--import-db`` is passed. It's also possible to trigger a sync without this flag (`PR #193 <https://github.com/preset-io/backend-sdk/pull/193>`_ and `PR #200 <https://github.com/preset-io/backend-sdk/pull/200>`_).
63-
- Added support for specifying a certification payload for dbt syncs (`PR #203 <https://github.com/preset-io/backend-sdk/pull/203>`_).
64-
- dbt models can now be filtered using ``config`` options (`PR #204 <https://github.com/preset-io/backend-sdk/pull/204>`_).
65-
- It's now possible to disable Jinja syntax escaping during export, and Jinja syntax rendering during import (`PR #205 <https://github.com/preset-io/backend-sdk/pull/205>`_).
13+
- Column descriptions and labels are now synced from dbt models (`#72 <https://github.com/preset-io/backend-sdk/pull/72>`_, `#111 <https://github.com/preset-io/backend-sdk/pull/111>`_, `#195 <https://github.com/preset-io/backend-sdk/pull/195>`_ and `#197 <https://github.com/preset-io/backend-sdk/pull/197>`_).
14+
- CLI can now provision users directly to the team (doesn't require accepting the invitation) with the ``import-users`` command. The ``export-users`` command can now also be used with Preset Workspaces. (`#74 <https://github.com/preset-io/backend-sdk/pull/74>`_, `#100 <https://github.com/preset-io/backend-sdk/pull/100>`_ and `#148 <https://github.com/preset-io/backend-sdk/pull/148>`_).
15+
- It's possible to export roles information using the ``export-roles`` command (`#75 <https://github.com/preset-io/backend-sdk/pull/75>`_ and `#161 <https://github.com/preset-io/backend-sdk/pull/161>`_).
16+
- Exported roles information can be imported via the ``import-roles`` command (`#76 <https://github.com/preset-io/backend-sdk/pull/76>`_, `#167 <https://github.com/preset-io/backend-sdk/pull/167>`_ and `#179 <https://github.com/preset-io/backend-sdk/pull/179>`_).
17+
- Improved session object logic (`#77 <https://github.com/preset-io/backend-sdk/pull/77>`_).
18+
- Improved export/import logic for owernship and role information (`#79 <https://github.com/preset-io/backend-sdk/pull/79>`_).
19+
- CLI can now add users to imported roles (`#81 <https://github.com/preset-io/backend-sdk/pull/81>`_).
20+
- A JWT token can now be passed for authentication (`#82 <https://github.com/preset-io/backend-sdk/pull/82>`_).
21+
- Added debug logging to API requests (`#83 <https://github.com/preset-io/backend-sdk/pull/83>_`).
22+
- CLI can now export specific asset types, using the ``--asset-type`` flag (`#84 <https://github.com/preset-io/backend-sdk/pull/84>`_).
23+
- CLI can now export specific assets only, using the ``--$asset_type-ids`` (for example ``--dashboard-ids``) flag (`#85 <https://github.com/preset-io/backend-sdk/pull/85>`_ and `#88 <https://github.com/preset-io/backend-sdk/pull/88>`_).
24+
- CLI can now authenticate to Superset (On Premises) without CSRF token (`#87 <https://github.com/preset-io/backend-sdk/pull/87>`_).
25+
- Workspace/Team prompt no longer happens in case ``--help`` was pased (`#89 <https://github.com/preset-io/backend-sdk/pull/89>`_).
26+
- Team Roles, Workspace Roles and DARs can now be synced to a Preset team based on a YAML file (`#90 <https://github.com/preset-io/backend-sdk/pull/90>`_).
27+
- Added ``--version`` command to display the installed version (`#91 <https://github.com/preset-io/backend-sdk/pull/91>`_).
28+
- Fixed parent/child node selection in dbt Core for proper graph selection (`#92 <https://github.com/preset-io/backend-sdk/pull/92>`_).
29+
- Improved logging for the dbt Client (`#94 <https://github.com/preset-io/backend-sdk/pull/94>`_).
30+
- CLI now can create datasets for different databases (for DB Engines that supports multiple databases like Snowflake, BigQuery, etc) (`#95 <https://github.com/preset-io/backend-sdk/pull/95>`_).
31+
- BQ connection can now successfully be created/updated from the ``profiles.yml`` information (`#96 <https://github.com/preset-io/backend-sdk/pull/96>`_).
32+
- Redshift connectons now get created with the ``redshift+psycopg2`` driver (`#97 <https://github.com/preset-io/backend-sdk/pull/97>`_).
33+
- YAML files outside of asset folders aren't imported in the native sync (`#99 <https://github.com/preset-io/backend-sdk/pull/99>`_).
34+
- Improved BQ DB detection (`#102 <https://github.com/preset-io/backend-sdk/pull/102>`_).
35+
- Reduced the maximum amount of files included in an export file (`#105 <https://github.com/preset-io/backend-sdk/pull/105>`_).
36+
- Workspaces can now be defined as environment variables (`#106 <https://github.com/preset-io/backend-sdk/pull/106>`_).
37+
- CLI can now create Snowflake connections authenticated via private key pair (`#108 <https://github.com/preset-io/backend-sdk/pull/108>`_).
38+
- Improved the ``--exclude`` filter for the dbt sync (`#109 <https://github.com/preset-io/backend-sdk/pull/109>`_).
39+
- Improved database connection logic (`#111 <https://github.com/preset-io/backend-sdk/pull/111>`_).
40+
- CLI can now create Snowflake connections authenticated with DUO MFA (`#112 <https://github.com/preset-io/backend-sdk/pull/112>`_).
41+
- dbt target definition now defaults to the ``profile.yml`` if not specified (`#114 <https://github.com/preset-io/backend-sdk/pull/114>`_).
42+
- The dbt sync can now be triggered using the ``dbt_project.yml`` file rather than the ``manifest.json`` (`#115 <https://github.com/preset-io/backend-sdk/pull/115>`_).
43+
- CLI now supports `None` as column type (`#116 <https://github.com/preset-io/backend-sdk/pull/116>`_).
44+
- Database connection is now tested before triggering the import (`#118 <https://github.com/preset-io/backend-sdk/pull/118>`_).
45+
- Added support for companion YAML templates (`#120 <https://github.com/preset-io/backend-sdk/pull/120>`_).
46+
- YAML rendering logic is now improved (`#121 <https://github.com/preset-io/backend-sdk/pull/121>`_ and `#205 <https://github.com/preset-io/backend-sdk/pull/205>`_).
47+
- DB connection password is no longer logged in case the connection fails (`#122 <https://github.com/preset-io/backend-sdk/pull/122>`_).
48+
- Import assets is now performed through the ``assets`` endpoint (`#124 <https://github.com/preset-io/backend-sdk/pull/124>`_).
49+
- Large imports can be performed with the ``--split`` flag to prevent timeouts (`#124 <https://github.com/preset-io/backend-sdk/pull/124>`_). It also creates a ``checkpoint`` in case it fails so the retry would ignore already imported assets (`#137 <https://github.com/preset-io/backend-sdk/pull/137>`_ and `#139 <https://github.com/preset-io/backend-sdk/pull/139>`_).
50+
- Preset Manager requests updated to use ``api.app.preset.io`` (`#127 <https://github.com/preset-io/backend-sdk/pull/127>`_).
51+
- CLI now prompts user for job information if not specified when triggering a sync from dbt Cloud (`#128 <https://github.com/preset-io/backend-sdk/pull/128>`_).
52+
- dbt exposures now includes assets that were created by manual datasets, based on the schema and table name (`#132 <https://github.com/preset-io/backend-sdk/pull/132>`_).
53+
- Added support for Python 3.11 (`#133 <https://github.com/preset-io/backend-sdk/pull/133>`_).
54+
- CLI now refreshes JWT token if needed (`#134 <https://github.com/preset-io/backend-sdk/pull/134>`_).
55+
- Import failures due to connection errors are automatically retried (`#135 <https://github.com/preset-io/backend-sdk/pull/135>`_).
56+
- Improved Get Resources logic (`#136 <https://github.com/preset-io/backend-sdk/pull/136>`_).
57+
- CLI no longer prompts user to enter the DB password in case the connection already exists (`#140 <https://github.com/preset-io/backend-sdk/pull/140>`_).
58+
- It's now possible to trigger a sync only for exposures back to dbt, using the ``--exposures-only`` flag (`#142 <https://github.com/preset-io/backend-sdk/pull/142>`_).
59+
- CLI can be used to list SCIM groups and membership with the ``list-group-membership`` command (`#143 <https://github.com/preset-io/backend-sdk/pull/143>`_).
60+
- The dbt profile name is now used to look for an existing DB connection in the Workspace, instead of the project name (`#151 <https://github.com/preset-io/backend-sdk/pull/151>`_).
61+
- Added support for dbt derived metrics (`#154 <https://github.com/preset-io/backend-sdk/pull/154>`_, `#160 <https://github.com/preset-io/backend-sdk/pull/160>`_, `#196 <https://github.com/preset-io/backend-sdk/pull/196>`_, `#198 <https://github.com/preset-io/backend-sdk/pull/198>`_ and `#199 <https://github.com/preset-io/backend-sdk/pull/199>`_).
62+
- Fixed column configuration issues after a dbt sync (`#156 <https://github.com/preset-io/backend-sdk/pull/156>`_ and `#165 <https://github.com/preset-io/backend-sdk/pull/165>`_).
63+
- Added support for dbt 1.3 (`#159 <https://github.com/preset-io/backend-sdk/pull/159>`_).
64+
- Improved the ``MetricSchema`` loading (`#159 <https://github.com/preset-io/backend-sdk/pull/159>`_).
65+
- Added support for Secondary Contributor Workspace Role (`#186 <https://github.com/preset-io/backend-sdk/pull/186>`_).
66+
- Use model table alias for dataset creation (`#192 <https://github.com/preset-io/backend-sdk/pull/192>`_).
67+
- The dbt sync now only updates the DB connection in case ``--import-db`` is passed. It's also possible to trigger a sync without this flag (`#193 <https://github.com/preset-io/backend-sdk/pull/193>`_ and `#200 <https://github.com/preset-io/backend-sdk/pull/200>`_).
68+
- Added support for specifying a certification payload for dbt syncs (`#203 <https://github.com/preset-io/backend-sdk/pull/203>`_).
69+
- dbt models can now be filtered using ``config`` options (`#204 <https://github.com/preset-io/backend-sdk/pull/204>`_).
70+
- It's now possible to disable Jinja syntax escaping during export, and Jinja syntax rendering during import (`#205 <https://github.com/preset-io/backend-sdk/pull/205>`_).
6671

6772
Version 0.1.1 - 2022-09-13
6873
==========================

0 commit comments

Comments
 (0)