JDBC Driver for GitHub

Build 24.0.9060

Changelog

General Changes

DateBuild
Number
Change
Type
Description
10/02/20249041GitHubAdded
  • Added the following views to the Repository schema: CommitCompare, CommitCompareFiles, and CommitFiles.
  • Added the following stored procedure to the Repository schema: CommitCompare.
09/23/20249032GitHubAdded
  • Added INSERT/UPDATE/DELETE support for the OrganizationTeams view in the Information Data Model.
08/02/20248980GitHubAdded
  • Added the PullRequestReviewRequests table.
  • Added the Permission column to the Collaborators view.
  • Added UPDATE/DELETE support for the Organizations table.
  • Added INSERT/UPDATE/DELETE support for the IssueComments table.
07/23/20248970GitHubAdded
  • Added OrganizationTeamMembers, OrganizationTeamProjects, and OrganizationTeamRepositories as new views in the Information Data Model.
  • Added MinPermissionLevel as a new column in Information.Projects.
07/09/20248956GitHubAdded
  • Added the ParentTeamID, ParentTeamName, AvatarUrl, ReviewRequestDelegationAlgorithm, ReviewRequestDelegationEnabled, ReviewRequestDelegationMemberCount, and ReviewRequestDelegationNotifyTeam columns to the OrganizationTeams view.
07/05/20248952GitHubAdded
  • Added INSERT/UPDATE support for the Repositories table in the Information Data Model.
  • Added CloneTemplateRepository as a stored procedure in the Information Data Model.
  • Added PullRequestCommits and PullRequestFiles as new views in the Repository Data Model.
  • Added INSERT/UPDATE support for Issues and PullRequests tables in the Repository Data Model.
  • Added MergePullRequest and UpdatePullRequestBranch as new stored procedures in the Repository Data Model.
  • Added HeadRepositoryId as a column to the ItemLinkedPullRequests view in the Projects Data Model.
  • Added PullRequestHeadRepositoryId as a column to the Items view in the Projects Data Model.
05/13/20248899GitHubAdded
  • Added support for DownloadFile and UploadFile stored procedures.
05/09/20248895GeneralChanged
  • The ROUND function previously did not accept negative precision values. That feature has now been restored.
04/19/20248875GitHubAdded
  • Added TrafficPageViewsDaily, TrafficPageViewsWeekly, TrafficClonesDaily, TrafficClonesWeekly, TrafficTopReferralSources, TrafficTopReferralPaths as tables to repository schemas. These tables can be used to retrieve analytical information on repository traffic.
03/26/20248851GitHubRemoved
  • Removed DatabaseId column from Project.Items, Repository.Issues, Repository.IssueComments, Repository.PullRequests, Repository.PullRequestComments, Repository.PullRequestReviews, and Repository.PullRequestReviewComments.

Replacements
  • DatabaseId and FullDatabaseId are related columns that provide the same information. FullDatabaseId should be used as a replacement for DatabaseId.
03/15/20248840GeneralAdded
  • Created a new SQL function called STRING_COMPARE that provides java's String.compare() ability to SQL queries. Returns a number representative of the compared value of two strings
03/05/20248830GitHubAdded
  • Added HasSponsorshipsEnabled to Information.Repositories.
  • Added FullDatabaseId to Project.Items.
  • Added HasIssuesEnabled, IsPrivate, Visibility, StargazerCount to Repository.Forks.
  • Added FullDatabaseId to Repository.PullRequestReviewComments, Repository.PullRequestReviews, Repository.PullRequests.
  • Added IsMergeQueueEnabled, IsInMergeQueue to PullRequests.
02/08/20248804GitHubAdded
  • Added Enterprises to the Information schema. This table lists information about the user that own the enterprise.
  • Added Collaborators to Repository schemas. This table lists information about the collaborators associated with the repository.
  • Added MergeQueueEntries to Repository schemas. This table lists information about the different entries on an merge queue.
  • Added MergeQueues to Repository schemas. This table lists information about the different labels you can apply on an issue.
  • Added PullRequestComments to Repository schemas. This table lists information about comments which were made on a specific pull request.
  • Added PullRequestReviewComments to Repository schemas. This table lists information about comments which were made on a pull request review.

