---
title: "Cline v3.40.0 | Havoptic"
description: "What's Changed remove unused sentry dependency by @celestial-vault in https://github.com/cline/cline/pull/7823 add atomic file write by @celestial-vault in https://github.com/cline/cline/pull/7754..."
image: "https://dev.havoptic.com/og-image.jpg"
---

# Cline v3.40.0

Cline v3.40.0 was released on December 4, 2025.

## Summary

What's Changed remove unused sentry dependency by @celestial-vault in https://github.com/cline/cline/pull/7823 add atomic file write by @celestial-vault in https://github.com/cline/cline/pull/7754...

## Release Context

- This was the 16th Cline release of 2025 tracked by Havoptic.
- It shipped 1 day after [Cline v3.39.2](https://dev.havoptic.com/r/cline-3.39.2) (December 2, 2025).

### Shipped around the same time

Within 3 days of this release, other AI coding tools also shipped:

- [Claude Code v2.0.60](https://dev.havoptic.com/r/claude-code-2.0.60) (December 5, 2025)
- [Gemini CLI v0.19.4](https://dev.havoptic.com/r/gemini-cli-v0.19.4) (December 5, 2025)
- [Gemini CLI v0.19.3](https://dev.havoptic.com/r/gemini-cli-v0.19.3) (December 5, 2025)
- [Gemini CLI v0.19.2](https://dev.havoptic.com/r/gemini-cli-v0.19.2) (December 5, 2025)
- [GitHub Copilot CLI v0.0.367](https://dev.havoptic.com/r/github-copilot-v0.0.367) (December 5, 2025)

### Compare Cline

- [Cline vs Claude Code](https://dev.havoptic.com/compare/claude-code-vs-cline)
- [Cline vs OpenAI Codex CLI](https://dev.havoptic.com/compare/cline-vs-openai-codex)
- [Cline vs Cursor](https://dev.havoptic.com/compare/cline-vs-cursor)
- [Cline vs Gemini CLI](https://dev.havoptic.com/compare/cline-vs-gemini-cli)
- [Cline vs Kiro CLI](https://dev.havoptic.com/compare/cline-vs-kiro)
- [Cline vs GitHub Copilot CLI](https://dev.havoptic.com/compare/cline-vs-github-copilot)
- [Cline vs Devin Desktop](https://dev.havoptic.com/compare/cline-vs-windsurf)
- [Cline vs Antigravity CLI](https://dev.havoptic.com/compare/antigravity-cli-vs-cline)
- [Cline vs Grok Build](https://dev.havoptic.com/compare/cline-vs-grok-build)
- [Cline vs OpenCode](https://dev.havoptic.com/compare/cline-vs-opencode)
- [Cline vs Zed](https://dev.havoptic.com/compare/cline-vs-zed)
- [Cline vs Factory Droid](https://dev.havoptic.com/compare/cline-vs-factory-droid)
- [Cline vs Devin](https://dev.havoptic.com/compare/cline-vs-devin)
- [Cline vs Lovable](https://dev.havoptic.com/compare/cline-vs-lovable)
- [Cline vs Amp](https://dev.havoptic.com/compare/amp-vs-cline)
- [Cline vs GitHub Copilot in VS Code](https://dev.havoptic.com/compare/cline-vs-copilot-vscode)
- [Cline vs Replit Agent](https://dev.havoptic.com/compare/cline-vs-replit-agent)
- [Cline vs Bolt](https://dev.havoptic.com/compare/bolt-vs-cline)
- [Cline vs v0](https://dev.havoptic.com/compare/cline-vs-v0)

## Release Notes

What's Changed remove unused sentry dependency by @celestial-vault in https://github.com/cline/cline/pull/7823 add atomic file write by @celestial-vault in https://github.com/cline/cline/pull/7754 feat: set default thinking level for Gemini 3 Pro models by @abeatrix in https://github.com/cline/cline/pull/7831 set the cli's 'ide version' to just the cli version rather than being blank, to make environmenthistory work for CLI by @Garoth in https://github.com/cline/cline/pull/7712 feat: add mode and token metrics info to storage messages [CLIENTS-26] by @abeatrix in https://github.com/cline/cline/pull/7795 fix(bedrock): add sts client userAgentAppId by @jackrein in https://github.com/cline/cline/pull/7719 correctly handle new and old tool call formats for context rewriting by @0xToshii in https://github.com/cline/cline/pull/7809 feat: applypatch auto approve by @canvrno in https://github.com/cline/cline/pull/7777 Don't log otel events to the console because they are really spammy by @sjf in https://github.com/cline/cline/pull/7841 added subpages and content to hooks by @jl-codes in https://github.com/cline/cline/pull/7797 fix: OpenAI Response API message format by @abeatrix in https://github.com/cline/cline/pull/7842 markdown styling fix by @pashpashpash in https://github.com/cline/cline/pull/7840 Fix changeset converter by @arafatkatze in https://github.com/cline/cline/pull/7851 docs: remove Advanced Patterns and Testing & Debugging from Hooks docs by @jl-codes in https://github.com/cline/cline/pull/7869 Revert "readTaskHistory - don't return empty array on parse failure" by @saoudrizwan in https://github.com/cline/cline/pull/7874 support multi-index search over inner messages to find file mentions for context rewriting by @0xToshii in https://github.com/cline/cline/pull/7850 feat: add auto-recovery for corrupted task history state by @abeatrix in https://github.com/cline/cline/pull/7875 fix: consolidate successive error retry messages in chat UI by @saoudrizwan in https://github.com/cline/cline/pull/7880 Changeset version bump by @github-actions[bot] in https://github.com/cline/cline/pull/7865 New Contributors @jackrein made their first contribution in https://github.com/cline/cline/pull/7719 @jl-codes made their first contribution in https://github.com/cline/cline/pull/7797 Full Changelog: https://github.com/cline/cline/compare/v3.39.2...v3.40.0

[View original release](https://github.com/cline/cline/releases/tag/v3.40.0)

## Other Recent Cline Releases

- [v4.1.28](https://dev.havoptic.com/r/cline-4.1.28) (November 26, 2026)
- [v4.1.27](https://dev.havoptic.com/r/cline-4.1.27) (November 21, 2026)
- [v4.1.26](https://dev.havoptic.com/r/cline-4.1.26) (October 26, 2026)
- [v4.1.25](https://dev.havoptic.com/r/cline-4.1.25) (October 16, 2026)
- [v4.1.24](https://dev.havoptic.com/r/cline-4.1.24) (October 13, 2026)

Upgrading from v3.40.0? [See all 106 releases since](https://dev.havoptic.com/r/cline/diff?from=3.40.0&to=latest).

[All Cline releases](https://dev.havoptic.com/tools/cline) · [All AI coding tool releases on Havoptic](https://dev.havoptic.com/)

```json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Havoptic",
  "alternateName": "Havoptic AI Tool Releases",
  "url": "https://www.havoptic.com/",
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping.",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://www.havoptic.com/?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Havoptic",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "Web",
  "offers": {
    "@type": "Offer",
    "price": "0",
    "priceCurrency": "USD"
  },
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping."
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.havoptic.com/#organization",
  "name": "Havoptic",
  "url": "https://www.havoptic.com/",
  "logo": {
    "@type": "ImageObject",
    "url": "https://www.havoptic.com/og-image.jpg",
    "width": 1200,
    "height": 630
  },
  "description": "Release tracking, plain-English release notes and side-by-side comparisons for AI coding tools, updated hourly.",
  "foundingDate": "2025",
  "sameAs": [
    "https://github.com/scotthavird/havoptic.com",
    "https://x.com/havoptic"
  ],
  "founder": {
    "@id": "https://www.havoptic.com/authors/scott-havird#person"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "DataCatalog",
  "@id": "https://www.havoptic.com/#data-catalog",
  "name": "Havoptic AI Coding Tool Release Data",
  "description": "Every release of 20 AI coding tools, dated and explained in plain English within hours of shipping, plus feature comparison matrices, free to query through an API, an MCP server, feeds and a CLI. Covers Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0.",
  "url": "https://www.havoptic.com/api-docs",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "dataset": [
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/releases.json",
      "name": "AI Coding Tool Releases",
      "description": "Complete release history for Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0 — including version numbers, release dates, plain-English summaries, and full changelogs. Updated hourly.",
      "url": "https://www.havoptic.com/data/releases.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/releases.json"
      },
      "temporalCoverage": "2025/..",
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "Claude Code",
        "OpenAI Codex CLI",
        "Cursor",
        "Gemini CLI",
        "Kiro",
        "GitHub Copilot CLI",
        "Devin Desktop",
        "Windsurf",
        "Antigravity CLI",
        "Grok Build",
        "Cline",
        "OpenCode",
        "Zed",
        "Factory Droid",
        "Devin (cloud agent)",
        "Lovable",
        "Amp",
        "GitHub Copilot in VS Code",
        "Replit Agent",
        "Bolt",
        "v0",
        "AI coding tools",
        "release history",
        "changelogs"
      ]
    },
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/feature-matrix.json",
      "name": "AI Coding Tool Feature Matrix",
      "description": "Side-by-side feature comparison data for 20 AI coding tools across categories: Core Editing, Terminal Integration, MCP Support, IDE Integrations, and Agentic Features.",
      "url": "https://www.havoptic.com/data/feature-matrix.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/feature-matrix.json"
      },
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "AI coding tools",
        "feature comparison",
        "Claude Code",
        "Cursor",
        "GitHub Copilot",
        "Gemini CLI",
        "Devin Desktop",
        "Windsurf"
      ]
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://dev.havoptic.com"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Cline",
      "item": "https://dev.havoptic.com/tools/cline"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "v3.40.0",
      "item": "https://dev.havoptic.com/r/cline-3.40.0"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "Cline v3.40.0",
  "datePublished": "2025-12-04T05:09:38.000Z",
  "dateModified": "2025-12-04T05:09:38.000Z",
  "url": "https://dev.havoptic.com/r/cline-3.40.0",
  "image": "https://dev.havoptic.com/og-image.jpg",
  "description": "What's Changed remove unused sentry dependency by @celestial-vault in https://github.com/cline/cline/pull/7823 add atomic file write by @celestial-vault in https://github.com/cline/cline/pull/7754...",
  "isBasedOn": "https://github.com/cline/cline/releases/tag/v3.40.0",
  "about": {
    "@type": "SoftwareApplication",
    "name": "Cline",
    "softwareVersion": "3.40.0",
    "applicationCategory": "DeveloperApplication",
    "url": "https://github.com/cline/cline/releases/tag/v3.40.0",
    "releaseNotes": "What's Changed remove unused sentry dependency by @celestial-vault in https://github.com/cline/cline/pull/7823 add atomic file write by @celestial-vault in https://github.com/cline/cline/pull/7754 feat: set default thinking level for Gemini 3 Pro models by @abeatrix in https://github.com/cline/cline/pull/7831 set the cli's 'ide version' to just the cli version rather than being blank, to make environmenthistory work for CLI by @Garoth in https://github.com/cline/cline/pull/7712 feat: add mode and token metrics info to storage messages [CLIENTS-26] by @abeatrix in https://github.com/cline/cline/pull/7795 fix(bedrock): add sts client userAgentAppId by @jackrein in https://github.com/cline/cline/pull/7719 correctly handle new and old tool call formats for context rewriting by @0xToshii in https://github.com/cline/cline/pull/7809 feat: applypatch auto approve by @canvrno in https://github.com/cline/cline/pull/7777 Don't log otel events to the console because they are really spammy by @sjf in https://github.com/cline/cline/pull/7841 added subpages and content to hooks by @jl-codes in https://github.com/cline/cline/pull/7797 fix: OpenAI Response API message format by @abeatrix in https://github.com/cline/cline/pull/7842 markdown styling fix by @pashpashpash in https://github.com/cline/cline/pull/7840 Fix changeset converter by @arafatkatze in https://github.com/cline/cline/pull/7851 docs: remove Advanced Patterns and Testing & Debugging from Hooks docs by @jl-codes in https://github.com/cline/cline/pull/7869 Revert \"readTaskHistory - don't return empty array on parse failure\" by @saoudrizwan in https://github.com/cline/cline/pull/7874 support multi-index search over inner messages to find file mentions for context rewriting by @0xToshii in https://github.com/cline/cline/pull/7850 feat: add auto-recovery for corrupted task history state by @abeatrix in https://github.com/cline/cline/pull/7875 fix: consolidate successive error retry messages in chat UI by @saoudrizwan in ht"
  },
  "articleBody": "What's Changed remove unused sentry dependency by @celestial-vault in https://github.com/cline/cline/pull/7823 add atomic file write by @celestial-vault in https://github.com/cline/cline/pull/7754 feat: set default thinking level for Gemini 3 Pro models by @abeatrix in https://github.com/cline/cline/pull/7831 set the cli's 'ide version' to just the cli version rather than being blank, to make environmenthistory work for CLI by @Garoth in https://github.com/cline/cline/pull/7712 feat: add mode and token metrics info to storage messages [CLIENTS-26] by @abeatrix in https://github.com/cline/cline/pull/7795 fix(bedrock): add sts client userAgentAppId by @jackrein in https://github.com/cline/cline/pull/7719 correctly handle new and old tool call formats for context rewriting by @0xToshii in https://github.com/cline/cline/pull/7809 feat: applypatch auto approve by @canvrno in https://github.com/cline/cline/pull/7777 Don't log otel events to the console because they are really spammy by @sjf in https://github.com/cline/cline/pull/7841 added subpages and content to hooks by @jl-codes in https://github.com/cline/cline/pull/7797 fix: OpenAI Response API message format by @abeatrix in https://github.com/cline/cline/pull/7842 markdown styling fix by @pashpashpash in https://github.com/cline/cline/pull/7840 Fix changeset converter by @arafatkatze in https://github.com/cline/cline/pull/7851 docs: remove Advanced Patterns and Testing & Debugging from Hooks docs by @jl-codes in https://github.com/cline/cline/pull/7869 Revert \"readTaskHistory - don't return empty array on parse failure\" by @saoudrizwan in https://github.com/cline/cline/pull/7874 support multi-index search over inner messages to find file mentions for context rewriting by @0xToshii in https://github.com/cline/cline/pull/7850 feat: add auto-recovery for corrupted task history state by @abeatrix in https://github.com/cline/cline/pull/7875 fix: consolidate successive error retry messages in chat UI by @saoudrizwan in https://github.com/cline/cline/pull/7880 Changeset version bump by @github-actions[bot] in https://github.com/cline/cline/pull/7865 New Contributors @jackrein made their first contribution in https://github.com/cline/cline/pull/7719 @jl-codes made their first contribution in https://github.com/cline/cline/pull/7797 Full Changelog: https://github.com/cline/cline/compare/v3.39.2...v3.40.0",
  "author": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "publisher": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://dev.havoptic.com/r/cline-3.40.0"
  },
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      "#ssr-content p"
    ]
  }
}
```
