mirror of https://github.com/fredrikekre/Runic.jl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8.5 KiB
8.5 KiB
Runic.jl changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v1.5.1 - 2025-09-24
Fixed
v1.5.0 - 2025-07-26
Added
- New command line argument
--stdin-filename=<filename>which allows attaching a filename to stdin input. This is used for error messages (#157).
v1.4.6 - 2025-07-26
Fixed
- Relax
--linesinput checking to allow usinglength(lines) + 1for the end or the range. This is because some tooling considers a trailing newline to start a new (empty) line as opposed to just ending the previous line.
v1.4.5 - 2025-07-24
Fixed
- Fix
--diffoutput in combination with--lines. Previously the internal makers used to mark the lines to be formatted would show up in the diff output. (#154).
v1.4.4 - 2025-07-24
Fixed
- Fix another edgecase where adding a trailing comma after the last item in a list results in invalid code. (#151, #152).
v1.4.3 - 2025-02-28
Fixed
- Fix formatting of floating point literals that use
−(Unicode U+2212) instead of the typically used-(ASCII/Unicode U+002D). The parser treats them as synonyms but the former triggered an assertion error in Runic while formatting. After this change Runic will normalize to-when formatting (#137, #138).
v1.4.2 - 2025-02-18
Fixed
- Add missing documentation of
--linesto the--helpoutput (#136).
v1.4.1 - 2025-02-07
Fixed
v1.4.0 - 2025-01-24
Added
- The
runicbinary can now be installed directly with the package manager as a Pkg "App" (requires Julia 1.12). To install:pkg> app add Runic(#129)
v1.3.0 - 2024-12-17
Added
- New executable wrapper script
runicthat can be put inPATHto simplify Runic invocation. This method should be preferred over a shell alias since it allows processes other than the shell to invoke Runic. Refer to the Installation section of the README for details. - New Git integration provided by the executable
git-runicscript (#122). This can be used to incrementally format a codebase by limiting formatting to changed and modified lines in each commit. Refer to the Git integration section of the README for installation and usage instructions. - New command line argument
--verbosewhich enables verbose output (#121). - The library functions
Runic.format_fileandRunic.format_stringare now considered part of the Runic public API and are marked withpublicin supported Julia versions. (#127).
Changed
- Runic is now silent by default. Use
--verboseto enable the verbose file progress printing from previous releases (#121).
Fixed
- Improved the command line argument parsing to handle more edge cases related to input files and directories such as e.g. empty directories (#123).
- Fix some error paths where the error would be printed before the file info
output in
--verbosemode (#124).
v1.2.0 - 2024-12-09
Added
- New command line option
--lines=a:bfor limiting formatting to linesatob.--linescan be repeated to specify multiple ranges (#114, #120).
v1.1.0 - 2024-12-04
Added
- Added a suggested README badge to add to your project's README to show that you are using Runic (#108, #112). See the Badge section of the README for details.
- Added a version policy to clarify what formatting changes are allowed in patch/minor/major releases. See the Version policy section of the README for details.
Changed
- Fix a bug that caused "single space after keyword" to not apply after the
functionkeyword in non-standard function definitions (#113). This bug is classified as a spec-bug and the fix will result in diffs like the following:-function() +function () # ... end - Fix a bug that caused "single space after keyword" to not apply after
let(#117). This bug is classified as a spec-bug and the fix will result in diffs like the following whenletis followed by multiple spaces (which should be rare) in the source:-let a = 1 +let a = 1 a end - Fix formatting of whitespace in between
let-variables (#118). This bug is classified as a spec-bug and the fix will result in diffs like the following in rare cases where e.g. multiple spaces, or spaces before comma, is used in the variable list:-let a = 1, b = 2 +let a = 1, b = 2 a + b end - Fix a bug that caused multiline variable blocks in
letto not indent correctly (#97, #116). This bug is classified as a spec-bug and the fix will result in diffs like the following whenever multiline variable blocks exist in the source:let a = 1, - b = 2 + b = 2 a + b end
v1.0.1 - 2024-11-28
Fixed
v1.0.0 - 2024-11-06
First stable release of Runic.jl. See README.md for details and documentation.