Skip to content

Latest commit

 

History

History
336 lines (139 loc) · 10.4 KB

CHANGELOG.md

File metadata and controls

336 lines (139 loc) · 10.4 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

8.0.5 (2020-02-22)

Bug Fixes

  • create fixtures dir if it doesn't exist (65c0549)

8.0.4 (2020-02-22)

Bug Fixes

  • package: remove unused peerDep (ffbd503)

8.0.3 (2020-02-21)

Bug Fixes

  • fix test failures not exiting with code 1 (2b7a9f8)

8.0.2 (2020-02-15)

Bug Fixes

  • fix "update" failing when existing resolution was different (5aa94e6)

8.0.1 (2020-02-14)

Bug Fixes

  • don't throw on non-TTY stdout (#8) (ab02a5e)

8.0.0 (2020-02-14)

Code Refactoring

  • remove all GSAP-specific code (f00e67a)

Features

  • enable full concurrency; remove ava dependency (#7) (633e98a)

BREAKING CHANGES

  • The dependency on ava has been removed, and nodecg-screenshot-tester is now a standalone tool. Please consult the README for updated usage instructions.
  • All code specific to GSAP has been removed, in an effort to further generalize this tool.

What this means in practice is that if you are still running GSAP 2, then nodecg-screenshot-tester will no longer automatically detect when a Timeline or Tween is returned by your entranceMethod, and it will not wait for it to complete before taking the screenshot.

However, nodecg-screenshot-tester does still detect when entranceMethod returns a Promise, and waits for that. GSAP 3 now has a .then method on all animations, so if you upgrade your codebase to GSAP 3 then you will get this functionality back. Else, you may need to wrap your GSAP 2 timelines in promises in your own codebase.

7.0.0 (2020-02-13)

Bug Fixes

  • ensure loads are done before taking screenshot (90ea8fc)

Chores

  • migrate to eslint, add prettier (92a2b43)

Features

  • add optional "after" callback (e7e5432)
  • allow generate-fixture-screenshots to run in parallel (1c86118)
  • augment window type (4df22b6)

BREAKING CHANGES

  • By default, generate-fixture-screenshots now runs in parallel. The concurrency is automatically computed based on the number of physical CPU cores detected. This might expose flakiness in screenshots that previously seemed reliable when running under a less-strained system.

If you need to stick to running tests one-at-a-time, pass in the --concurrency=1 flag.

  • some code has changed in subtle ways that could alter the behavior of the program. It shouldn't, but it could.

6.0.0 (2020-01-28)

Bug Fixes

  • package: mock-nodecg is a prodDep (9518e3c)

BREAKING CHANGES

  • package: the last release should have been a breaking change, because it updates mock-nodecg in a way which substantially changes its behavior. Refer to the mock-nodecg changelog for details.

5.1.0 (2020-01-28)

Features

  • package: update mock-nodecg (d8e2667)

5.0.2 (2019-05-14)

Bug Fixes

  • i guess we forgot how to read images off disk since 90 minutes ago??? (d0d9df0)

5.0.1 (2019-05-14)

Bug Fixes

  • wait for both load and networkidle0 (fb503e5)

5.0.0 (2019-05-14)

Features

  • wait until all network connections have completed before taking screenshots (8735dde)

BREAKING CHANGES

  • nodecg-screenshot-tester now waits for 500ms of network idle time before taking a screenshot. This is done to try to ensure that all fonts, image, etc, have loaded on the page before the screenshot is taken.

4.1.0 (2019-05-10)

Features

  • add support for optional "metadata" object (1e9da96)

4.0.0 (2019-04-30)

Bug Fixes

  • package: update puppeteer (5a973d8)

BREAKING CHANGES

  • package: Puppeteer has been updated, which means a new Chromium version is being used. This will likely change how certain pages render, and will change some screenshots as a result. You may need to generate new fixtures.

3.0.0 (2019-03-12)

Features

  • call before after populating replicants (1887e14)

BREAKING CHANGES

  • before is now called after replicant prefills have been populated.

2.2.2 (2019-02-16)

Bug Fixes

  • replicants: fix string prefill values being unusable (3f88e35)

2.2.1 (2019-01-28)

Bug Fixes

  • package: expose typings (9e3b4f8)

2.2.0 (2018-11-18)

Features

  • transform bare module specifiers (#1) (6b03314)

2.1.2 (2018-10-14)

Bug Fixes

  • package: update mock-nodecg dep to 1.7.0 (e24bb4e)

2.1.1 (2018-09-09)

Bug Fixes

  • strip querystring from filenames (a8925f5)

2.1.0 (2018-07-07)

Bug Fixes

  • fix screenshots failing when their entrance method returns a promise (7d0fd2c)

Features

  • cli: add support for --filter argument (b054039)

2.0.0 (2018-07-06)

Bug Fixes

  • don't provide a default entranceMethodName (5ac21d7)

Features

  • add support for custom express routes via CUSTOM_ROUTES const (05d11aa)

BREAKING CHANGES

  • entranceMethodName no longer has a default value. Previously, it had a default of enter.

1.0.0 (2018-06-13)

Code Refactoring

  • remove unused application-specific code (1d692ee)

Features

  • add support for test/fixtures/static folder (049aa94)

BREAKING CHANGES

  • Codename IF-specific routes have been removed, and should be added directly to IF.

0.1.1 (2018-05-28)

Bug Fixes

  • ensure that SCREENSHOT_TESTING flag is set before any page scripts run (a1e4ddb)

0.1.0 (2018-05-20)

Features

  • set viewport to declared size of graphic from the bundle's package.json (e69a45d)

0.0.1 (2018-05-17)