When a new package version is created, an ancestor version is associated with it. Now, after several releases, we want to roll back some changes and we need to know the ancestor version associated with each of our releases. How on earth do you get that useful information?

1 Answer 1


I found the solution here:


For completeness, the following command will print the ancestry tree for your package:

sf package version displayancestry --package 04tV.....

Something like this:

  • I must mention that this does not always work. Sometimes you will get the error 'Cannot read properties of undefined (reading 'map')'
    – dev4life
    Commented Mar 22 at 1:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .