allow-external-scripts deprecated in creation of pkg installer

I noticed the following message when creating a pkg installer:

[WARNING]: Specifying [allow-external-scripts='true'] is deprecated.
           Having this in your distribution will break the installability
           of this product in an upcoming release of macOS.
           Apple reserves the right to reject notarization of any product with this option.

I have a couple of questions about that:

Which upcoming release? Ventura? I am trying to figure out the timeline here. Whats the replacement for this feature? We are depending on it in our installers.

I tried googling the answers but came up empty so I would appreciate some input on this from Apple.

(Posted this again, as I clicked accept on a reply accidentally and that can not be reverted :-( )

Ping @jaredjones and @eskimo any input on this?

allow-external-scripts deprecated in creation of pkg installer
 
 
Q