Changed
  • Added three new columns IsMinimized, MinimizedReason and ViewerCanMinimize in the PullRequestReview view.
  • Added a new column ArchivedAt in the Organizations view.
01/19/20248784GitHubAdded
  • Added OrganizationMembers to the Information schema. This table lists information about the users of the logged in user's organizations or the teams of the specified organization.
  • Added AssignableUsers to Repository schemas. This table lists information about the users that can be assigned to issues in this repository.
  • Added MentionableUsers to Repository schemas. This table lists information about the users that can be mentioned in the context of the repository.
  • Added Stargazers to Repository schemas. This table lists information about the users who have starred the repository.
  • Added IssueAssignees to Repository schemas. This table lists information about the users assigned to the repository's issues.

Changed
  • Added 'admin:org' as a default OAuth scope. This scope is required to query OrganizationBillingEmail and RequiresTwoFactorAuthentication in the Organizations view.
  • Removed 'Stars' as an input from Repositories. Added 'StargazerCount' as a column with the same filters.
  • Removed 'Followers' as an input from Repositories. Filtering by this input is the same as filtering by 'StargazerCount'.
  • Removed 'Size' as an input from Repositories. Added 'DiskUsage' as a column with the same filters.
  • Removed 'Topics' as an input from Repositories. Added 'TopicCount' as a column with the same filters.
  • Removed 'Comments' as an input from Issues. Added 'CommentCount' as a column with the same filters.
  • Removed 'Reactions' as an input from Issues. Added 'ReactionCount' as a column with the same filters.

Removed
  • Removed the 'Users' table from the Information schema.
  • Removed the 'FollowRenames' input from Repositories.
  • Removed the 'Topic' input from Repositories. The 'Topics' table within a Repository can be used to search for a repository's topics.
  • Removed the 'Interactions' input from Issues. Interactions are the sum of comments (CommentCount) and reactions (ReactionCount) on an issue.
  • Removed '!=' (not equal) filtering for the 'Mentions' input in Issues.
  • Removed '!=' (not equal) filtering for the 'Assignee' input in Issues.
11/29/20238733GeneralChanged
  • The ROUND function doesn't accept the negative precision values anymore.

Changed
  • The returning types of the FDMonth, FDQuarter, FDWeek, LDMonth, LDQuarter, LDWeek functions are changed from Timestamp to Date.
  • The return type of the ABS function will be consistent with the parameter value type.
11/28/20238732GeneralAdded
  • Added the HMACSHA256 formatter to allow for secrets to be decoded if it is in base64 format
10/27/20238700JDBCChanged
  • Added support for Connection.abort() method.
