Open
Conversation
`manifestVersion` is `6` for UXP https://github.com/hyperbrew/bolt-uxp/blob/master/uxp.config.ts#L21 `extensionManifestVersion` is `6.0` for CEP https://github.com/hyperbrew/bolt-cep/blob/master/cep.config.ts#L12 This does not make sense to me as the latest manifest version for UXP should still be `5`. From what I understand the manifest versions for CEP and UXP are not necessarily in sync and `6` does not exists yet for UXP though it looks like it's working for now. But might break later once introduced if it has breaking changes. When searching for a `manifestVersion` for UXP, I can only find references about a version 5, like: - https://developer.adobe.com/indesign/uxp/plugins/concepts/manifest/ - https://www.davidebarranca.com/development/adobe-uxp-things-you-need-to-know-manifest-5 - https://developer.adobe.com/indesign/uxp/plugins/tutorials/inter-plugin-comm/ - https://adobedocs.github.io/uxp-photoshop/uxp-api/reference-js/Modules/uxp/Persistent%20File%20Storage/FileSystemProvider/ Also https://developer.adobe.com/photoshop/uxp/2022/guides/uxp_guide/uxp-misc/manifest-v5/ mentions > Manifest v5 gives developers access to a new plugin permissions model and WebViews in modal dialogs. Using the full manifest v5 feature set requires PS 23.3.0 or higher. (UXP 6.0 or higher) So maybe the confusion comes from the fact that the manifest version for CEP and the UXP version (not the manifest) also someone aligned at v6 for a while. (latest UXP version is `UXP v8.4.0` based on the https://developer.adobe.com/photoshop/uxp/2022/ps_reference/changelog/)
Collaborator
|
This is Adobe, not Microsoft... they suck at documentation ¯_(ツ)_/¯ If you go from 6 to 5, then hybrid plugins will stop working. And they use v6 in their examples of hybrid plugins. As far I know v6 is not much different from v5... these are validation rule I wrote: https://github.com/jardicc/vscode-uxp-validator/blob/main/server/src/manifestValidation/Schemas/V6Schema.ts (disclaimer: I am not participating in bolt-uxp project but I watch it) |
Author
It's the first time I hear about this. Thanks for sharing! Their documentation about this is really missing 😓 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
manifestVersionis6for UXP https://github.com/hyperbrew/bolt-uxp/blob/master/uxp.config.ts#L21Git blame found the commit ae93722
extensionManifestVersionis6.0for CEP https://github.com/hyperbrew/bolt-cep/blob/master/cep.config.ts#L12This does not make sense to me as the latest manifest version for UXP should still be
5. From what I understand the manifest versions for CEP and UXP are not necessarily in sync and6does not exists yet for UXP though it looks like it's working for now. But might break later once introduced if it has breaking changes.When searching for a
manifestVersionfor UXP, I can only find references about a version5, like:Also https://developer.adobe.com/photoshop/uxp/2022/guides/uxp_guide/uxp-misc/manifest-v5/ mentions
So maybe the confusion comes from the fact that the manifest version for CEP and the UXP version (not the manifest) also someone aligned at v6 for a while? (latest UXP version is
UXP v8.4.0based on the https://developer.adobe.com/photoshop/uxp/2022/ps_reference/changelog/)I wanted to point this out as it's confusing to find a
"manifestVersion" = 6for UXP when there are no documentation for it.From my tests,
"manifestVersion" = 5has no impact on my plugin (which uses a local Webview (very recent feature), and also uses the FileSytem)