## ToolDef release notes

The release notes for the versions of ToolDef and the associated tools, as part of the Eclipse ESCET project, are listed below in reverse chronological order.

See also the Eclipse ESCET toolkit release notes covering those aspects that are common to the various Eclipse ESCET tools.

### Version 7.0 (2025-03-31)

Improvements and fixes:

- The ToolDef website now shows the ToolDef logo (issue #1140).

- Fixed type checker bugs that could make the type checker crash or reject valid scripts, for types of tool parameters, tool return types, and types of tool invocation arguments, where these types contain container types that have element types that are type references (issue #1153).

- The ToolDef documentation now explicitly states that the `replace` tool operates on all occurrences of the sub-string being replaced in a string, or the value being replaced in a list (issue #1153).

### Version 6.0 (2024-12-20)

Improvements and fixes:

- The ToolDef text editor’s dark theme now uses a lighter red color for string literals, for better contrast (issue #966).

- The ToolDef documentation on the ESCET website and in the Eclipse help now use a darker green color for numbers in source code, for better contrast (issue #1030).

### Version 5.0 (2024-10-03)

Improvements and fixes:

- The ToolDef built-in tools that work on user-provided paths no longer crash when an invalid path is provided, but instead give a proper error message (issue #924).

- The ToolDef interpreter no longer crashes on user-specified Java method invocations that result in an exception (issue #925).

- The ToolDef documentation has a small fix (issue #943).

### Version 4.0 (2024-06-30)

Improvements and fixes:

- The 'ToolDef tool manual' page in the ToolDef documentation has been renamed to 'ToolDef interpreter', to avoid giving the impression that the page explains ToolDef’s built-in tools (issue #825).

- The ToolDef documentation has some small improvements (issue #825).

### Version 3.0 (2024-03-31)

New features:

- The ToolDef interpreter now supports reading `.tooldefx` files, ToolDef files in an XML format (issues #701 and #731).

Improvements and fixes:

- The ToolDef documentation breadcrumbs are now consistent with the table of contents (issue #38).

- The ToolDef documentation table of contents now has proper links for items that link to sections on pages rather than to entire pages (issue #38).

- The ToolDef website has an improved link color (issue #38).

### Version 2.0 (2023-12-22)

This release contains no specific changes for ToolDef.

### Version 1.0 (2023-09-30)

This release contains no specific changes for ToolDef.

### Version 0.10 (2023-06-30)

New features:

- The ToolDef interpreter has a new Tool invocation option to invoke a specific tool with chosen arguments, rather than executing the entire script (issue #578).

- The `writefile` built-in tool has a new optional `newline` parameter, allowing to configure new line handling. The default is still to use the new lines of the current platform. See the documentation for further details (issue #571).

Improvements and fixes:

- The `readlines` and `writefile` built-in tools have been made more robust with respect to closing file streams in case of I/O errors (issue #571).

- The `readlines` built-in tool now uses the UTF-8 encoding when reading files, rather than the platform’s default encoding (issue #571).

- The `readlines` and `writefile` built-in tools now have improved documentation (issue #571).

- The ToolDef interpreter’s help text now properly explains the tool’s exit codes (issue #573).

- The ToolDef interpreter documentation has been slightly improved (issue #578).

### Version 0.9 (2023-03-31)

Improvements and fixes:

- The ToolDef documentation has some improvements related to 'file separator' terminology (issue #450).

- The ToolDef documentation for the `chfileext` tool has some formatting fixes (issue #536).

### Version 0.8 (2022-12-21)

Improvements and fixes:

- The `filenewer` tool now only checks for modification time differences that are at least one millisecond (issue #259).

- Small documentation improvement for the `filenewer` tool documentation (issue #456).

- Normally, `.tooldef` files are opened with the ToolDef text editor. Large files are now however opened with the default non-ToolDef text editor to avoid performance issues. You can open a file in an editor of your choosing by right clicking it and selecting Open With and then selecting the editor of your choosing, or choosing Other…​ to open a dialog to choose from a larger selection of editors (issue #199).

### Version 0.7 (2022-09-30)

New features:

- The ToolDef text editor now has theming support, and comes with a dark theme in addition to the existing light theme. The text editor now automatically uses its dark theme when the Eclipse built-in dark theme is used, and uses a light theme otherwise. The text editor theming behavior can be configured via the Eclipse Preferences dialog (issue #347).

Improvements and fixes:

- The ToolDef text editor light theme’s default color has changed from a near-black slightly-brown color to pure black (issue #347).

### Version 0.6 (2022-07-07)

Improvements and fixes:

- Links in the documentation to non-ToolDef ESCET documentation webpages now use version-specific URLs (issue #386).

- The issue numbers in the release notes now link to the corresponding GitLab issue (issue #396).

- Small website style improvements (issue #367).

### Version 0.5 (2022-03-29)

Improvements and fixes:

- The release notes for each version now contain the release date, with the exception of milestone releases and release candidates (issue #314).

### Version 0.4 (2021-12-17)

Improvements and fixes:

- Introduced a brand new website (issue #35).

- Many website URLs have changed due to various website structure changes (issues #35 and #73).

- Various documentation/website textual improvements, style improvements and other changes (issues #35 and 54).

- Multiple small error message improvements (issue #248).

### Version 0.3 (2021-10-01)

Improvements and fixes:

- The website and Eclipse help now use multi-page HTML rather than a single HTML file, although the website still contains a link to the single-page HTML that allows easily searching the full documentation (issue #36).

- Enabled section anchors for documentation on the website, and disabled section anchors for Eclipse help (issue #36).

- Several small documentation fixes and improvements (issue #166).

### Version 0.2 (2021-07-07)

This release contains no specific changes for ToolDef.

### Version 0.1 (2021-04-02)

The first release of ToolDef as part of the Eclipse ESCET project. This release is based on the initial contribution by the Eindhoven University of Technology (TU/e).

Most notable changes compared to the last TU/e release:

- We no longer use separate language and tool versions. The `.tooldef2` file extension has been changed to `.tooldef` as part of this change.