Releases: prettydiff/prettydiff
Releases · prettydiff/prettydiff
101.0.0
This major change addresses three concerns:
- The build task is dramatically simplified.
- The output is compatible with the upcoming TypeScript incremental builds. This application will start using incremental builds once they are available via terminal argument, such as
--incremental
.
- The output is compatible with the upcoming TypeScript incremental builds. This application will start using incremental builds once they are available via terminal argument, such as
- From the outside the application is dramatically more simple.
- There is only one list of options, which is always populated by default.
- There is not a separate method for executing the application. Before the code looks like
prettydiff.mode(options)
where now it is simplyprettydiff()
. - No need to pass a list of options in as the application reads from the options property:
prettydiff.options
.
- Fixes an internal architectural defect.
- Pretty Diff was using options
end
andstart
internally to determine when to switch between language grammars. This is problematic if options are cached in memory and those options are not reset to a default value between each time the application is called. - Now
end
andstart
are removed from the options object and are reset to their default after every execution.
- Pretty Diff was using options
Better CSS support
CSS beautification is now smaller, faster, and more precise than before.
100.2.5
Better TypeScript support in parsing and beautification.
100.2.2
Fixed several bugs and merged in latest major version of the parser.
100.1.7
Bumping release to current version.
This is the first tagged release since the major version change was published. A lot has changed. Please review the documentation and validate Pretty Diff against your integration tests.
2.2.8
v2.2.8
Defects
- Fixes a regression issue in JSX regarding the newline option
- Fixes a parse mode formatting defect in the webtool
- Fixes a defect in loading the web tool
- Fixes several minor defects when attempting to merge Pretty Diff 2.x into Atom Beautify
- Fixes #463, incorrectly removing unit on 0 values in CSS transitions
Enhancements
- Adding support for the 'u' regex flag
- Pretty Diff 2 is on NPM with the package name prettydiff2. This is the minimum code to run Pretty Diff from Node.js.
2.2.0
v2.2.0
Defects
- Fixes numerous undocumented defects in the validation build and diff tool
- Fixes #434, CSS beautfication defect with a space appearing before a selector list
- Fixes #435, Circular dependency problem when using require.js
- Fixes #441, Fold error in rendered HTML reports
- Fixes #442, Ternaries inside parenthesis now cause an extra step of indentation
- Fixes #444, CLI with readmethod:file and mode:diff producing no output
- Fixes #445, ASP, PHP error where tags containing the "do" command were treated like a start tag
- Fixes #447, Diff library ignoring carriage return characters. White space differences are now more explicitly called out.
Enhancements
- Fixes #409, Pretty Diff is fully integrated with biddle for its own dependency and in publication with biddle for distribution elsewhere. Ready for integration with Atom Beautify.
2.1.18
v2.1.18
Defects
- Fixes #420, markup attributes should not be sorted if sorting is disabled in the options
- Fixes #429, fixes regression against diffcli option
Enhancements
- Fixes #414, better preserve whitespace adjacent to span tags in HTML
- Fixes #418, performance improvement for lib/markuppretty.js in V8 by ensuring level array contains only number types
- Fixes #422, create a new option to explicitly supply or eliminate a new line at the end of output
- Fixes #426, remove duplicate logic from lib/diffview.js
- Fixes #427, two performance improvements for new diff algorithm
- Fixes #428, performance improvement in all code for V8 by converting arithmetic assignment operators to assignments followed by separate explicit arithmetic
- Fixes #430, created a minimal barebones HTML code sample demonstrating running Pretty Diff in a generic HTML tool
2.1.17
2.1.16
v2.1.16
Defects
- Fixes #392, problems with vertical alignment
- Fixes #396, biddle application is now working properly
- Fixes #398, JSX disruption due to comments
- Fixes #399, SCSS @else properly recognized as an else template tag
- Fixes #401, a minor TypeScript flaw with missing indentation
- Fixes #402, defect with code getting dropped if a template tag wraps as markup
- Fixes #403, {{end -}} was not properly recognized as an end tag
- Fixes #407, some extra hardiness for Rust language conventions