Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: fivetran/dbt_github

v1.1.0 dbt_github

27 Oct 18:02
48ceaa5

Choose a tag to compare

Schema/Data Change

1 total change • 0 possible breaking changes

Data Model(s) Change type Old New Notes
All models New column source_relation Identifies the source connection when using multiple GitHub connections

Feature Update

  • Union Data Functionality: This release supports running the package on multiple GitHub source connections. See the README for details on how to leverage this feature.

Tests Update

  • Removes uniqueness tests. The new unioning feature requires combination-of-column tests to consider the new source_relation column in addition to the existing primary key, but this is not supported across dbt versions.
    • These tests will be reintroduced once a version-agnostic solution is available.

Under the Hood

  • Updates consistency tests to enable dynamic column exclusion.

Full Changelog: v1.0.0...v1.1.0

v1.0.0 dbt_github

14 Aug 15:42
4de793b

Choose a tag to compare

PR #67 includes the following updates:

Breaking Changes

Source Package Consolidation

  • Removed the dependency on the fivetran/github_source package.
    • All functionality from the source package has been merged into this transformation package for improved maintainability and clarity.
    • If you reference fivetran/github_source in your packages.yml, you must remove this dependency to avoid conflicts.
    • Any source overrides referencing the fivetran/github_source package will also need to be removed or updated to reference this package.
    • Update any github_source-scoped variables to be scoped to only under this package. See the README for how to configure the build schema of staging models.
  • As part of the consolidation, vars are no longer used to reference staging models, and only sources are represented by vars. Staging models are now referenced directly with ref() in downstream models.

dbt Fusion Compatibility Updates

  • Updated package to maintain compatibility with dbt-core versions both before and after v1.10.6, which introduced a breaking change to multi-argument test syntax (e.g., unique_combination_of_columns).
  • Temporarily removed unsupported tests to avoid errors and ensure smoother upgrades across different dbt-core versions. These tests will be reintroduced once a safe migration path is available.
    • Removed all dbt_utils.unique_combination_of_columns tests.
    • Moved loaded_at_field: _fivetran_synced under the config: block in src_github.yml.

Under the Hood

  • Updated conditions in .github/workflows/auto-release.yml.
  • Added .github/workflows/generate-docs.yml.

Full Changelog: v0.9.1...v1.0.0

v0.9.1 dbt_github

02 Jul 18:50
f68f209

Choose a tag to compare

PR #64 includes the following updates:

Feature Updates

  • Added the following variables to account for potentially missing tables. For dbt Core users, each is True by default and will need to be set to False in the root project's dbt_project.yml. For Fivetran Quickstart users, they will be dynamically enabled/disabled based on the presence of the associated source table.
    • github__using_issue_assignee: Disable if missing ISSUE_ASSIGNEE
    • github__using_issue_label: Disable if missing ISSUE_LABEL
    • github__using_label: Disable if missing LABEL
    • github__using_requested_reviewer_history: Disable if missing REQUESTED_REVIEWER_HISTORY

Under the Hood

  • Updated package maintainer PR template.
  • Added new variables to the quickstart.yml file.
  • Added consistency validation tests for the github__daily/weeky/monthly/quarterly_metrics models.

Full Changelog: v0.9.0...v0.9.1

v0.9.0 dbt_github

26 Jun 17:33
26a75e7

Choose a tag to compare

PR #63 includes the following updates:

Breaking Change for dbt Core < 1.9.6

Note: This is not relevant to Fivetran Quickstart users.

Migrated freshness from a top-level source property to a source config in alignment with recent updates from dbt Core (GitHub Source v0.9.0). This will resolve the following deprecation warning that users running dbt >= 1.9.6 may have received:

[WARNING]: Deprecated functionality
Found `freshness` as a top-level property of `github` in file
`models/src_github.yml`. The `freshness` top-level property should be moved
into the `config` of `github`.

IMPORTANT: Users running dbt Core < 1.9.6 will not be able to utilize freshness tests in this release or any subsequent releases, as older versions of dbt will not recognize freshness as a source config and therefore not run the tests.

If you are using dbt Core < 1.9.6 and want to continue running GitHub freshness tests, please elect one of the following options:

  1. (Recommended) Upgrade to dbt Core >= 1.9.6
  2. Do not upgrade your installed version of the github package. Pin your dependency on v0.8.1 in your packages.yml file.
  3. Utilize a dbt override to overwrite the package's github source and apply freshness via the previous release top-level property route. This will require you to copy and paste the entirety of the previous release src_github.yml file and add an overrides: github_source property.

