Skip to content

v2.0.0-beta.1

Choose a tag to compare

@Robdel12 Robdel12 released this 18 Dec 17:20
· 483 commits to master since this release

What changed?

v2.0.0 of the Percy Ember SDK is a complete rewrite to bring it inline with how all other Percy SDKs function now (by utilizing @percy/agent for the heavy lifting)

Breaking changes:

  • Import API changes: percySnapshot is now the packages default export (import { percySnapshot } 'ember-percy' becomes import percySnapshot from '@percy/ember';).
  • Related to the above, the package name is changing to @percy/ember.
  • You need to prepend the ember test command with percy exec -- now (percy exec -- ember test)
  • You must use await with percySnapshot (or ensure the promise resolves, to make sure your snapshots are as stable as possible)
  • breakpointsConfig is no longer going to work -- we're not hooking into the Ember build pipeline to gather config objects. Use a Percy config file instead.
  • PERCY_PARALLEL_TOTAL might need to be adjusted if you're using Ember Exam. Now most exam builds will only create one Percy build (since we wrap the test command with percy exec now)