Skip to content

Releases: wjdp/htmltest

v0.5.0

28 Aug 17:17
Compare
Choose a tag to compare

Nothing overly exciting in this release, mostly under-the-bonnet internal tweaking.

Bug Fixes

  • #52 Ignore links with rel=dns-prefetch.
  • #54 Add handling for DirectoryPath not existing or being a file. CLI now outputs nicer errors for FilePath and DirectoryPath problems.

Development Enhancements

  • #58 Bring in govcr, majority of unit tests that make network calls now use pre-recorded responses.

v0.4.1

05 Aug 20:45
Compare
Choose a tag to compare

Minor Enhancements

  • Build against Go 1.8.3 from 1.7

Bug Fixes

  • #49 Turn off HTTP2 as Go's implementation cannot handle downgrading when connection goes wrong.

v0.4.0

26 Jan 17:46
f25ead8
Compare
Choose a tag to compare

New Features

  • Implemented DOCTYPE checking. We check if a doctype is present and in the right place, at the very top. We fail the document if one cannot be found. An option CheckDoctype can be used to enable/disable this behaviour. It is enabled by default.
  • Optionally require the DOCTYPE matches the HTML5 spec, set EnforceHTML5 to enable this.
  • Allow both file and directory as <path> in command. We pass these as either a DirectoryPath or FilePath option internally.

Minor Enhancements

  • When testing a directory we report the number of files tested after a pass or fail.

Changes

  • ⚠️ Three options have been renamed, if you use them this is a breaking change. See the table below.
Old New
ProgDir OutputDir
LogFile OutputLogFile
CacheFile OutputCacheFile

v0.3.1

15 Jan 18:48
Compare
Choose a tag to compare

Minor Enhancements

  • Add short versions of --log-level, --conf and --version, -l, -c and -v.
  • Add -s --skip-external option. Disables CheckExternal, rather useful when running locally and calling many times.
  • Combine config options and command line arguments. CL arguments take presidence over config file options.
  • Improve error message when config file is specified but not found
  • Dump resolved options to output when debug enabled.

Bug Fixes

  • Fix issue where specifying --log-level would cause certain crashes.

v0.3.0

14 Jan 17:36
Compare
Choose a tag to compare

image

  • Cleaner errors when the tool cannot find a config file and other situations where it would cause a stack trace. All shown in spectacular error message red. #29
  • Checking various meta tags including refresh links, we check validity of the tag and that the reference works. #24
  • Blank internal hashes (i.e. <a href="#"... throw an error by default. A specific option IgnoreInternalEmptyHash has been added to disable this behaviour. Turning off CheckInternalHash will skip this check also. #31
  • Bump the version of Go used from 1.7.3 to 1.7.4

v0.2.0

22 Nov 11:06
Compare
Choose a tag to compare
  • Check many more tags and attributes with new checkGeneric function, +13 types. See the wiki Tag page for supported tags.
  • Error output now sorted by document, makes concurrent output legible. New option LogSort controls this.
  • Upgrade version of Go from 1.6.x to 1.7.x. Compiled binaries are now smaller. (from ~9MB to ~6MB).

v0.1.2

14 Nov 13:51
Compare
Choose a tag to compare
  • Fix bug where config option IgnoreDirectoryMissingTrailingSlash was itself ignored.

v0.1.1

14 Nov 04:02
Compare
Choose a tag to compare
  • feature Check internal hashes, if a page links to another.html#abc we check to see if an element with name or id set to abc exists in another.html.
  • feature Option DirectoryIndex, allowing custom directory index files (defaults to index.html)

v0.1.0

11 Nov 03:12
Compare
Choose a tag to compare

First public release.

The software is functional and has a decent test suite, however it still should be treated as alpha grade.
I've got it running on newtheatre/history-project which is of a decent size, should help root out anything major.

v0.0.3

10 Nov 19:32
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release
update speed