Artifact 85abecb46c73ac471fc8b3d366eaec8b3c67d500e27aabfcc8848959d22b7d66:
- File changes.md — part of check-in [41996582d5] at 2024-08-05 22:44:50 on branch core-8-branch — Missed some backports from 9.0. Some indenting (user: jan.nijtmans size: 1978) [more...]
The source code for Tcl is managed by fossil. Tcl developers coordinate all changes to the Tcl source code at
Release Tcl 8.7b1 arises from the check-in with tag core-8.7-b1.
Highlighted differences between Tcl 8.7 and Tcl 8.6 are summarized below, with focus on changes important to programmers using the Tcl library and writing Tcl scripts.
Internationalization of text
- Full Unicode range of codepoints
- New encodings: utf-16/utf-32/ucs-2(le|be), CESU-8, etc.
encodingoptions -profile, -failindex manage encoding of I/O.msgcatsupports custom locale search listsourcedefaults to -encoding utf-8
Zip filesystems and attached archives.
Unix notifiers available using epoll() or kqueue()
- relieves limits on file descriptors imposed by legacy select()
Notable incompatibilities
- No --disable-threads build option. Always thread-enabled.
- Windows platform needs Windows 7 or Windows Server 2008 R2 or later
New commands
array default,array forchan isbinarycoroinject,coroprobeclock add weekdaysdict getwithdefaultfile tempdir,file home,file tildeexpandinfo commandtypeleditlpoplremovelseqpackage filesstring insert,string is dicttcl::process*::build-inforeadFile,writeFile,foreachLine
New command options
regsub ... -command ...lsearch ... -stride ...clock scan ... -validate ...socket ... -nodelay ... -keepalive ...vwaitcontrolled by several new options
Numbers
- 0dNNNN format to compel decimal interpretation.
- NN_NNN_NNN, underscores in numbers for optional readability
- Functions: isinf() isnan() isnormal() issubnormal() isunordered()
fpclassify- Function int() no longer truncates to word size
tcl::oo facilities
- private variable and methods
method -export,method -unexport