---
title: "GitHub CodeQL Go library deprecates IfStmt.getCond: 2026-10-09 | Harbyn"
description: "GitHub CodeQL Go library deprecates IfStmt.getCond, announced Oct 9, 2026; replacement: IfStmt.getCondition."
canonical: "https://harbyn.com/changes/github/2026-10-09-codeql-2-27-2-improves-c-go-rust-and-javascript-analysis-2"
last-updated: 2026-10-09
---

# GitHub CodeQL Go library deprecates IfStmt.getCond

Markdown version of <https://harbyn.com/changes/github/2026-10-09-codeql-2-27-2-improves-c-go-rust-and-javascript-analysis-2>.

Deprecation - GitHub. low severity. In effect.

In CodeQL 2.27.2, IfStmt.getCond in the Go library is deprecated in favor of IfStmt.getCondition.

## Facts

| Fact | Value |
| --- | --- |
| Vendor | [GitHub](https://harbyn.com/vendors/github.md) |
| Kind | Deprecation |
| Severity | low |
| Status | In effect |
| Announced | Oct 9, 2026 |
| Added to Harbyn | Oct 9, 2026 |
| Lead time | No dated deadline |
| Symbols | `IfStmt.getCond` |
| Replacement | `IfStmt.getCondition` |
| Vendor page | <https://github.blog/changelog/2026-10-09-codeql-2-27-2-improves-c-go-rust-and-javascript-analysis> |
| Review | Reviewed by a person, extracted by a model |

## Find it in your code

```sh
npx harbyn scan
```

This change names no identifier the scanner can match line by line, so the scan tells you whether your repository uses GitHub, from its packages and API hosts. Nothing leaves your machine.

## Sources

Where this event comes from: the page we read, when we read it, and the hash of that snapshot.

- <https://github.blog/changelog/feed/> (changelog, fetched 2026-10-09 22:43 UTC, sha256 `ae8354e61e4221bbe8b3135190028a8f59bcaecefaa7015365abe8775554520a`)

## Related changes

### More from GitHub

- [CodeQL CLI error handling and output changes](https://harbyn.com/changes/github/2026-10-09-codeql-2-27-2-improves-c-go-rust-and-javascript-analysis-3.md) (Behavior change, announced Oct 9, 2026)
- [CodeQL build modes unsupported on macOS 27 and Xcode 27](https://harbyn.com/changes/github/2026-10-09-codeql-2-27-2-improves-c-go-rust-and-javascript-analysis-4.md) (Breaking change, announced Oct 9, 2026)
- [CodeQL Go control-flow graph changes may break custom queries](https://harbyn.com/changes/github/2026-10-09-codeql-2-27-2-improves-c-go-rust-and-javascript-analysis-5.md) (Breaking change, announced Oct 9, 2026)
- [Triage role users or higher can now archive pull requests](https://harbyn.com/changes/github/2026-10-08-triage-role-users-or-higher-can-now-archive-pull-requests.md) (Behavior change, announced Oct 8, 2026)

### Changes at other vendors

- [AWS Lambda: Python 3.10 runtime deprecation](https://harbyn.com/changes/aws-lambda/2026-10-08-python-3-10-runtime-deprecation.md) (effective Oct 31, 2026)
- [Jira / Atlassian Cloud: Atlassian Analytics dashboard subscriptions being removed](https://harbyn.com/changes/atlassian-jira/2026-08-10-atlassian-analytics-dashboard-subscriptions-being-removed.md) (effective Nov 2, 2026)
- [Google Cloud Run and Functions: .NET 8 runtime deprecation](https://harbyn.com/changes/google-cloud/2026-10-08-net-8-runtime-deprecation.md) (effective Nov 10, 2026)
- [Supabase: @supabase/server framework adapters are deprecated and will be removed on December 1, 2026](https://harbyn.com/changes/supabase/2026-10-05-framework-adapters-in-supabase-server-are-deprecated.md) (effective Dec 1, 2026)

[All upcoming deadlines](https://harbyn.com/deadlines.md)
