Changelog History
Page 5
-
v4.2.0 Changes
March 14, 20194.2.0 (2019-03-06)
๐ We expect this release to ship in the DevTools of Chrome 74.
๐ New contributors!
@pra85, @tgfjt, @gidztech and @jburger424. Thank ya!
๐ New Audits
- tap-targets: verify tap targets are well sized and distinct (#5846)
Report
- reorganize a11y audit groups (#7129)
- clip exceptionally long URLs in the header (#6858)
- details-renderer: use new audit-details types (#7192)
Core
- fid: add Max Potential FID to JSON (#5842)
- artifacts: unify AnchorElements into single gatherer (#7101)
- artifacts: include inline scripts in Scripts artifact (#7065)
- artifacts: create ViewportMeta computed artifact (#7264)
- โ artifacts: add TestedAsMobileDevice base artifact (#7280)
- ๐ bootup-time: better attribution (#7059)
- byte-efficiency: use more optimistic GZIP ratios (#7210)
- cache-headers: fix typo in must-revalidate (#7189)
- details-renderer: add snippet details renderer (#6999)
- diagnostics: add diagnostic audits (#7052)
- โฑ driver: add waitForFCP timeout (#7356)
- driver: collect network requests from out-of-process iframes (#6922)
- driver: add ' Chrome-Lighthouse' to useragent (#7297)
- emulation: bump chrome useragent to m74 (#7211)
- ๐ fcp-3g: remove unused i18n for LR compatibility (#7103)
- font-display: more accurately follow CSS spec (#7191)
- image-elements: cap natural-size fetch time (#7274)
- ๐ง lantern: add configuration for precomputed network analysis (#7239)
- lhr: include resourceSize in network-requests audit (#7056)
- ๐ manifest: remove Manifest artifact in favor of new WebAppManifest (#7078)
- metrics: do not fail if TTI fails (#7132)
- network-analysis: set additional RTT to 0 not NaN (#7156)
- network-recorder: redirects started by script are set as initiators (#7352)
- ๐ plugins: add support for groups (#7304)
- ๐ seo: remove manual mobile-friendly audit (#7223)
- โ seo: add rel=canonical test for auditing a domain root (#7228)
- tap-targets: disable font size and tap targets audit on desktop (#7393)
- tap-targets: make tap targets failures more visible (#7373)
- tsc: fix audit details type hierarchy (#7177), #7154, #7285)
- ๐ unused-css: change title Defer -> Remove (#7235)
- โ give sort fallback for broken test details in node 11 (#7216)
- โฑ suppress protocol timeout for app manifest bug in LR (#7184)
- โก๏ธ optimize tap-targets audit (#7130)
- โ remove NO_ERROR runtimeError when no error (#7358)
CLI
- write report in runLighthouse before quitting Chrome (#7339)
Deps
- โก๏ธ snyk: update snyk snapshot (#7277, (#7233, #7167), #7116)
- โก๏ธ updates to weed out transitive vulnerabilities (#7319)
- ๐ update cssstyle to parse more named colors, CSS4 colors (#7283)
๐ Docs
- โ๏ธ contributing.md: fix typos (#7170)
- ๐ fix throttling rate comment and tweak comcast bandwidth (#7374)
- ๐ improve explanations of extending and using config files (#7354)
- โก๏ธ update throttling docs to public version (#7332)
- readme: add lighthouse-keeper to integrations (#7399)
- ๐ docs(related-projects) add react-lighthouse-viewer (#7262)
- readme: Add Fluxguard to the list of integrations (#7249)
- variability: add dedicated variance doc (#7175)
I18n
- ๐ fix max potential FID description (#7353)
- ICU syntax correction (#7320)
- seo strings prepped for i18n (#6860)
- translate strings in the tap-targets audit (#7111)
- a11y category title and description (#7113)
- import translated accessibility and lh-error messages (#7008)
โ Tests
- ๐จ refactor driver, more gotoURL tests (#7270, #7242, #7212)
- ๐ท run node 11 in CI (#7230)
- replace non-volatile snapshots with inline literals (#7217)
- ๐จ smokehouse: refactor to enable Smokerider (#7284)
- smokehouse: +/- operator (#7343)
- โ smokehouse: gzip test to assert transfer and resource sizes (#7286)
- smokehouse: fail on finalUrl/errorCode mismatches (#7227)
Misc
-
v4.1.0 Changes
January 28, 2019๐ New contributors!
@castilloandres you da man, man.
Core
- font-size audit: count code points for text length (#6973)
- cache headers audit: ignore private, must-validate, no-cache (#6835)
- ๐ introduce Lighthouse plugins (#6959)
- ๐ new audit: add FCP on 3G (#7062)
๐จ Refactor
- ๐จ refactor meta element artifacts to single
meta-elements
artifact (#7025) - images: cleanup
ImageUsage
to match other*Elements
artifacts (#7030) - โ add baseArtifacts (with new WebAppManifest) to passContext (#6957)
- ๐ use async/await in evaluateAsync (#7038)
Report / Viewer
- renderer: do not attempt fireworks for devtools (#7090)
- viewer: allow loading RunnerResult json (#7031)
Misc
-
v4.0.0 Changes
January 16, 2019๐ New contributors!
@mattzeunert, @dima74, @jeffbcross, @knoxmic, and @shogunsea. Thanks!
Major changes
๐ A bevy of bug fixes and performance improvements.
A special reward for getting a perfect score.
๐ A new layout for the PWA category, emphasizing speed, installability, and polish.
๐ฅ Breaking changes
- ๐ New PWA category, organization, and scoring (#6395)
- audits'
scoreDisplayMode
'not-applicable'
is now'notApplicable'
(#6783) - ๐
no-websql
audit removed due to performance cost (#6293) speed-index
scoring now scales based on throttling (#7007)- ๐ empty children arrays are now removed from
critical-request-chain
audit result (#6211) - the correct Nexus 5X screen height of 660 now used instead of 732 (#6932)
- throttling constants under
mobile3G
renamed to the more accuratemobileSlow4G
with no change in values (#6163) - typescript definition files are now located under
types/
(#6617) - computed artifact files are now located under
lighthouse-core/computed/
(#6618)
๐ Full Changelog (in addition to the changes in 4.0.0-beta, 4.0.0-alpha.1, and 4.0.0-alpha.0)
Core
- config: reorder categories to match new score gauge order (#6848)
- driver: handle navigation rejections within
Driver.gotoURL
(#6739) - โ driver: exit early when testing page with insecure certificate (#6608)
- driver:
waitForFCP
when tracing (#6944) - ๐ handle invalid network timing data (#6780)
- ๐ fix
usesObjectFit
property for ImageElement (#6761) - ๐ fonts: resolve URLs relative to stylesheet (#6782)
- ๐ lantern: remove unnecessary sort calls (#6900)
- lantern: drop node id from error message (#6774)
- minification: properly handle regex character classes (#6745)
- โ preconnect: add warning if preconnect link is not used (#6694)
- preload: warn when duplicate requests issued (#6849)
- scoreDisplayMode: change
'not-applicable'
to'notApplicable'
(#6783) - ๐ท service-worker: check that
start_url
is within SW's scope (#6678) - speedindex: scale scoring coefficients based on throttling (#7007)
- tap-targets: helper functions for working with
ClientRects
(#6703) - url: add intent protocol to
NON_NETWORK_PROTOCOLS
(#6711) - ๐ user-timings: move into computed artifact (#6719)
- ๐ change
displayValue
to be string only (#6767) - โ add type checking to
pwmetrics-events
(#6980) - stricter LR-desktop metric scoring (#6969)
- ๐จ in-page functions refactor (#6702)
Deps
- โก๏ธ update axe-core to latest (#7020)
- โก๏ธ update details-element-polyfill to 2.2.0 (#6928)
- โก๏ธ update tsc to 3.2.2 (#6684)
- โก๏ธ snyk: update snyk snapshot (#6888, #6842)
๐ Docs
- readme: add speedrank to integrations list (#6987)
- readme: added simple guidance on install options (#6810)
- โก๏ธ configuration.md: update link to pwmetrics (#6816)
- โก๏ธ scoring: update TTI references (#6865)
--help
: use HTTPS link to bit.ly/chrome-flags (#6692)- โ ask people to test a11y issues upstream first (#6764)
Extension
- return
runnerResult
fromrunLighthouseInExtension()
(#6839)
I18n
Report
- pwa: add tooltip to badge gauge (#6689)
- โ add top-level section for passed audits that had warnings (#6989)
- celebrate all 100s (#5455)
- 0๏ธโฃ expand groups within "Passed Audits" by default (#6930)
- ๐ fix margin on score gauge wrappers (#6948, #6972)
- ๐ support narrow screens (#6857)
- larger margins for audit group summaries (#6688)
- clean up more clump/group/expandable cruft (#6982)
โ Tests
- smokehouse: assert
errorCode
in expectations (#6851) - smokehouse: use node's native
URLSearchParams
(#6929) - โ add type checking to
cli/tests/
(#6874) - โช report: restore old, disabled failed grouping test (#7006)
Misc
-
v4.0.0-beta Changes
December 11, 2018Core
- โ service-worker: check that test page is in SW scope (#6609)
- throw fatally on page hang (#6497)
- define new DNS failure LH Error (#6579)
- assert securityIssues before getPageLoadError (#6578)
- โ remove protocol timeout for Page.navigate (#6413)
- ๐ rename webapp-install-banner audit to installable-manifest (#6630)
- computed-artifacts: fix cache and add perf timing (#6619)
Report
- โ add PWA category badge gauge (#6526, #6670)
- give passed-opportunities group an icon (#6594)
- safari: fix dropdown overlap translateZ (#6546)
- ๐ use details-element-polyfill from node_modules (#6593, #6607)
CLI
- exit and kill Chrome on unhandledRejection (#6394)
โ Tests
- โ add smoketest for slow service worker (#6648)
Misc
-
v4.0.0-alpha.1 Changes
November 15, 2018Core
- skip h2 audit in LR (#6564)
- config: faster category validation (#6445)
- driver: wait for Page.frameNavigated for about:blank (#6446)
- โ lib: add chrome-extension to URL allowedProtocols and add test (#6447)
- pwa: audit and report group renames (#6494)
- seo: properly handle anchors in SVG (#6483)
- โฑ increase protocol timeout to 30s (#6505, #6531)
Report
- pwa: give badges to groups with all passing audits (#6504)
- pwa: add pwa-category-renderer (#6486)
- compat: add details-element polyfill for Edge (#6465)
- ๐ compat: fix support for edge (#6459)
- compat: ignore Edge's Invalid Argument error (#6456)
- compat: fix summary rendering in FF (#6448)
- ๐ handle underscored not_applicable scoreDisplayMode (#6549)
- ๐ css: make performance category more compact (#6437)
- ๐ rename clump classes; give classes to all audit groups (#6482)
- ๐จ refactor rendering of top-level failed/passing/etc clumps (#6460)
Misc
-
v4.0.0-alpha.0 Changes
October 31, 2018๐ New Contributors!
Thanks to @carlesnunez and @justin0022 for their first contributions!
Thanks to @CodeDem for improving how the image-aspect-ratio audit handles small images!
Huge thanks to myself (@Hoten) for joining Lighthouse! Go me!
๐ New Audits
- offline-start-url (#6397)
Core
- aspectratio: ignore placeholder images (#6305)
- audit: add utm parameters when calling snyk (#6172)
- audits: clarify diff between load-fast-enough-for-pwa's TTI and perf TTI (#6286)
- axe: disable unused audits (#6180)
- computed: fix new computed artifact interface (#6151)
- config: add new PWA category groups (#6396)
- ๐ critical-request-chain: remove empty children from LHR (#6211)
- ๐ driver: save performance.now() to avoid conflict (#6387)
- driver: request smaller trace in m71+ (#6117)
- driver: stringify protocol error messages (#6302)
- driver: address bckenny feedback on #6117 (#6285)
- driver: reduce required traceCategories again (54baf91)
- driver: recover from rejection on handleJavaScriptDialog (#6327)
- emulation: fix missing space in mobile UA (#6161)
- icons: defer to manifest-icon type hint for image type (#6230)
- network: handle invalid NetworkRequests (#6157)
- ๐ network-analyzer: move throughput to NetworkAnalyzer (#5900)
- perf: add timing instrumentation to measure runtime perf (#3745)
- proto: add proto definition for LHR (#6183)
- simulator: start nodes in observed order (#5362)
- unminified-javascript: replace esprima with custom tokenizer (#5925)
- โ remove recoverOrThrow / err.fatal (#6343)
- convert computed artifact loading to regular require() (#6204)
- โ remove no-websql audit (#6293)
- bail on run if insecure ssl certification (#6300)
- ๐ make throttled offscreen-images work without TTI (#6039)
- ๐พ save HTMLElement.p.matches function to avoid conflict (#6283)
- โ remove fonts gatherer, move font-display to use CSSUsage artifact (#6166)
- โ remove last dependency on WebInspector (#6209)
- โ add timeout to all protocol commands (#6347)
- don't load blank page twice in first pass (#6369)
- ๐จ refactor finding of trace start (#6370)
- โฑ increase Page.navigate timeout (#6412)
Report
- ๐ fix tooltip hover animation (#6288)
- reframe Fast 3G as Slow 4G (#6163)
- ๐ fix html report viewing bugs for Safari (#6143)
- dom-size: right-align the value column (#6372)
Clients
- ๐ simplify viewer build process (#6426)
- ๐ reorganize file structure and build process (#6344)
- ๐ build: ignore all locales from devtools & extension build (#6170)
- lr: skip early emulation now that lr-desktop is defined (#6158)
- ๐ป split browserifying and extension packaging into separate scripts (#6295)
- ๐ simplify bundle building (#6282)
- stop report bug prompt for file:// urls (#6278)
Deps
- ๐ update typescript to latest patch release (#6235)
- โก๏ธ update to tsc 3.1.1 (#6126)
- โฌ๏ธ jsdom: upgrade to support Element.prototype.closest (#6411)
- โก๏ธ snyk: update snyk snapshot (#6377)
๐ Docs
- contributing: consistent capitalization (#6174)
- ๐ new-audits: revise issue template (#6233)
- readme: Add new related project, lighthouse-github-reporter (#6307)
- readme: change image references be commit hash raw gh urls (#6116)
- โ add primer on viewing the timing data (#6393)
- typo fix (#6335)
- โ Remove "sh" format for CLI --help output (#6311)
- โก๏ธ update docs for --output-path re: multiple output types (#6339)
I18n
โ Tests
- ๐ use predictable numbers in golden LHR (#6404)
- โ add basic sentry tests (#6308)
- โช restore lr-entry test (#6214)
- โ remove more mock computed artifacts (#6195)
- โ add trace creator (#6196)
- โ add networkRecord-to-devtoolsLog mocking utility (#6171)
- โ add angular test for JS minification (#6138)
- โ run node 10 on Travis (#6361)
Misc
- ๐ tweaks for devtools client (#6127)
- simplify proto npm scripts (#6406)
- โ add cli module diagram (#6129)
- ๐ฆ keep download-chrome script in npm package (#6153)
- lantern script path resolution fix (#6380)
- โ add integrity data to yarn.lock (#6212)
- โ add yarn integrity hashes for extension/viewer (#6277)
- only allow 1 error from each audit/gatherer (#6215)
- โช Revert "core(driver): stringify protocol error messages (#6302)" (#6328)
- ๐ fix typo in feature request template (#6431)
- โ remove plots/ (#6346)
- ๐ build: cleanup extension package zip using gulp (#6210)
- ๐ build: rename bundled files (devtools/ext/lr) (#6179)
- ๐ eslint: enforce infix-op spacing (#6382)
- logger: isVerbose(), getTimeEntries() (#6383)
- ๐ฒ logging: add hanging request logging in driver (#6297)
- ๐ proto: made default LighthouseError enum 'UNDEFINED' (#6334)
- proto: align proto whitespace (#6374)
- proto: convert int32's into DoubleValue in proto (#6332)
- proto: adjust configSetting.output in preprocessor (#6310)
- proto: add audit_mode and timings (#6363)
- ๐ proto: fix linting and add LR hook (#6373)
- 0๏ธโฃ proto: make NO_ERROR default in proto (#6358)
- proto: reduce configSettings in proto to minimum (88b2829)
- โก๏ธ yarn: update lockfile for micromatch (#6384)
-
v3.2.1 Changes
October 01, 2018Core
-
v3.2.0 Changes
September 27, 2018๐ New Audits
- โ add js-libraries audit, just listing detected js libs (#6081)
Faster
- driver: deliver trace as events rather than a stream (#6056)
- โฑ network-recorder: consider iframe responses finished. helps avoid pageload timeout (#6078)
- ๐ replace WebInspector traceparser with native JSON.parse (#6099)
Core
- โ add
emulatedFormFactor
setting (#6098) - โ remove some trivial uses of WebInspector (#6090)
- ๐ use cssstyle to parse CSS colors instead of WebInspector (#6091)
- ๐ initial refactor of computedArtifact import/caching (#5907)
- ๐ฑ asset-saver: stop creating screenshot files during --save-assets (#6066)
- content-width: not applicable on desktop (#5893)
- driver: add check to make sure Runtime.evaluate result exists (#6089)
- icons: Add PNG check to manifest icon validation (#6024)
- lhr: add top-level runtimeError (#6014)
- net-request: transferSize now shared via 'X-TotalFetchedSize' (#6050)
- don't allow analysis of file:// urls (#5936)
Report
- dont show zero ms savings in preconnect, preload audits (#5983)
- align table headings & columns left/right (#6063)
- audit: make dom-size table prettier (#6065)
cursor:pointer
on Passed Audits, etc (#5977)- ๐ psi: remove redundant varience disclaimer (#6110)
- util: โ audits should be in Passed Audits (#5963)
- vulnerable-jslibs: tweak snyk link for highlighted matches (#6096)
- ๐ xbrowser: replace Typed OM getComputedStyle() with CSSOM equivalent (#5984)
CLI
- โ add --print-config flag (#6107)
Deps
- โก๏ธ snyk: update snyk snapshot (#6074)
- [email protected] (#6106)
- [email protected] (#6102)
- [email protected] (faster sort) (#6073)
- โ [email protected] (#6101)
๐ Docs
- readme: add lighthouse4u (#6008)
- โก๏ธ readme: updated report screenshot to 3.1.0 (#6042)
- readme: add lighthouse-badges to related projects (#5969)
- โก๏ธ recipes: update custom-audit package.json (#6007)
- โก๏ธ releasing: minor updates (#5345)
i18n
Misc
-
v3.1.1 Changes
September 07, 2018- โก๏ธ update report score legend to match updated color buckets (#5985)
-
v3.1.0 Changes
September 06, 2018๐ New Contributors!
Huge thanks to @midzer and @justinribeiro for being so darn helpful. Great stuff. :D
๐ And thanks to @mettamatt for some helpful documentation. Who doesn't love better docs?!
Notable changes
- red/orange/green color buckets for scores are tougher now. (#5831)
Previously Now Red (bad) 0-44 0-49 Orange (average) 45-74 50-89 Green (good) 75-100 90-100 Scoring itself hasn't changed; only what color is used to decorate a score.
- trace-processor: fix bug where top-level events weren't being found in the trace (#5841)
Core
- normalize URL before checking equality (#5960)
- ๐ฆ expose LighthouseRunWarnings on audit context (#5684)
- adjust audit titles for consistency (#5717)
- export any page-functions as string (#5902)
- all ByteEfficiency audits require a trace (#5840)
- โจ enhanced noopener output (#5857)
- errors: class rename and re-source page load errors (#5972)
- ๐ fix defaultConfig UIStrings and exit code for test (#5884)
- โ remove last debugString references (#5856)
- โก๏ธ redirects: update redirects to use OpportunityDetails (#5791)
- warn when extensions affected perf (#5666)
- driver: handle when page redefines global.URL (#5748)
- gather-runner: call clearDataForOrigin on teardown (#5933)
- lhr: expose environment info (#5871)
- lr: add LR presets for desktop and mobile (#5886)
- lr: drop maxWaitForLoad 45 -> 35 (#5938)
- network: handle LR transferSize (#5895)
- network-analyzer: infer RTT from receiveHeadersEnd (#5694)
- โก๏ธ optimized-images: support non-standard mime types (#5688)
- ๐ preload: remove CRC dependency (#5901)
- screenshot-thumbnails: improve caching (#5976)
- ttfb: reuse requestMainResource (#5657)
- trace-of-tab: only use navstart of chrome/http documents (#5917)
- tracing-processor: throw on no top level events (#5878)
- ๐ uses-long-cache-ttl: handle multiple cache-control headers (#5745)
Extension
- access core through module instead of Runner (#5855)
- ๐ tweak runLighthouseAsInCLI jsdoc (#5812)
- ๐จ refactor option/flag passing (breaking change) (#5769)
- โ remove X-UA-Compatible meta (#5739)
- popup: keep feedback class (#5872)
i18n
- โ add i18n 'type' for prlint (#5880)
- minor message and description changes based on translator feedback (#5829)
- reframe the ICU message descriptions with placeholders (#5737)
- export rendererFormattedStrings (#5713)
- ๐ extract performance category strings to UIStrings (#5716)
- ๐ always use english for status logs (#5727)
- โ add 'ln' locale which maps to 'fr' (#5879)
- ๐ support descriptions (#5718)
- โ add [ICU Syntax] label to relevant message descriptions (#5736)
- import psuedo-locale json from TC (#5726)
- incorporate 52 languages into messages pipeline (#5781)
- โ add descriptions to UI strings (#5743)
- โ add strings of the opportunity group split (first paint, overall) (#5744)
- โ add locale fallback when language not supported (#5746)
- localize strings at end of run (#5655)
- always use formatted strings for extension popup (#5761)
- โ add strings for user timing entries table (#5806)
- sort the ICU messages when saved (#5771)
- โ roll latest TC messages (#5802)
- โ add localized messages for 52 locales (#5780)
- โ add assertion script (#5686)
- report: use LHR locale for toLocaleString (#5734)
- report: localize CRC renderer strings (#5730)
Types
- don't use index signature in LHErrors (#5896)
- type check config files (#5858)
- don't use index signature in simulator.js (#5897)
- โก๏ธ update debugger protocol type checking (#5836)
- โ remove more reliance on implicit index signatures (#5874)
- โก๏ธ update types in emulation.js (#5830)
- tighten traceOfTab timing types (#5887)
- โก๏ธ update to ts 3.1 to support new protocol defs (#5942)
- โก๏ธ update to latest tsc (#5581)
- NetworkRequest.RESOURCE_TYPES type fix (#5851)
- โ add explicit index signature in mainthread-work-breakdown (#5859)
- cli: make LH.Flags type correct and consistent (#5849)
Report
- ๐ link to our own "unused css" reference doc (#5698)
- ๐ฆ expose prepareLabData directly as a fn (#5818)
- ๐ responsive styles (#5706)
- โ add PSI.prepareLabData() (#5804)
- adopt 80-char line-length license (#5757)
- โ add method to get the final screenshot (#5673)
- metrics: display metrics in seconds (#5914)
- psi: add Util.prepareReportResult method (#5766)
- ๐ psi: reset template styles on every call of prepareLabData (#5877)
- psi: add lab data summary sentence (#5961)
๐ New Audits
- a11y: add manual audit for interactive element affordance (#5764)
โ Tests
- ๐ท quiet down collect-scripts during CI (#5801)
- ๐ better display value tests with i18n (#5720)
- ๐ dbw: remove createShadowRoot call (#5906)
- 0๏ธโฃ jest: disable coverage collection by default (#5772)
- โก๏ธ smokehouse: update expectations for HTML Imports deprecation (#5943)
- โก๏ธ smokehouse: update passive listener expectations (#5899)
Deps
- โก๏ธ snyk: update snyk snapshot (#5774), (#5773), (#5762), (#5691)
- depend on speedline-core, rather than the cli (#5800)
๐ Docs
- headless: Require Node 8 and apt install chromium (#5974)
- headless: example script to post report as gist (#5975)\
- integrations: Add SpeedCurve to "Lighthouse Integrations" (#5732)
- ๐ link FCP audit description to lighthouse docs (#5850)
- ๐ puppeteer: remove appMode mention (#5923)
- readme: mention chrome-flags troubleshooting in getting started (#5916)
- report: add a renderer readme (#5725)
- scoring: http2 redirect PWA score issue (#5929)
Misc