1.3.0
1.3.0 (2016-12-19)
New Contributors!
@Janpot, @robdodson, and @WeiweiAtGit
Major Changes
Improvements
- Use
whatwg-url
to parse URLs - #997 - Use
firstMeaningfulPaint
trace event directly - #1066 - Remove whitespace and comments from traceviewer-js - #1095, #1103
- Audit: Remove browser-generated
paintNonDefaultBackgroundColor
event fromuser-timings
- #1077 - Audit: Handle where
tracingStartedInPage
doesn't precedenavStart
in trace - #1152, 9c8d13e - Audit: Add new required attr and attr-value accessibility audits - #1156
- CLI: Add improved search for Chrome executable on Linux - #856
- CLI: Add check that TypeScript files have been compiled before running - #1113
- CLI: Add
--view
flag which serves generated report after Lighthouse run - #1130, f6afd22 - Driver: Return meaningful errors from page context when
evaluateAsync
rejects - #1037 - Report: Create "Fancier Stuff" section for newer (but not necessarily better) APIs - #1087
- Report: Convert
helpText
toggle to pure CSS - #1104 - Report: Stick header to top of page - #1121, #1132, #1133
- Report: Make mobile-friendly and responsive - #1134
- Report: Don't emit script tags in devtools report - #1105
- Report: Use same favicon throughout all reports - #1172
- Viewer: Move share button to core report - #1117
- Viewer: Add support for copy and paste of report JSON - #1126, #1128
- Viewer: Concat CSS files - #1153
Bug Fixes
- Unmute some smoke test failures - #1081
- CLI: Make
rimraf
async for deleting Chrome temp profile - #1127 - CLI: Eliminate errors from calling
ChromeLauncher.kill()
twice - #1131 - CLI: Fix html
reportContext
when generated by the CLI - #1171 - Driver: Fix
evaluateAsync
when page has overridden native Promise - #1037, #1178 - Report: Fix for formatting with unknown time zone - #1086
- Report: Fix report color issues in Safari - #1114
- Report: Fix print styling - #1180
- Testing: Handle critical-request-chains audit promise rejections - #1100
- Testing: Fix failing lint test - aa6d38b
- Viewer: Disable sharing button if gist is already saved - #1118
Testing
- Don't run Closure type checking on Travis - 558a26
- Update
eslint
andeslint-config-google
to latest - #1136, #1159, #1160 - Audit: Add tests for
notification-on-start
- #1089 - CLI: Add test for obsolete CLI flags - #1168
- Viewer: Add analytics #1120, #1162
- Viewer: Add build of viewer to CI test suite - #1160
Docs
- Update jsconfig for intellisense - 835ae98
- Audit: Fix type in
no-console-time
helpText
- #1142 - Audit: Add links to DoBetterWeb
helpText
docs - #1161 - readme: Add Viewer to readme - #1164
Refactor
- Audit: Add check for an audit's
requiredArtifacts
before running - #1088 - Audit: Centralize auditing of
axe-core
results - #1167 - CLI: Unify
bin.ts
execution and error-handling paths - #1141 - Gatherer: Gatherers now return artifacts directly rather than setting
this.artifact
- #1122 - Viewer: Split code into modules - #1116
- Viewer: Use
tsc
to es3ify viewer code - #1150