10/10/20238683GitHubAdded
  • Added support for ProjectsV2.
  • Added support for retrieving ProjectV2 items (Items, ItemAssignees, ItemLabels, ItemReviewers etc.).
  • Added support for retrieving ProjectV2 views. The views will be pushed according to the user-specified visible fields, filter and sort by configurations.
  • Added OrganizationTeams as a new table.
  • Added OrganizationMannequins as a new table.
  • Added the following columns to the Watchers table, DatabaseId, Login, Pronouns, Bio, BioHTML, AnyPinnableItems, ItemShowcaseHasPinnedItems, IsFollowingViewer, IsGitHubStar, IsSponsoringViewer, ViewerCanSponsor, ViewerIsSponsoring, StatusId, StatusEmoji, StatusMessage, StatusIndicatesLimitedAvailability, StatusEmojiHTML, StatusCreatedAt, StatusExpiresAt, StatusUpdatedAt, StatusOrganizationId, StatusOrganizationLogin, InteractionAbilityLimit, InteractionAbilityOrigin, InteractionAbilityExpiresAt, HasSponsorsListing, MonthlyEstimatedSponsorsIncomeInCents, EstimatedNextSponsorsPayoutInCents, SponsorsListingId, SponsorsListingName, ProjectsResourcePath, AvatarUrl.
  • Added the following columns to the Issues table, FullDatabaseId, TitleHTML, BodyResourcePath, BodyUrl, StateReason, IsPinned, MilestoneTitle, MilestoneNumber, IsReadByViewer, ViewerCanClose, ViewerCanReopen, ViewerCanDelete, ViewerThreadSubscriptionStatus, ViewerThreadSubscriptionFormAction, ViewerCannotUpdateReasons.
  • Added the following columns to the PullRequests table, BaseRefId, HeadRefId, TitleHTML, TotalCommentsCount, MilestoneTitle, MilestoneNumber, AutoMergeRequestCommitHeadline, AutoMergeRequestAuthorEmail, AutoMergeRequestCommitBody, AutoMergeRequestEnabledAt, AutoMergeRequestMergeMethod, IsReadByViewer, ViewerCanClose, ViewerCanReopen, ViewerCanEditFiles, ViewerCanDeleteHeadRef, ViewerCanDisableAutoMerge, ViewerCanEnableAutoMerge, ViewerCanMergeAsAdmin, ViewerCanUpdateBranch, ViewerCannotUpdateReasons, ViewerLatestReviewRequestId, ViewerLatestReviewId, MergeQueueEntryId, MergeQueueEntryJump, MergeQueueEntryPosition, MergeQueueEntrySolo, MergeQueueEntryState, MergeQueueEntryEnqueuedAt, MergeQueueEntryEstimatedTimeToMerge, MergeQueueEntryBaseCommitId, MergeQueueEntryHeadCommitId, MergeQueueEntryMergeQueueId, MergeQueueEntryMergeQueueUrl, MergeQueueEntryMergeQueueResourcePath, MergeQueueEntryMergeQueueNextEntryEstimatedTimeToMerge.
  • Added the following columns to the CommitComments table, DatabaseId, ViewerCannotUpdateReasons.
  • Added the following columns to the Forks table, ForkOwnerLogin, ForkCount, ForkingAllowed.
  • Added the following columns to the Users table, Pronouns, ItemShowcaseHasPinnedItems, IsFollowingViewer, IsGitHubStar, IsSponsoringViewer, ViewerCanSponsor, ViewerIsSponsoring, StatusId, StatusEmoji, StatusMessage, StatusIndicatesLimitedAvailability, StatusEmojiHTML, StatusCreatedAt, StatusExpiresAt, StatusUpdatedAt, StatusOrganizationId, StatusOrganizationLogin, InteractionAbilityLimit, InteractionAbilityOrigin, InteractionAbilityExpiresAt, HasSponsorsListing, MonthlyEstimatedSponsorsIncomeInCents, EstimatedNextSponsorsPayoutInCents, SponsorsListingId, SponsorsListingName, TotalSponsorshipAmountAsSponsorInCents.
  • Added the following column to the Topics table, StargazerCount.
  • Added the following columns to the IssueComments table, FullDatabaseId, IssueId, ViewerId, ViewerCannotUpdateReasons.
  • Added the following columns to the PullRequestReviews table, PullRequestId, DatabaseId, ReactionGroups, AuthorAssociation, AuthorCanPushToRepository, ViewerCannotUpdateReasons.
  • Added the following columns to the Organizations table, WebCommitSignoffRequired, MembersCanForkPrivateRepositories, NotificationDeliveryRestrictionEnabledSetting, IpAllowListForInstalledAppsEnabledSetting, Announcement, AnnouncementUserDismissible, AnnouncementExpiresAt, IsSponsoringViewer, ViewerCanSponsor, ViewerIsFollowing, ViewerIsSponsoring, InteractionAbilityLimit, InteractionAbilityOrigin, InteractionAbilityExpiresAt, ItemShowcaseHasPinnedItems, SamlIdentityProviderId, SamlIdentityProviderIssuer, SamlIdentityProviderDigestMethod, SamlIdentityProviderIdpCertificate, SamlIdentityProviderSignatureMethod, SamlIdentityProviderSsoUrl, HasSponsorsListing, SponsorsListingId, SponsorsListingName, EstimatedNextSponsorsPayoutInCents, MonthlyEstimatedSponsorsIncomeInCents, MemberLogin.
  • Added the following columns to the Releases table, DatabaseId, IsLatest, ViewerCanReact, AuthorId, TagId, TagCommitId.
  • Added the following columns to the Commits table, Oid, AbbreviatedOid, ChangedFilesIfAvailable, AuthorName, AuthorDate, CommitterName, CommitterDate, OnBehalfOfId, StatusId, StatusCheckRollupId, TreeId, TreeOid, TreeAbbreviatedOid, TreeCommitUrl, TreeCommitResourcePath.
  • Added the following columns to the Repositories table, DatabaseId, NameWithOwner, Visibility, StargazerCount, TempCloneToken, WebCommitSignoffRequired, SecurityPolicyUrl, MergeCommitTitle, MergeCommitMessage, SquashMergeCommitTitle, SquashMergeCommitMessage, HasDiscussionsEnabled, HasVulnerabilityAlertsEnabled, IsInOrganization, IsBlankIssuesEnabled, IsSecurityPolicyEnabled, IsUserConfigurationRepository, IsEmpty, ForkingAllowed, AutoMergeAllowed, AllowUpdateBranch, ViewerDefaultCommitEmail, ViewerDefaultMergeMethod, ViewerPossibleCommitEmails, CodeOfConductId, CodeOfConductName, CodeOfConductBody, CodeOfConductKey, CodeOfConductUrl, CodeOfConductResourcePath, DefaultBranchRefId, DefaultBranchRefName, InteractionAbilityLimit, InteractionAbilityOrigin, InteractionAbilityExpiresAt, LatestReleaseId, LatestReleaseName, LicenseId, ArchivedAt, FollowRenames.
  • Added the following columns to the Milestones table, ViewerCanClose, ViewerCanReopen.

