diff --git a/content/code-security/secret-scanning/about-secret-scanning.md b/content/code-security/secret-scanning/about-secret-scanning.md index 519e8b2ba2..b9dce9457c 100644 --- a/content/code-security/secret-scanning/about-secret-scanning.md +++ b/content/code-security/secret-scanning/about-secret-scanning.md @@ -74,6 +74,10 @@ If you're a repository administrator you can enable {% data variables.product.pr {% ifversion ghes or ghae or ghec %}You can also define custom {% data variables.product.prodname_secret_scanning %} patterns for a repository, organization, or enterprise. For more information, see "[Defining custom patterns for {% data variables.product.prodname_secret_scanning %}](/code-security/secret-security/defining-custom-patterns-for-secret-scanning)." {% endif %} + +{% ifversion secret-scanning-ghas-store-tokens %} +{% data variables.product.company_short %} stores detected secrets using symmetric encryption, both in transit and at rest.{% endif %}{% ifversion ghes > 3.7 %} To rotate the encryption keys used for storing the detected secrets, you can contact {% data variables.contact.contact_ent_support %}.{% endif %} + ### About {% data variables.product.prodname_secret_scanning %} alerts When you enable {% data variables.product.prodname_secret_scanning %} for a repository or push commits to a repository with {% data variables.product.prodname_secret_scanning %} enabled, {% data variables.product.prodname_dotcom %} scans the contents of those commits for secrets that match patterns defined by service providers{% ifversion ghes or ghae or ghec %} and any custom patterns defined in your enterprise, organization, or repository{% endif %}. {% ifversion secret-scanning-backfills %}{% data variables.product.prodname_dotcom %} also periodically runs a scan of all historical content in repositories with {% data variables.product.prodname_secret_scanning %} enabled.{% endif%} diff --git a/data/features/secret-scanning-ghas-store-tokens.yml b/data/features/secret-scanning-ghas-store-tokens.yml new file mode 100644 index 0000000000..9428d6b099 --- /dev/null +++ b/data/features/secret-scanning-ghas-store-tokens.yml @@ -0,0 +1,5 @@ +# Issue 8348 +# Secret Scanning - Persist detected secrets in encrypted storage +versions: + ghec: '*' + ghes: '>=3.8' diff --git a/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml b/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml index e9053d9f8a..b878c8c5a4 100644 --- a/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml +++ b/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml @@ -265,3 +265,23 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: alcere + - location: ProjectV2View.sortBy + description: + '`sortBy` will be removed. Check out the `ProjectV2View#sort_by_fields` + API as an example for the more capable alternative.' + reason: + The `ProjectV2View#sort_by` API is deprecated in favour of the more capable + `ProjectV2View#sort_by_fields` API. + date: '2023-04-01T00:00:00+00:00' + criticality: breaking + owner: traumverloren + - location: ProjectV2View.verticalGroupBy + description: + '`verticalGroupBy` will be removed. Check out the `ProjectV2View#vertical_group_by_fields` + API as an example for the more capable alternative.' + reason: + The `ProjectV2View#vertical_group_by` API is deprecated in favour of the + more capable `ProjectV2View#vertical_group_by_fields` API. + date: '2023-04-01T00:00:00+00:00' + criticality: breaking + owner: traumverloren diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index f459eb4787..aaaff7cf84 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -4654,6 +4654,117 @@ input CommittableBranch { repositoryNameWithOwner: String } +""" +Represents a comparison between two commit revisions. +""" +type Comparison implements Node { + """ + The number of commits ahead of the base branch. + """ + aheadBy: Int! + + """ + The base revision of this comparison. + """ + baseTarget: GitObject! + + """ + The number of commits behind the base branch. + """ + behindBy: Int! + + """ + The commits which compose this comparison. + """ + commits( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ComparisonCommitConnection! + + """ + The head revision of this comparison. + """ + headTarget: GitObject! + id: ID! + + """ + The status of this comparison. + """ + status: ComparisonStatus! +} + +""" +The connection type for Commit. +""" +type ComparisonCommitConnection { + """ + The total count of authors and co-authors across all commits. + """ + authorCount: Int! + + """ + A list of edges. + """ + edges: [CommitEdge] + + """ + A list of nodes. + """ + nodes: [Commit] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +The status of a git comparison between two refs. +""" +enum ComparisonStatus { + """ + The head ref is ahead of the base ref. + """ + AHEAD + + """ + The head ref is behind the base ref. + """ + BEHIND + + """ + The head ref is both ahead and behind of the base ref, indicating git history has diverged. + """ + DIVERGED + + """ + The head ref and base ref are identical. + """ + IDENTICAL +} + """ Represents a 'connected' event on a given issue or pull request. """ @@ -28738,6 +28849,16 @@ type Ref implements Node { Branch protection rules for this ref """ branchProtectionRule: BranchProtectionRule + + """ + Compares the current ref as a base ref to another head ref, if the comparison can be made. + """ + compare( + """ + The head ref to compare against. + """ + headRef: String! + ): Comparison id: ID! """ diff --git a/data/graphql/ghec/graphql_upcoming_changes.public.yml b/data/graphql/ghec/graphql_upcoming_changes.public.yml index d26711ac7a..c3c177fd07 100644 --- a/data/graphql/ghec/graphql_upcoming_changes.public.yml +++ b/data/graphql/ghec/graphql_upcoming_changes.public.yml @@ -1756,3 +1756,23 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: alcere + - location: ProjectV2View.sortBy + description: + '`sortBy` will be removed. Check out the `ProjectV2View#sort_by_fields` + API as an example for the more capable alternative.' + reason: + The `ProjectV2View#sort_by` API is deprecated in favour of the more capable + `ProjectV2View#sort_by_fields` API. + date: '2023-04-01T00:00:00+00:00' + criticality: breaking + owner: traumverloren + - location: ProjectV2View.verticalGroupBy + description: + '`verticalGroupBy` will be removed. Check out the `ProjectV2View#vertical_group_by_fields` + API as an example for the more capable alternative.' + reason: + The `ProjectV2View#vertical_group_by` API is deprecated in favour of the + more capable `ProjectV2View#vertical_group_by_fields` API. + date: '2023-04-01T00:00:00+00:00' + criticality: breaking + owner: traumverloren diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 0f913a43ec..c383f420e5 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -5128,6 +5128,117 @@ input CommittableBranch { repositoryNameWithOwner: String } +""" +Represents a comparison between two commit revisions. +""" +type Comparison implements Node { + """ + The number of commits ahead of the base branch. + """ + aheadBy: Int! + + """ + The base revision of this comparison. + """ + baseTarget: GitObject! + + """ + The number of commits behind the base branch. + """ + behindBy: Int! + + """ + The commits which compose this comparison. + """ + commits( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ComparisonCommitConnection! + + """ + The head revision of this comparison. + """ + headTarget: GitObject! + id: ID! + + """ + The status of this comparison. + """ + status: ComparisonStatus! +} + +""" +The connection type for Commit. +""" +type ComparisonCommitConnection { + """ + The total count of authors and co-authors across all commits. + """ + authorCount: Int! + + """ + A list of edges. + """ + edges: [CommitEdge] + + """ + A list of nodes. + """ + nodes: [Commit] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +The status of a git comparison between two refs. +""" +enum ComparisonStatus { + """ + The head ref is ahead of the base ref. + """ + AHEAD + + """ + The head ref is behind the base ref. + """ + BEHIND + + """ + The head ref is both ahead and behind of the base ref, indicating git history has diverged. + """ + DIVERGED + + """ + The head ref and base ref are identical. + """ + IDENTICAL +} + """ Represents a 'connected' event on a given issue or pull request. """ @@ -31325,6 +31436,61 @@ type ProjectV2SortByEdge { node: ProjectV2SortBy } +""" +Represents a sort by field and direction. +""" +type ProjectV2SortByField { + """ + The direction of the sorting. Possible values are ASC and DESC. + """ + direction: OrderDirection! + + """ + The field by which items are sorted. + """ + field: ProjectV2FieldConfiguration! +} + +""" +The connection type for ProjectV2SortByField. +""" +type ProjectV2SortByFieldConnection { + """ + A list of edges. + """ + edges: [ProjectV2SortByFieldEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2SortByField] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2SortByFieldEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2SortByField +} + """ A view within a ProjectV2. """ @@ -31482,6 +31648,34 @@ type ProjectV2View implements Node { """ last: Int ): ProjectV2SortByConnection + @deprecated( + reason: "The `ProjectV2View#sort_by` API is deprecated in favour of the more capable `ProjectV2View#sort_by_fields` API. Check out the `ProjectV2View#sort_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC." + ) + + """ + The view's sort-by config. + """ + sortByFields( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ProjectV2SortByFieldConnection """ Identifies the date and time when the object was last updated. @@ -31517,6 +31711,39 @@ type ProjectV2View implements Node { """ orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} ): ProjectV2FieldConnection + @deprecated( + reason: "The `ProjectV2View#vertical_group_by` API is deprecated in favour of the more capable `ProjectV2View#vertical_group_by_fields` API. Check out the `ProjectV2View#vertical_group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC." + ) + + """ + The view's vertical-group-by field. + """ + verticalGroupByFields( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for the project v2 fields returned from the connection. + """ + orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} + ): ProjectV2FieldConfigurationConnection """ The view's visible fields. @@ -35898,6 +36125,16 @@ type Ref implements Node { Branch protection rules for this ref """ branchProtectionRule: BranchProtectionRule + + """ + Compares the current ref as a base ref to another head ref, if the comparison can be made. + """ + compare( + """ + The head ref to compare against. + """ + headRef: String! + ): Comparison id: ID! """ diff --git a/data/graphql/graphql_upcoming_changes.public.yml b/data/graphql/graphql_upcoming_changes.public.yml index d26711ac7a..c3c177fd07 100644 --- a/data/graphql/graphql_upcoming_changes.public.yml +++ b/data/graphql/graphql_upcoming_changes.public.yml @@ -1756,3 +1756,23 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: alcere + - location: ProjectV2View.sortBy + description: + '`sortBy` will be removed. Check out the `ProjectV2View#sort_by_fields` + API as an example for the more capable alternative.' + reason: + The `ProjectV2View#sort_by` API is deprecated in favour of the more capable + `ProjectV2View#sort_by_fields` API. + date: '2023-04-01T00:00:00+00:00' + criticality: breaking + owner: traumverloren + - location: ProjectV2View.verticalGroupBy + description: + '`verticalGroupBy` will be removed. Check out the `ProjectV2View#vertical_group_by_fields` + API as an example for the more capable alternative.' + reason: + The `ProjectV2View#vertical_group_by` API is deprecated in favour of the + more capable `ProjectV2View#vertical_group_by_fields` API. + date: '2023-04-01T00:00:00+00:00' + criticality: breaking + owner: traumverloren diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 0f913a43ec..c383f420e5 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -5128,6 +5128,117 @@ input CommittableBranch { repositoryNameWithOwner: String } +""" +Represents a comparison between two commit revisions. +""" +type Comparison implements Node { + """ + The number of commits ahead of the base branch. + """ + aheadBy: Int! + + """ + The base revision of this comparison. + """ + baseTarget: GitObject! + + """ + The number of commits behind the base branch. + """ + behindBy: Int! + + """ + The commits which compose this comparison. + """ + commits( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ComparisonCommitConnection! + + """ + The head revision of this comparison. + """ + headTarget: GitObject! + id: ID! + + """ + The status of this comparison. + """ + status: ComparisonStatus! +} + +""" +The connection type for Commit. +""" +type ComparisonCommitConnection { + """ + The total count of authors and co-authors across all commits. + """ + authorCount: Int! + + """ + A list of edges. + """ + edges: [CommitEdge] + + """ + A list of nodes. + """ + nodes: [Commit] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +The status of a git comparison between two refs. +""" +enum ComparisonStatus { + """ + The head ref is ahead of the base ref. + """ + AHEAD + + """ + The head ref is behind the base ref. + """ + BEHIND + + """ + The head ref is both ahead and behind of the base ref, indicating git history has diverged. + """ + DIVERGED + + """ + The head ref and base ref are identical. + """ + IDENTICAL +} + """ Represents a 'connected' event on a given issue or pull request. """ @@ -31325,6 +31436,61 @@ type ProjectV2SortByEdge { node: ProjectV2SortBy } +""" +Represents a sort by field and direction. +""" +type ProjectV2SortByField { + """ + The direction of the sorting. Possible values are ASC and DESC. + """ + direction: OrderDirection! + + """ + The field by which items are sorted. + """ + field: ProjectV2FieldConfiguration! +} + +""" +The connection type for ProjectV2SortByField. +""" +type ProjectV2SortByFieldConnection { + """ + A list of edges. + """ + edges: [ProjectV2SortByFieldEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2SortByField] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2SortByFieldEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2SortByField +} + """ A view within a ProjectV2. """ @@ -31482,6 +31648,34 @@ type ProjectV2View implements Node { """ last: Int ): ProjectV2SortByConnection + @deprecated( + reason: "The `ProjectV2View#sort_by` API is deprecated in favour of the more capable `ProjectV2View#sort_by_fields` API. Check out the `ProjectV2View#sort_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC." + ) + + """ + The view's sort-by config. + """ + sortByFields( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ProjectV2SortByFieldConnection """ Identifies the date and time when the object was last updated. @@ -31517,6 +31711,39 @@ type ProjectV2View implements Node { """ orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} ): ProjectV2FieldConnection + @deprecated( + reason: "The `ProjectV2View#vertical_group_by` API is deprecated in favour of the more capable `ProjectV2View#vertical_group_by_fields` API. Check out the `ProjectV2View#vertical_group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC." + ) + + """ + The view's vertical-group-by field. + """ + verticalGroupByFields( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for the project v2 fields returned from the connection. + """ + orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} + ): ProjectV2FieldConfigurationConnection """ The view's visible fields. @@ -35898,6 +36125,16 @@ type Ref implements Node { Branch protection rules for this ref """ branchProtectionRule: BranchProtectionRule + + """ + Compares the current ref as a base ref to another head ref, if the comparison can be made. + """ + compare( + """ + The head ref to compare against. + """ + headRef: String! + ): Comparison id: ID! """ diff --git a/lib/graphql/static/changelog.json b/lib/graphql/static/changelog.json index 861d097e05..0158e4fe53 100644 --- a/lib/graphql/static/changelog.json +++ b/lib/graphql/static/changelog.json @@ -1,4 +1,33 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Type Comparison was added
Type ComparisonCommitConnection was added
Type ComparisonStatus was added
Type 'ProjectV2SortByField' was added
", + "Type 'ProjectV2SortByFieldConnection' was added
", + "Type 'ProjectV2SortByFieldEdge' was added
", + "Field sortByFields was added to object type 'ProjectV2View'
Field verticalGroupByFields was added to object type 'ProjectV2View'
Field compare was added to object type Ref
On member ProjectV2View.sortBy:sortBy will be removed. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative. Effective 2023-04-01.
On member ProjectV2View.verticalGroupBy:verticalGroupBy will be removed. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative. Effective 2023-04-01.
Represents a comparison between two commit revisions.
", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "aheadBy", + "description": "The number of commits ahead of the base branch.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "baseTarget", + "description": "The base revision of this comparison.
", + "type": "GitObject!", + "id": "gitobject", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#gitobject" + }, + { + "name": "behindBy", + "description": "The number of commits behind the base branch.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "commits", + "description": "The commits which compose this comparison.
", + "type": "ComparisonCommitConnection!", + "id": "comparisoncommitconnection", + "kind": "objects", + "href": "/graphql/reference/objects#comparisoncommitconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, + { + "name": "headTarget", + "description": "The head revision of this comparison.
", + "type": "GitObject!", + "id": "gitobject", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#gitobject" + }, + { + "name": "status", + "description": "The status of this comparison.
", + "type": "ComparisonStatus!", + "id": "comparisonstatus", + "kind": "enums", + "href": "/graphql/reference/enums#comparisonstatus" + } + ] + }, + { + "name": "ComparisonCommitConnection", + "kind": "objects", + "id": "comparisoncommitconnection", + "href": "/graphql/reference/objects#comparisoncommitconnection", + "description": "The connection type for Commit.
", + "fields": [ + { + "name": "authorCount", + "description": "The total count of authors and co-authors across all commits.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "edges", + "description": "A list of edges.
", + "type": "[CommitEdge]", + "id": "commitedge", + "kind": "objects", + "href": "/graphql/reference/objects#commitedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[Commit]", + "id": "commit", + "kind": "objects", + "href": "/graphql/reference/objects#commit" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, { "name": "ConnectedEvent", "kind": "objects", @@ -43789,6 +43944,97 @@ } ] }, + { + "name": "ProjectV2SortByField", + "kind": "objects", + "id": "projectv2sortbyfield", + "href": "/graphql/reference/objects#projectv2sortbyfield", + "description": "Represents a sort by field and direction.
", + "fields": [ + { + "name": "direction", + "description": "The direction of the sorting. Possible values are ASC and DESC.
", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "The field by which items are sorted.
", + "type": "ProjectV2FieldConfiguration!", + "id": "projectv2fieldconfiguration", + "kind": "unions", + "href": "/graphql/reference/unions#projectv2fieldconfiguration" + } + ] + }, + { + "name": "ProjectV2SortByFieldConnection", + "kind": "objects", + "id": "projectv2sortbyfieldconnection", + "href": "/graphql/reference/objects#projectv2sortbyfieldconnection", + "description": "The connection type for ProjectV2SortByField.
", + "fields": [ + { + "name": "edges", + "description": "A list of edges.
", + "type": "[ProjectV2SortByFieldEdge]", + "id": "projectv2sortbyfieldedge", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2sortbyfieldedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[ProjectV2SortByField]", + "id": "projectv2sortbyfield", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2sortbyfield" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "ProjectV2SortByFieldEdge", + "kind": "objects", + "id": "projectv2sortbyfieldedge", + "href": "/graphql/reference/objects#projectv2sortbyfieldedge", + "description": "An edge in a connection.
", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "The item at the end of the edge.
", + "type": "ProjectV2SortByField", + "id": "projectv2sortbyfield", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2sortbyfield" + } + ] + }, { "name": "ProjectV2View", "kind": "objects", @@ -44048,6 +44294,58 @@ "id": "projectv2sortbyconnection", "kind": "objects", "href": "/graphql/reference/objects#projectv2sortbyconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ], + "isDeprecated": true, + "deprecationReason": "The ProjectV2View#sort_by API is deprecated in favour of the more capable ProjectV2View#sort_by_fields API. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.
The view's sort-by config.
", + "type": "ProjectV2SortByFieldConnection", + "id": "projectv2sortbyfieldconnection", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2sortbyfieldconnection", "arguments": [ { "name": "after", @@ -44106,6 +44404,68 @@ "id": "projectv2fieldconnection", "kind": "objects", "href": "/graphql/reference/objects#projectv2fieldconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "Ordering options for the project v2 fields returned from the connection.
", + "type": { + "name": "ProjectV2FieldOrder", + "id": "projectv2fieldorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#projectv2fieldorder" + } + } + ], + "isDeprecated": true, + "deprecationReason": "The ProjectV2View#vertical_group_by API is deprecated in favour of the more capable ProjectV2View#vertical_group_by_fields API. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.
The view's vertical-group-by field.
", + "type": "ProjectV2FieldConfigurationConnection", + "id": "projectv2fieldconfigurationconnection", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2fieldconfigurationconnection", "arguments": [ { "name": "after", @@ -49797,6 +50157,26 @@ "kind": "objects", "href": "/graphql/reference/objects#branchprotectionrule" }, + { + "name": "compare", + "description": "Compares the current ref as a base ref to another head ref, if the comparison can be made.
", + "type": "Comparison", + "id": "comparison", + "kind": "objects", + "href": "/graphql/reference/objects#comparison", + "arguments": [ + { + "name": "headRef", + "description": "The head ref to compare against.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "name", "description": "The ref name.
", @@ -74543,6 +74923,31 @@ } ] }, + { + "name": "ComparisonStatus", + "kind": "enums", + "id": "comparisonstatus", + "href": "/graphql/reference/enums#comparisonstatus", + "description": "The status of a git comparison between two refs.
", + "values": [ + { + "name": "AHEAD", + "description": "The head ref is ahead of the base ref.
" + }, + { + "name": "BEHIND", + "description": "The head ref is behind the base ref.
" + }, + { + "name": "DIVERGED", + "description": "The head ref is both ahead and behind of the base ref, indicating git history has diverged.
" + }, + { + "name": "IDENTICAL", + "description": "The head ref and base ref are identical.
" + } + ] + }, { "name": "ContributionLevel", "kind": "enums", diff --git a/lib/graphql/static/schema-ghae.json b/lib/graphql/static/schema-ghae.json index 1c78df5a32..34fcffa97e 100644 --- a/lib/graphql/static/schema-ghae.json +++ b/lib/graphql/static/schema-ghae.json @@ -11479,6 +11479,161 @@ } ] }, + { + "name": "Comparison", + "kind": "objects", + "id": "comparison", + "href": "/graphql/reference/objects#comparison", + "description": "Represents a comparison between two commit revisions.
", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "aheadBy", + "description": "The number of commits ahead of the base branch.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "baseTarget", + "description": "The base revision of this comparison.
", + "type": "GitObject!", + "id": "gitobject", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#gitobject" + }, + { + "name": "behindBy", + "description": "The number of commits behind the base branch.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "commits", + "description": "The commits which compose this comparison.
", + "type": "ComparisonCommitConnection!", + "id": "comparisoncommitconnection", + "kind": "objects", + "href": "/graphql/reference/objects#comparisoncommitconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, + { + "name": "headTarget", + "description": "The head revision of this comparison.
", + "type": "GitObject!", + "id": "gitobject", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#gitobject" + }, + { + "name": "status", + "description": "The status of this comparison.
", + "type": "ComparisonStatus!", + "id": "comparisonstatus", + "kind": "enums", + "href": "/graphql/reference/enums#comparisonstatus" + } + ] + }, + { + "name": "ComparisonCommitConnection", + "kind": "objects", + "id": "comparisoncommitconnection", + "href": "/graphql/reference/objects#comparisoncommitconnection", + "description": "The connection type for Commit.
", + "fields": [ + { + "name": "authorCount", + "description": "The total count of authors and co-authors across all commits.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "edges", + "description": "A list of edges.
", + "type": "[CommitEdge]", + "id": "commitedge", + "kind": "objects", + "href": "/graphql/reference/objects#commitedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[Commit]", + "id": "commit", + "kind": "objects", + "href": "/graphql/reference/objects#commit" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, { "name": "ConnectedEvent", "kind": "objects", @@ -39979,6 +40134,26 @@ "kind": "objects", "href": "/graphql/reference/objects#branchprotectionrule" }, + { + "name": "compare", + "description": "Compares the current ref as a base ref to another head ref, if the comparison can be made.
", + "type": "Comparison", + "id": "comparison", + "kind": "objects", + "href": "/graphql/reference/objects#comparison", + "arguments": [ + { + "name": "headRef", + "description": "The head ref to compare against.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "name", "description": "The ref name.
", @@ -60980,6 +61155,31 @@ } ] }, + { + "name": "ComparisonStatus", + "kind": "enums", + "id": "comparisonstatus", + "href": "/graphql/reference/enums#comparisonstatus", + "description": "The status of a git comparison between two refs.
", + "values": [ + { + "name": "AHEAD", + "description": "The head ref is ahead of the base ref.
" + }, + { + "name": "BEHIND", + "description": "The head ref is behind the base ref.
" + }, + { + "name": "DIVERGED", + "description": "The head ref is both ahead and behind of the base ref, indicating git history has diverged.
" + }, + { + "name": "IDENTICAL", + "description": "The head ref and base ref are identical.
" + } + ] + }, { "name": "ContributionLevel", "kind": "enums", diff --git a/lib/graphql/static/schema-ghec.json b/lib/graphql/static/schema-ghec.json index 3bb4f3b736..fbb416219b 100644 --- a/lib/graphql/static/schema-ghec.json +++ b/lib/graphql/static/schema-ghec.json @@ -13186,6 +13186,161 @@ } ] }, + { + "name": "Comparison", + "kind": "objects", + "id": "comparison", + "href": "/graphql/reference/objects#comparison", + "description": "Represents a comparison between two commit revisions.
", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "aheadBy", + "description": "The number of commits ahead of the base branch.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "baseTarget", + "description": "The base revision of this comparison.
", + "type": "GitObject!", + "id": "gitobject", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#gitobject" + }, + { + "name": "behindBy", + "description": "The number of commits behind the base branch.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "commits", + "description": "The commits which compose this comparison.
", + "type": "ComparisonCommitConnection!", + "id": "comparisoncommitconnection", + "kind": "objects", + "href": "/graphql/reference/objects#comparisoncommitconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, + { + "name": "headTarget", + "description": "The head revision of this comparison.
", + "type": "GitObject!", + "id": "gitobject", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#gitobject" + }, + { + "name": "status", + "description": "The status of this comparison.
", + "type": "ComparisonStatus!", + "id": "comparisonstatus", + "kind": "enums", + "href": "/graphql/reference/enums#comparisonstatus" + } + ] + }, + { + "name": "ComparisonCommitConnection", + "kind": "objects", + "id": "comparisoncommitconnection", + "href": "/graphql/reference/objects#comparisoncommitconnection", + "description": "The connection type for Commit.
", + "fields": [ + { + "name": "authorCount", + "description": "The total count of authors and co-authors across all commits.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "edges", + "description": "A list of edges.
", + "type": "[CommitEdge]", + "id": "commitedge", + "kind": "objects", + "href": "/graphql/reference/objects#commitedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[Commit]", + "id": "commit", + "kind": "objects", + "href": "/graphql/reference/objects#commit" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, { "name": "ConnectedEvent", "kind": "objects", @@ -43789,6 +43944,97 @@ } ] }, + { + "name": "ProjectV2SortByField", + "kind": "objects", + "id": "projectv2sortbyfield", + "href": "/graphql/reference/objects#projectv2sortbyfield", + "description": "Represents a sort by field and direction.
", + "fields": [ + { + "name": "direction", + "description": "The direction of the sorting. Possible values are ASC and DESC.
", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "The field by which items are sorted.
", + "type": "ProjectV2FieldConfiguration!", + "id": "projectv2fieldconfiguration", + "kind": "unions", + "href": "/graphql/reference/unions#projectv2fieldconfiguration" + } + ] + }, + { + "name": "ProjectV2SortByFieldConnection", + "kind": "objects", + "id": "projectv2sortbyfieldconnection", + "href": "/graphql/reference/objects#projectv2sortbyfieldconnection", + "description": "The connection type for ProjectV2SortByField.
", + "fields": [ + { + "name": "edges", + "description": "A list of edges.
", + "type": "[ProjectV2SortByFieldEdge]", + "id": "projectv2sortbyfieldedge", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2sortbyfieldedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[ProjectV2SortByField]", + "id": "projectv2sortbyfield", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2sortbyfield" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "ProjectV2SortByFieldEdge", + "kind": "objects", + "id": "projectv2sortbyfieldedge", + "href": "/graphql/reference/objects#projectv2sortbyfieldedge", + "description": "An edge in a connection.
", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "The item at the end of the edge.
", + "type": "ProjectV2SortByField", + "id": "projectv2sortbyfield", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2sortbyfield" + } + ] + }, { "name": "ProjectV2View", "kind": "objects", @@ -44048,6 +44294,58 @@ "id": "projectv2sortbyconnection", "kind": "objects", "href": "/graphql/reference/objects#projectv2sortbyconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ], + "isDeprecated": true, + "deprecationReason": "The ProjectV2View#sort_by API is deprecated in favour of the more capable ProjectV2View#sort_by_fields API. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.
The view's sort-by config.
", + "type": "ProjectV2SortByFieldConnection", + "id": "projectv2sortbyfieldconnection", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2sortbyfieldconnection", "arguments": [ { "name": "after", @@ -44106,6 +44404,68 @@ "id": "projectv2fieldconnection", "kind": "objects", "href": "/graphql/reference/objects#projectv2fieldconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "Ordering options for the project v2 fields returned from the connection.
", + "type": { + "name": "ProjectV2FieldOrder", + "id": "projectv2fieldorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#projectv2fieldorder" + } + } + ], + "isDeprecated": true, + "deprecationReason": "The ProjectV2View#vertical_group_by API is deprecated in favour of the more capable ProjectV2View#vertical_group_by_fields API. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.
The view's vertical-group-by field.
", + "type": "ProjectV2FieldConfigurationConnection", + "id": "projectv2fieldconfigurationconnection", + "kind": "objects", + "href": "/graphql/reference/objects#projectv2fieldconfigurationconnection", "arguments": [ { "name": "after", @@ -49797,6 +50157,26 @@ "kind": "objects", "href": "/graphql/reference/objects#branchprotectionrule" }, + { + "name": "compare", + "description": "Compares the current ref as a base ref to another head ref, if the comparison can be made.
", + "type": "Comparison", + "id": "comparison", + "kind": "objects", + "href": "/graphql/reference/objects#comparison", + "arguments": [ + { + "name": "headRef", + "description": "The head ref to compare against.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "name", "description": "The ref name.
", @@ -74543,6 +74923,31 @@ } ] }, + { + "name": "ComparisonStatus", + "kind": "enums", + "id": "comparisonstatus", + "href": "/graphql/reference/enums#comparisonstatus", + "description": "The status of a git comparison between two refs.
", + "values": [ + { + "name": "AHEAD", + "description": "The head ref is ahead of the base ref.
" + }, + { + "name": "BEHIND", + "description": "The head ref is behind the base ref.
" + }, + { + "name": "DIVERGED", + "description": "The head ref is both ahead and behind of the base ref, indicating git history has diverged.
" + }, + { + "name": "IDENTICAL", + "description": "The head ref and base ref are identical.
" + } + ] + }, { "name": "ContributionLevel", "kind": "enums", diff --git a/lib/graphql/static/upcoming-changes.json b/lib/graphql/static/upcoming-changes.json index 2b565fd3b8..e485bf015a 100644 --- a/lib/graphql/static/upcoming-changes.json +++ b/lib/graphql/static/upcoming-changes.json @@ -1,6 +1,22 @@ { "dotcom": { "2023-04-01": [ + { + "location": "ProjectV2View.verticalGroupBy", + "description": "verticalGroupBy will be removed. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative.
The ProjectV2View#vertical_group_by API is deprecated in favour of the more capable ProjectV2View#vertical_group_by_fields API.
sortBy will be removed. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative.
The ProjectV2View#sort_by API is deprecated in favour of the more capable ProjectV2View#sort_by_fields API.
groupBy will be removed. Check out the ProjectV2View#group_by_fields API as an example for the more capable alternative.
verticalGroupBy will be removed. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative.
The ProjectV2View#vertical_group_by API is deprecated in favour of the more capable ProjectV2View#vertical_group_by_fields API.
sortBy will be removed. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative.
The ProjectV2View#sort_by API is deprecated in favour of the more capable ProjectV2View#sort_by_fields API.
groupBy will be removed. Check out the ProjectV2View#group_by_fields API as an example for the more capable alternative.
verticalGroupBy will be removed. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative.
The ProjectV2View#vertical_group_by API is deprecated in favour of the more capable ProjectV2View#vertical_group_by_fields API.
sortBy will be removed. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative.
The ProjectV2View#sort_by API is deprecated in favour of the more capable ProjectV2View#sort_by_fields API.
groupBy will be removed. Check out the ProjectV2View#group_by_fields API as an example for the more capable alternative.