v2.0.0-beta.1
·
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:
percySnapshotis now the packages default export (import { percySnapshot } 'ember-percy'becomesimport percySnapshot from '@percy/ember';). - Related to the above, the package name is changing to
@percy/ember. - You need to prepend the
ember testcommand withpercy exec --now (percy exec -- ember test) - You must use
awaitwithpercySnapshot(or ensure the promise resolves, to make sure your snapshots are as stable as possible) breakpointsConfigis 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_TOTALmight 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 withpercy execnow)