Documentation

  • Added Quickstart model counts to README. (#60)
  • Corrected references to connectors and connections in the README. (#60)

Under the Hood:

  • Updates to ensure integration tests use latest version of dbt.

Full Changelog: v0.8.1...v0.9.0

v0.8.1 dbt_github

23 Oct 21:15
7b41b31

Choose a tag to compare

This release contains the following updates:

Bug Fixes

  • Replaced the deprecated dbt_current_timestamp.backcompat() macro with the up-to-date dbt_current_timestamp. The deprecated macro occasionally returned the system timezone instead of the expected UTC timestamp, leading to incorrect downstream metrics like negative values for days_issue_open. (PR #58)
  • Updated the join type in int_github__pull_request_times to ensure pull requests without explicitly requested reviewers are no longer dropped. (PR #57)

Under the Hood:

  • Added consistency tests for github__issues and github__pull_requests to ensure new changes don't change the output of either model. (Some measures are omitted from the comparison tests, since they're measures based on the current_timestamp, which differs between validation test runs). (PR #58)

Contributors

Full Changelog: v0.8.0...v0.8.1

v0.8.0 dbt_github

02 Apr 16:39
488e78b

Choose a tag to compare

PR #53 contains the following updates:

🚨 Breaking Change 🚨

  • For consistency with other Fivetran packages, added default target schemas in dbt_project.yml. This is a breaking change since the model outputs will now be stored in a schema called <your target schema>_github by default. You will need to update any of your downstream use cases to point to the new schema.

Under the Hood:

  • Updated the maintainer PR template to the current format.
  • Incorporated the new fivetran_utils.drop_schemas_automation macro into the end of each Buildkite integration test job. (PR #49)
  • Updated the quickstart.yml file to allow for automated Quickstart data model deployments. (PR #51)

Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0 dbt_github

07 Feb 22:00
e103fd7

Choose a tag to compare

Hello, friends! This release of the dbt_github package includes the following updates:

🚨 Breaking Change 🚨

  • Updated the following models to aggregate at the repository grain in addition to their time period grain. (#42, #43)
    • github__daily_metrics
    • github__weekly_metrics
    • github__monthly_metrics
    • github__quarterly_metrics

🎉 Features

  • Added column requested_reviewers to provide a list of users that were requested to review on a pull request. This is to supplement the column reviewers, which provides a list of users that have submitted a reivew, whether or not they were requested to. (#44)
  • PostgreSQL compatibility! (#44)

🔧 Bug Fix

  • Updated model int_github__pull_request_reviewers so that the list of reviewers generated does not contain duplicate usernames. (#44)

🚘 Under the Hood

  • For the metrics models that were updated, added unique-combination-of-column tests for the combination of the time period and repository. (#44)
  • Removed uniqueness tests on time period in metrics models in favor of the combo test. (#44)
  • Removed ordering in metrics models to improve efficiency. (#44)

📝 Contributors

Full Changelog: v0.6.0...v0.7.0

dbt_github v0.6.0

04 Jan 00:21
8275ff6

Choose a tag to compare

PR #35 includes the following breaking changes:

🚨 Breaking Changes 🚨:

  • Dispatch update for dbt-utils to dbt-core cross-db macros migration. Specifically {{ dbt_utils.<macro> }} have been updated to {{ dbt.<macro> }} for the below macros:
    • any_value
    • bool_or
    • cast_bool_to_text
    • concat
    • date_trunc
    • dateadd
    • datediff
    • escape_single_quotes
    • except
    • hash
    • intersect
    • last_day
    • length
    • listagg
    • position
    • replace
    • right
    • safe_cast
    • split_part
    • string_literal
    • type_bigint
    • type_float
    • type_int
    • type_numeric
    • type_string
    • type_timestamp
    • array_append
    • array_concat
    • array_construct
  • For current_timestamp and current_timestamp_in_utc macros, the dispatch AND the macro names have been updated to the below, respectively:
    • dbt.current_timestamp_backcompat
    • dbt.current_timestamp_in_utc_backcompat
  • Dependencies on fivetran/fivetran_utils have been upgraded, previously [">=0.3.0", "<0.4.0"] now [">=0.4.0", "<0.5.0"].

🎉 Documentation and Feature Updates 🎉:

  • Updated README documentation for easier navigation and dbt package setup. #35
  • Added Databricks compatibility. #38

dbt_github 0.5.1

10 Mar 18:15
073c44e

Choose a tag to compare

Happy Thursday!

This release of the dbt_github package includes the following updates:

Fixes

  • The url_link logic within int_github__issue_joined was focused on only providing the correct url for pull requests. This update includes a case when statement to provide the accurate url logic for both Issues and Pull Requests. (#31)

Contributors

dbt_github 0.5.0

17 Feb 18:45
500c022

Choose a tag to compare

Happy Thursday!

This release of the dbt_github package includes the following updates:

🚨 Breaking Changes 🚨

  • The addition of the label source model results in the reference within int_github__issue_label to break. As a result, with the addition of upstream changes within dbt_github_source and the new int_github__issue_label_join model this issue has been resolved. (#26)
    • Please note: It is important you kick off a historical resync of your connector to account for the connector changes from April 2021.

Fixes

  • The int_github__issue_comment model was referencing the stg_github__issue_label model to produce the total count of comments. This has been fixed to correctly reference the stg_github__issue_comment model instead. (#26)