customization through packages and revert it back to previous version

hey i want to make all customization through package and want to also downgrade if particular package version not working or want to modify if some change is there. is it possible ?

for an example if i am creating some custom doctype, custom fields , custom print format, change in original field of doctype in version 0.0.1 . now due to some reason i don’t want custom doctype so make version 0.0.2. but this changes is not applied.

@NCP

In the new version, if you don’t want a custom doctype, you will need to write a patch to delete the custom doctype for the existing site. However, if you install the new version on a new site, the changes will be applied, but they won’t affect the existing site.