Repository navigation
Tcl 9.1.0 Release Announcement
September 29, 2026
The Tcl Core Team is pleased to announce the release of Tcl 9.1.0. This is the first stable release of Tcl 9.1. This should replace all prior alpha or beta releases.
Tcl is the Tool Command Language originated by John Ousterhout and his team at U.C. Berkeley in the late 1980s. Its development is continued by the efforts of a global network of volunteers guided by the Tcl Core Team.
We would like to express our gratitude to all those who submit bug reports and patches. This information is invaluable in enabling us to identify and eliminate problems. Such reports can be submitted to the Tcl Ticket Tracker. We ask that you log in (anonymous if you wish) to create tickets. This deters abuse of the ticketing system.
Where to get the new releases
Tcl 9.1.0 sources are freely available as open source from the Tcl SourceForge project's file distribution area.
The Tcl 9.1.0 distribution is source code only. We keep some links to some third parties offering pre-built binaries for various systems.
Note
The release on GitHub is a partial mirror of this release. The binary builds attached here may be incomplete (e.g., they may be missing contributed packages), though they passed tests; on platforms where this is applicable, they do not contain signed binaries.
Tcl Summary
The Tcl distribution delivers C source code that builds into a C library providing interpreters and related supports to execute programs written in the Tcl programming language. Source code for the application program tclsh is also included. tclsh provides a shell for either interactive execution of Tcl commands, or execution of files containing Tcl programs.
Tcl is an extensible language, and the Tcl C library provides interfaces for the creation of extension libraries adding new commands and features to the core Tcl command set. Tcl 9 debuts the full feature set needed to package an application written in C and Tcl into a single file executable exploiting virtual filesystem archives.
Tcl 9.1 Release Summary
This is a new minor version of Tcl. When compared with the prior release Tcl 9.0, there are new features to be enjoyed. The intention in a minor release is that new features are added without breaking extensions or applications that were written to the interfaces of the prior minor release. A small number of known incompatibilities are noted below.
Tcl Improvement Proposals (TIPs)
Each new user-visible feature in Tcl should find its origins in a Tcl Improvement Proposal (TIP). TIPs are published, edited, considered and voted in public, and should contain valuable information about how a feature came to be the way it is.
Tcl Changes Summary
(from changes.md in the source code distribution)
The source code for Tcl is managed by fossil. Tcl developers coordinate all changes to the Tcl source code here.
Release Tcl 9.1.0 arises from the check-in with tag core-9-1-0.
Highlighted differences between Tcl 9.1 and Tcl 9.0 are summarized below, with focus on changes important to programmers using the Tcl library and writing Tcl scripts.
Incompatibilities
- Remove
exprbehavior fromlseqIncompatibility - File paths are now treated as case-insensitive on MacOS Incompatibility
- New command
tcl::registryas replacement for theregistrycommand without needing the registry package to be loaded. The registry module is now part of the core Tcl DLL in all build configurations. - Custom applications must call Tcl_FindExecutable or TclZipfs_AppHook to initialize Tcl Potential incompatibility
- Search path for locating Tcl core script and encodings is changed Potential incompatibility
New commands and options
-
New options
-backslashes,-commandsand-variablesforsubstcommand -
New
timercommand, switch to monotonic clock and microsecond resolution -
Many new functions from C99, specifically:
acosh(),asinh(),atanh(),cbrt(),copysign(),dim(),erf(),erfc(),exp2(),expm1(),fma(),gamma(),ldexp(),lgamma(),log1p(),log2(),logb(),nextafter(),remainder(),signbit(), andtrunc(), and (for functions that return multiple values in their C99 API) the commands:divmod,frexp,modf, andremquo. (See this page for more information about these functions; the Tcl functions are intentionally only thin wrappers around the functions in the C99 standard.) -
New
tcltest::configureoption-iterationsto control number of iterations of each test.
New public C API
Tcl_IsEmpty()— checks if the string representation of a value would be the empty stringTcl_GetEncodingNameForUser()— returns name of encoding from user settingsTcl_AttemptCreateHashEntry()— version ofTcl_CreateHashEntry()that returns NULL instead of panic'ing on memory allocation errorsTcl_ListObjRange(),Tcl_ListObjRepeat(),Tcl_ListObjReverse()— C API for new list operationsTcl_UtfToNormalized(),Tcl_UtfToNormalizedDString()— C API for Unicode normalizationTcl_UtfToExternalEx()andTcl_ExternalToUtfEx()— C encoding API supporting output buffers larger than INT_MAX- New API for monotonic clock and microseconds resolution
- Windows
auto_execokenhancements andexecsearch reform - New timer API using long long in stead of Tcl_Time
Tcl_RegisterPostInitProccallback for post-initialization of interpreters
Performance
- Memory efficient internal representations for list operations on large lists.
- Continued 64-bit capacity: Command line arguments larger than 2Gb
- Support for long paths on Windows
- Faster UTF-8 encoding and I/O
- Faster interpreter creation
Bug fixes
- Inconsistent
globmatching on MacOS file normalizedoes not uniquely identify a file on MacOS- Inconsistencies between
cdandfile normalizefor volume-relative paths on Windows - Tcl cannot run from an arbitrary build directory with --disable-zipfs
- Crash on finalization with an active thread running.
- Crash on use-after-free in Windows socket thread.
Updated bundled packages, libraries, standards, data
- Unicode 18.0.0
- platform 1.2.0: Add support for musl C runtime
For additional information:
Please visit the Tcl Developer Xchange web site. This site contains a variety of information about Tcl/Tk in general, the core Tcl and Tk distributions, Tcl development tools, and much more.