Changed
  • The driver has been changed to support multiple schema. RepositoryName and UserLogin are removed as connection properties and replaced with OwnerLogin - a unique login name belonging either to a user or an organization. You can set this connection property to have the driver list repositories and projects owned by a specific user or organization in GitHub as their own schema. The 'Information' schema contains tables that can be used to retrieve general GitHub information. 'Project' type schemas are pushed for each ProjectV2 project in a user or organization's account. 'Repository' type schemas are pushed for each repository in a user or organization's account.

Removed
  • Removed Projects table (classic).
  • Removed ProjectColumns table (classic).
  • Removed the following columns from the ReleaseAssets table, UserLogin, RepositoryName.
  • Removed the following columns from the Issues table, UserLogin, RepositoryName.
  • Removed the following columns from the PullRequests table, UserLogin, RepositoryName.
  • Removed the following columns from the Branches table, UserLogin, RepositoryName.
  • Removed the following columns from the CommitComments table, UserLogin, RepositoryName.
  • Removed the following columns from the Forks table, UserLogin, RepositoryName.
  • Removed the following columns from the Topics table, UserLogin, RepositoryName.
  • Removed the following columns from the IssueComments table, UserLogin, RepositoryName.
  • Removed the following columns from the PullRequestReviews table, UserLogin, RepositoryName.
  • Removed the following columns from the Releases table, UserLogin, RepositoryName.
  • Removed the following columns from the Commits table, UserLogin, RepositoryName, PushedDate.
  • Removed the following column from the Repositories table, UserLogin.
  • Removed the following columns from the Milestones table, UserLogin, RepositoryName.
06/20/20238571GeneralAdded
  • Added the new sys_lastresultinfo system table.
04/27/20238517GitHubChanged
  • Changed Milestones.ProgressPercentage data type from "float" to "double".
