Release v2.1.0 - 2021-09-22
This release includes PasHi v2.1.0 and PasHiGUI v1.1.0. Change are as follows:
Adds some new commands, adds warnings and deprecates some features likely to have breaking changes in the next major release.
Change Log
PasHi v2.1.0 [build 12]
- Implemented a blacklist of commands that can't be included in the
config
file and halt the program with an error when such commands are detected. Only thehelp
command is so blacklisted. - Added new
--viewport
command that can write a mobile-friendly meta tag to the<head>
section of complete (X)HTML documents. - Added new
--edge-compatibility
command that can write ahttp-equiv=X-UA-Compatible
meta tag for Microsoft Edge to the<head>
section of complete (X)HTML documents. - Added new facility to emit warning message for deprecated items.
- Added new
--verbosity no-warn
option to suppress warning messages. - Flagged various v1 compatibility options as deprecated and generated warnings for most.
- Deprecated intermixing of input file names with commands in favour of input file names having to be listed first. Warnings are generated when this intermixing is detected.
- Improved code that ensures that HTML text elements are escaped correctly.
- Updated text of help screen re changes.
- Some refactoring
PasHiGUI v1.1.0 [build 6]
- Updated Options pane to provide support for new
--viewport
and--edge-compatibility
options. - Flagged deprecated commands and options as such in Options pane.
- Changed about box to note that PasHi v2.1.0 is required.
General
- Updated user guide
UserGuide.html
:- with details of new commands.
- re deprecation of certain commands / options.
- fixed display issues on phones and tablets.
- Converted license file to markdown format and renamed from
LICENSE
toLICENSE.md
. - Converted this change log to markdown format, moved from
Docs
directory to project root and renamed fromChangeLog.txt
toCHANGELOG.md
. - Updated
config-template
comments:- flagged deprecated commands and parameters
- noted fact that the
help
command can no longer be used in theconfig
file - added details of new
viewport
andedge-compatibility
commands - noted new command parameters
- Commented all v1 CSS classes as deprecated in
.css
files.