04/25/20238515GeneralRemoved
  • Removed support for the SELECT INTO CSV statement. The core code doesn't support it anymore.
12/14/20228383GeneralChanged
  • Added the Default column to the sys_procedureparameters table.
11/10/20228349GitHubRemoved
  • From table Commits the column ChangedFiles was removed.
10/26/20228334GitHubAdded
  • Added support for executing the IN operation in the following tables: "LicenseConditions", "LicenseLimitations", "LicensePermissions".
  • A subquery selecting all licenses will be added automatically if one of the following tables would be quired: "LicenseConditions", "LicenseLimitations", "LicensePermissions".
09/30/20228308GeneralChanged
  • Added the IsPath column to the sys_procedureparameters table.
06/11/20228197JDBCChanged
  • The method GetJDBCMinorVersion() and GetJDBCMajorVersion() return 4.2 as the supported JDBC major / minor version.
04/28/20228153JDBCChanged
  • Removed support for JRE 1.6. JRE 1.8 and above is now required.
02/25/20228091JDBCChanged
  • The method DatabaseMetaData.getTypeInfo() now returns all of the data types that the driver supports. Previously, it was returning only a portion of the data types. The types include: tinyint, smallint, int, bigint, float, double, numeric, decimal, bit, date, datetime, time, varchar, binary, uuid.
02/24/20228090JDBCChanged
  • Corrected the return value of method DatabaseMetaData.supportsOuterJoins(), which used to return an incorrect value.
02/24/20228090GitHubAdded
  • Added server side support for executing the IN operation against the State column in the PullRequests and PullRequestReviews tables.
10/27/20217970JDBCChanged
  • Added support for JDK 17
10/20/20217963GitHubAdded
  • Added the column ProgressPercentage to the Milestones view.

Removed
  • Removed the column IssuePrioritiesDebug from the Milestones table since it was removed from the GitHub API.
09/12/20217925JDBCRemoved
  • Removed the IS_READONLY, IS_KEY, NUMERIC_PRECISION, and DECIMAL_DIGITS columns from DatabaseMetadata.GetColumns(), as they are not part of the JDBC Specification. This information is still available via other metadata calls.
09/02/20217915GeneralAdded
  • Added support for the STRING_SPLIT table-valued function in the CROSS APPLY clause.
08/07/20217889GeneralChanged
  • Added the KeySeq column to the sys_foreignkeys table.
08/06/20217888GeneralChanged
  • Added the new sys_primarykeys system table.
07/23/20217874GeneralChanged
  • Updated the Literal Function Names for relative date/datetime functions. Previously, relative date/datetime functions resolved to a different value when used in the projection as opposed to the predicate. For example: SELECT LAST_MONTH() AS lm, Col FROM Table WHERE Col > LAST_MONTH(). Formerly, the two LAST_MONTH() methods would resolve to different datetimes. Now, they will match.
  • As a replacement for the previous behavior, the relative date/datetime functions in the criteria may have an 'L' appended to them. For example: WHERE col > L_LAST_MONTH(). This will continue to resolve to the same values that were previously calculated in the criteria. Note that the "L_" prefix will only work in the predicate - it not available for the projection.
04/25/20217785GeneralAdded
  • Added support for handling client side formulas during insert / update. For example: UPDATE Table SET Col1 = CONCAT(Col1, " - ", Col2) WHERE Col2 LIKE 'A%'
04/23/20217783GeneralChanged
  • Updated how display sizes are determined for varchar primary key and foreign key columns so they will match the reported length of the column.
04/16/20217776GeneralAdded
  • Non-conditional updates between two columns is now available to all drivers. For example: UPDATE Table SET Col1=Col2
04/16/20217776GeneralChanged
  • Reduced the length to 255 for varchar primary key and foreign key columns.

Changed
  • Updated index naming convention to avoid duplicates.
04/16/20217776GeneralChanged
  • Updated implicit and metadata caching to improve performance and support for multiple connections. Old metadata caches are not compatible - you need to generate new metadata caches if you are currently using CacheMetadata.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060