The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

715 lines
25KB

  1. JUCE breaking changes
  2. =====================
  3. Develop
  4. =======
  5. Change
  6. ------
  7. AudioProcessor::getTailLengthSeconds can now return infinity for VST/VST3/AU/AUv3
  8. Possible Issues
  9. ---------------
  10. If you are using the result of getTailLengthSeconds to allocate a buffer in your host,
  11. then your host will now likely crash when loading a plug-in with an infinite tail time.
  12. Workaround
  13. ----------
  14. Re-write your code to not use the result of getTailLengthSeconds directly to allocate
  15. a buffer.
  16. Rationale
  17. ---------
  18. Before this change there was no way for a JUCE plug-in to report an infinite tail time.
  19. Version 5.3.2
  20. =============
  21. Change
  22. ------
  23. The behaviour of an UndoManager used by an AudioProcessorValueTreeState has
  24. been improved.
  25. Possible Issues
  26. ---------------
  27. If your plug-in contains an UndoManager used by an AudioProcessorValueTreeState
  28. and relies upon the old behaviour of the UndoManager then it is possible that
  29. the new behaviour is no longer appropriate for your use case.
  30. Workaround
  31. ----------
  32. Use an external UndoManager to reproduce the old behaviour manually.
  33. Rationale
  34. ---------
  35. This change fixes a few bugs in the behaviour of an UndoManager used by an
  36. AudioProcessorValueTreeState.
  37. Change
  38. ------
  39. JUCE no longer supports OS X deployment targets earlier than 10.7.
  40. Possible Issues
  41. ---------------
  42. If you were previously targeting OS X 10.5 or 10.6 you will no longer be able
  43. to build JUCE-based products compatible with those platforms.
  44. Workaround
  45. ----------
  46. None. With the appropriate JUCE licence you may be able to backport new JUCE
  47. features, but there will be no official support for this.
  48. Rationale
  49. ---------
  50. Increasing the minimum supported OS X version allows the JUCE codebase to make
  51. use of the more modern C++ features found in the 10.7 standard library, which
  52. in turn will increase thread and memory safety.
  53. Version 5.3.0
  54. =============
  55. Change
  56. ------
  57. The JUCE examples have been cleaned up, modernised and converted into PIPs
  58. (Projucer Instant Projects). The JUCE Demo has been removed and replaced by the
  59. DemoRunner application and larger projects such as the Audio Plugin Host and
  60. the Network Graphics Demo have been moved into the extras directory.
  61. Possible Issues
  62. ---------------
  63. 1. Due to the large number of changes that have occured in the JUCE Git
  64. repository, pulling this version may result in a messy folder structure with
  65. empty directories that have been removed.
  66. 2. The JUCE Demo project is no longer in the JUCE repository.
  67. 3. The Audio Plugin Host project has moved from the examples directory to the
  68. extras directory.
  69. Workaround
  70. ----------
  71. 1. Run a Git clean command (git clean -xdf) in your JUCE directory to remove
  72. all untracked files, directories and build products.
  73. 2. The new DemoRunner application, located in extras/DemoRunner, can be used to
  74. preview all the JUCE examples and see the code side-by-side.
  75. 3. Change any file paths that depended on the plugin host project being located
  76. in the examples directory to use the extras directory instead.
  77. Rationale
  78. ---------
  79. The JUCE examples had inconsistent naming, coding styles and the projects and
  80. build products took up a large amount of space in the repository. Replacing
  81. them with PIPs reduces the file size and allows us to categorise the examples
  82. better, as well as cleaning up the code.
  83. Change
  84. ------
  85. When hosting plug-ins all AudioProcessor methods of managing parameters that
  86. take a parameter index as an argument have been deprecated.
  87. Possible Issues
  88. ---------------
  89. A single assertion will be fired in debug builds on the first use of a
  90. deprecated function.
  91. Workaround
  92. ----------
  93. When hosting plug-ins you should use the AudioProcessor::getParameters() method
  94. and interact with parameters via the returned array of
  95. AudioProcessorParameters. For a short-term fix you can also continue past the
  96. assertion in your debugger, or temporarily modify the JUCE source code to
  97. remove it.
  98. Rationale
  99. ---------
  100. Given the structure of JUCE's API it is impossible to deprecate these functions
  101. using only compile-time messages. Therefore a single assertion, which can be
  102. safely ignored, serves to indicate that these functions should no longer be
  103. used. The move away from the AudioProcessor methods both improves the interface
  104. to that class and makes ongoing development work much easier.
  105. Change
  106. ------
  107. This InAppPurchases class is now a JUCE Singleton. This means that you need
  108. to get an instance via InAppPurchases::getInstance(), instead of storing a
  109. InAppPurchases object yourself.
  110. Possible Issues
  111. ---------------
  112. Any code using InAppPurchases needs to be updated to retrieve a singleton
  113. pointer to InAppPurchases.
  114. Workaround
  115. ----------
  116. Instead of holding a InAppPurchase member yourself, you should get an instance
  117. via InAppPurchases::getInstance(), e.g.
  118. instead of:
  119. InAppPurchases iap;
  120. iap.purchaseProduct (...);
  121. call:
  122. InAppPurchases::getInstance()->purchaseProduct (...);
  123. Rationale
  124. ---------
  125. This change was required to fix an issue on Android where on failed transaction
  126. a listener would not get called.
  127. Change
  128. ------
  129. JUCE's MPE classes have been updated to reflect the official specification
  130. recently approved by the MIDI Manufacturers Association (MMA).
  131. Possible Issues
  132. ---------------
  133. The most significant changes have occurred in the MPEZoneLayout classes and
  134. programs using the higher level MPE classes such as MPEInstrument,
  135. MPESynthesiser, MPESynthesiserBase and MPESynthesiserVoice should be
  136. unaffected.
  137. Previously, any MIDI channel from 1 - 15 could be selected to be the master
  138. channel of an MPE zone, with a specified number of member channels ascending
  139. from the master channel + 1. However, in the new specification this has been
  140. simplified so that a device only has a lower and/or an upper zone, where the
  141. lower zone has master channel 1 and assigns new member channels ascending from
  142. channel 2 and the upper zone has master channel 16 and assigns new member
  143. channels descending from channel 15.
  144. Workaround
  145. ----------
  146. Use the MPEZoneLayout::setLowerZone() and MPEZoneLayout::setUpperZone() methods
  147. to set zone layouts.
  148. Any UI that allows users to select and set zones on an MPE instrument should
  149. also be updated to reflect the specification changes.
  150. Rationale
  151. ---------
  152. The MPE classes in JUCE are out of date and should be updated to reflect the
  153. new, official MPE standard.
  154. Version 5.2.1
  155. =============
  156. Change
  157. ------
  158. Calling JUCEApplicationBase::quit() on Android will now really quit the app,
  159. rather than just placing it in background. Starting with API level 21 (Android
  160. 5.0), the app will not appear in recent apps list after calling quit(). Prior
  161. to API 21, the app will still appear in recent app lists but when a user
  162. chooses the app, a new instance of the app will be started.
  163. Possible Issues
  164. ---------------
  165. Any code calling JUCEApplicationBase::quit() to place the app in background
  166. will close the app instead.
  167. Workaround
  168. ----------
  169. Use Process::hide().
  170. Rationale
  171. ---------
  172. The old behaviour JUCEApplicationBase::quit() was confusing JUCE code, as a new
  173. instance of JUCE app was attempted to be created, while the older instance was
  174. still running in background. This would result in assertions when starting a
  175. second instance.
  176. Change
  177. ------
  178. On Windows, release builds will now link to the dynamic C++ runtime by default
  179. Possible Issues
  180. ---------------
  181. If you are creating a new .jucer project, then your plug-in will now link to
  182. the dynamic C++ runtime by default, which means that you MUST ensure that the
  183. C++ runtime libraries exist on your customer's computers.
  184. Workaround
  185. ----------
  186. If you are only targeting Windows 10, then the C++ runtime is now part of the
  187. system core components and will always exist on the computers of your customers
  188. (just like kernel332.dll, for example). If you are targeting Windows versions
  189. between Vista and Windows 10, then you should build your plug-in with the
  190. latest updated version of VS2015 or later, which ensures that it's linked to
  191. the universal runtime. Universal runtime is part of the system's core libraries
  192. on Windows 10 and on Windows versions Vista to 8.1, it will be available on
  193. your customer's computers via Windows Update. Unfortunately, if your customer
  194. has just installed Windows 8.1 to Vista on a fresh computer, then there is a
  195. chance that the update mechanism for the universal runtime hasn't triggered yet
  196. and your plug-in may still fail. Your installer should prompt the user to
  197. install all the Windows updates in this case or you can deploy the universal
  198. runtime as a redistributable with your installer. If you are targeting earlier
  199. versions of Windows then you should always include the runtime as a
  200. redistributable with your plug-in's installer. Alternatively, you can change
  201. the runtime linking to static (however, see 'Rationale' section).
  202. Rationale
  203. ---------
  204. In a recent update to Windows 10, Microsoft has limited the number of fiber
  205. local storage (FLS) slots per process. Effectively, this limits how many
  206. plug-ins with static runtime linkage can be loaded into a DAW. In the worst
  207. case, this limits the total number of plug-ins to a maximum of 64 plug-ins.
  208. There is no workaround for DAW vendors and the only solution is to push plug-in
  209. vendors to use the dynamic runtime. To help with this, JUCE has decided to make
  210. dynamic runtime linkage the default in JUCE.
  211. Change
  212. ------
  213. AudioProcessorGraph interface has changed in a number of ways - Node objects
  214. are now reference counted, there are different accessor methods to iterate
  215. them, and misc other small improvements to the API
  216. Possible Issues
  217. ---------------
  218. The changes won't cause any silent errors in user code, but will require some
  219. manual refactoring
  220. Workaround
  221. ----------
  222. Just find equivalent new methods to replace existing code.
  223. Rationale
  224. ---------
  225. The graph class was extremely old and creaky, and these changes is the start of
  226. an improvement process that should eventually result in it being broken down
  227. into fundamental graph building block classes for use in other contexts.
  228. Version 5.2.0
  229. =============
  230. Change
  231. ------
  232. Viewport now enables "scroll on drag" mode by default on Android and iOS.
  233. Possible Issues
  234. ---------------
  235. Any code relying on "scroll on drag" mode being turned off by default, should
  236. disable it manually.
  237. Workaround
  238. ----------
  239. None.
  240. Rationale
  241. ---------
  242. It is expected on mobile devices to be able to scroll a list by just a drag,
  243. rather than using a dedicated scrollbar. The scrollbar is still available
  244. though if needed.
  245. Change
  246. ------
  247. The previous setting of Android exporter "Custom manifest xml elements"
  248. creating child nodes of <application> element has been replaced by "Custom
  249. manifest XML content" setting that allows to specify the content of the entire
  250. manifest instead. Any previously values of the old setting will be used in the
  251. new setting by default, and they will need changing as mentioned in Workaround.
  252. The custom content will be merged with the content auto-generated by Projucer.
  253. Any custom elements or custom attributes will override the ones set by
  254. Projucer. Projucer will also automatically add any missing and required
  255. elements and attributes.
  256. Possible Issues
  257. ---------------
  258. If a Projucer project used "Custom manifest xml elements" field, the value will
  259. no longer be compatible with the project generated in the latest Projucer
  260. version. The solution is very simple and quick though, as mentioned in the
  261. Workaround section.
  262. Workaround
  263. ----------
  264. For any elements previously used, simply embed them explicitly in
  265. <manifest><application> elements, for example instead of:
  266. <meta-data android:name="paramId1" android:value="paramValue1"/>
  267. <meta-data android:name="paramId2" android:value="paramValue2"/>
  268. simply write:
  269. <manifest>
  270. <application>
  271. <meta-data android:name="paramId1" android:value="paramValue1"/>
  272. <meta-data android:name="paramId2" android:value="paramValue2"/>
  273. </application>
  274. </manifest>
  275. Rationale
  276. ---------
  277. To maintain the high level of flexibility of generated Android projects and to
  278. avoid creating fields in Projucer for every possible future parameter, it is
  279. simpler to allow to set up the required parameters manually. This way it is not
  280. only possible to add any custom elements but it is also possible to override
  281. the default attributes assigned by Projucer for the required elements. For
  282. instance, if the default value of <supports-screens> element is not
  283. satisfactory because you want a support for x-large screens only, simply set
  284. "Custom manifest XML content" to:
  285. <manifest>
  286. <supports-screens android:xlargeScreens="true"/>
  287. </manifest>
  288. Version 5.1.2
  289. =============
  290. Change
  291. ------
  292. The method used to classify AudioUnit, VST3 and AAX plug-in parameters as
  293. either continuous or discrete has changed, and AudioUnit and AudioUnit v3
  294. parameters are marked as high precision by default.
  295. Possible Issues
  296. ---------------
  297. Plug-ins: DAW projects with automation data written by an AudioUnit, AudioUnit
  298. v3 VST3 or AAX plug-in built with JUCE version 5.1.1 or earlier may load
  299. incorrectly when opened by an AudioUnit, AudioUnit v3, VST3 or AAX plug-in
  300. built with JUCE version 5.1.2 and later.
  301. Hosts: The AudioPluginInstance::getParameterNumSteps method now returns correct
  302. values for AU and VST3 plug-ins.
  303. Workaround
  304. ----------
  305. Plug-ins: Enable JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE in the
  306. juce_audio_plugin_client module config page in the Projucer.
  307. Hosts: Use AudioPluginInstance::getDefaultNumParameterSteps as the number of
  308. steps for all parameters.
  309. Rationale
  310. ---------
  311. The old system for presenting plug-in parameters to a host as either continuous
  312. or discrete is inconsistent between plug-in types and lacks sufficient
  313. flexibility. This change harmonises the behaviour and allows individual
  314. parameters to be marked as continuous or discrete. If AudioUnit and AudioUnit
  315. v3 parameters are not marked as high precision then hosts like Logic Pro only
  316. offer a limited number of parameter values, which again produces different
  317. behaviour for different plug-in types.
  318. Change
  319. ------
  320. A new FrameRateType fps23976 has been added to AudioPlayHead,
  321. Possible Issues
  322. ---------------
  323. Previously JUCE would report the FrameRateType fps24 for both 24 and 23.976
  324. fps. If your code uses switch statements (or similar) to handle all possible
  325. frame rate types, then this change may cause it to fall through.
  326. Workaround
  327. ----------
  328. Add fps23976 to your switch statement and handle it appropriately.
  329. Rationale
  330. ---------
  331. JUCE should be able to handle all popular frame rate codes but was missing
  332. support for 23.976.
  333. Change
  334. ------
  335. The String (bool) constructor and operator<< (String&, bool) have been
  336. explicitly deleted.
  337. Possible Issues
  338. ---------------
  339. Previous code which relied on an implicit bool to int type conversion to
  340. produce a String will not compile.
  341. Workaround
  342. ----------
  343. Cast your bool to an integer to generate a string representation of it.
  344. Rationale
  345. ---------
  346. Letting things implicitly convert to bool to produce a String opens the door to
  347. all kinds of nasty type conversion edge cases. Furthermore, before this change,
  348. MacOS would automatically convert bools to ints but this wouldn't occur on
  349. different platform. Now the behaviour is consistent across all operating
  350. systems supported by JUCE.
  351. Change
  352. ------
  353. The writeAsJSON virtual method of the DynamicObject class requires an
  354. additional parameter, maximumDecimalPlaces, to specify the maximum precision of
  355. floating point numbers.
  356. Possible Issues
  357. ---------------
  358. Classes which inherit from DynamicObject and override this method will need to
  359. update their method signature.
  360. Workaround
  361. ----------
  362. Your custom DynamicObject class can choose to ignore the additional parameter
  363. if you don't wish to support this behaviour.
  364. Rationale
  365. ---------
  366. When serialising the results of calculations to JSON the rounding of floating
  367. point numbers can result in numbers with 17 significant figures where only a
  368. few are required. This change to DynamicObject is required to support
  369. truncating those numbers.
  370. Version 5.1.0
  371. =============
  372. Change
  373. ------
  374. The option to set the C++ language standard is now located in the project
  375. settings instead of the build configuration settings.
  376. Possible Issues
  377. ---------------
  378. Projects that had a specific verison of the C++ language standard set for
  379. exporter build configurations will instead use the default (C++11) when
  380. re-saving with the new Projucer.
  381. Workaround
  382. ----------
  383. Change the "C++ Language Standard" setting in the main project settings to the
  384. required version - the Projucer will add this value to the exported project as
  385. a compiler flag when saving exporters.
  386. Rationale
  387. ---------
  388. Having a different C++ language standard option for each build configuration
  389. was unnecessary and was not fully implemented for all exporters. Changing it to
  390. a per-project settings means that the preference will propagate to all
  391. exporters and only needs to be set in one place.
  392. Change
  393. ------
  394. PopupMenus now scale according to the AffineTransform and scaling factor of
  395. their target components.
  396. Possible Issues
  397. ---------------
  398. Developers who have manually scaled their PopupMenus to fit the scaling factor
  399. of the parent UI will now have the scaling applied two times in a row.
  400. Workaround
  401. ----------
  402. 1. Do not apply your own manual scaling to make your popups match the UI
  403. scaling
  404. or
  405. 2. Override the Look&Feel method
  406. PopupMenu::LookAndFeelMethods::shouldPopupMenuScaleWithTargetComponent and
  407. return false. See
  408. https://github.com/WeAreROLI/JUCE/blob/c288c94c2914af20f36c03ca9c5401fcb555e4e9/modules/juce_gui_basics/menus/juce_PopupMenu.h#725
  409. Rationale
  410. ---------
  411. Previously, PopupMenus would not scale if the GUI of the target component (or
  412. any of it’s parents) were scaled. The only way to scale PopupMenus was via the
  413. global scaling factor. This had several drawbacks as the global scaling factor
  414. would scale everything. This was especially problematic in plug-in editors.
  415. Change
  416. ------
  417. Removed the setSecurityFlags() method from the Windows implementation of
  418. WebInputStream as it disabled HTTPS security features.
  419. Possible Issues
  420. ---------------
  421. Any code previously relying on connections to insecure webpages succeeding will
  422. no longer work.
  423. Workaround
  424. ----------
  425. Check network connectivity on Windows and re-write any code that relied on
  426. insecure connections.
  427. Rationale
  428. ---------
  429. The previous behaviour resulted in network connections on Windows having all
  430. the HTTPS security features disabled, exposing users to network attacks. HTTPS
  431. connections on Windows are now secure and will fail when connecting to an
  432. insecure web address.
  433. Change
  434. ------
  435. Pointer arithmetic on a pointer will have the same result regardless if it is
  436. wrapped in JUCE's Atomic class or not.
  437. Possible Issues
  438. ---------------
  439. Any code using pointer arithmetic on Atomic<T*> will now have a different
  440. result leading to undefined behaviour or crashes.
  441. Workaround
  442. ----------
  443. Re-write your code in a way that it does not depend on your pointer being
  444. wrapped in JUCE's Atomic or not. See rationale.
  445. Rationale
  446. ---------
  447. Before this change, pointer arithmetic with JUCE's Atomic type would yield
  448. confusing results. For example, the following code would assert before this
  449. change:
  450. int* a; Atomic<int*> b;
  451. jassert (++a == ++b);
  452. Pointer a in the above code would be advanced by sizeof(int) whereas the JUCE's
  453. Atomic always advances it's underlying pointer by a single byte. The same is
  454. true for operator+=/operator-= and operator--. The difference in behaviour is
  455. confusing and unintuitive. Furthermore, this aligns JUCE's Atomic type with
  456. std::atomic.
  457. Version 4.3.1
  458. =============
  459. Change
  460. ------
  461. JUCE has changed the way native VST3/AudioUnit parameter ids are calculated.
  462. Possible Issues
  463. ---------------
  464. DAW projects with automation data written by an AudioUnit or VST3 plug-in built
  465. with pre JUCE 4.3.1 versions will load incorrectly when opened by an AudioUnit
  466. or VST3 built with JUCE versions 4.3.1 and later. Plug-ins using
  467. JUCE_FORCE_USE_LEGACY_PARAM_IDS are not affected.
  468. Workaround
  469. ----------
  470. Disable JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS in the
  471. juce_audio_plugin_client module config page in the Projucer. For new plug-ins,
  472. be sure to use the default value for this property.
  473. Rationale
  474. --------
  475. JUCE needs to convert between its own JUCE parameter id format (strings) to the
  476. native parameter id formats of the various plug-in backends. For VST3 and
  477. AudioUnits, JUCE uses a hash function to generate a numeric id. However, some
  478. VST3/AudioUnit hosts (specifically Studio One) have a bug that ignore any
  479. parameters that have a negative parameter id. Therefore, the hash function for
  480. VST3/AudioUnits needed to be changed to only return positive-valued hashes.
  481. Version 4.3.0
  482. =============
  483. Change
  484. ------
  485. A revised multi-bus API was released which supersedes the previously flawed
  486. multi-bus API - JUCE versions 4.0.0 - 4.2.4 (inclusive).
  487. Possible Issues
  488. ---------------
  489. If you have developed a plug-in with JUCE versions 4.0.0 - 4.2.4 (inclusive),
  490. then you will need to update your plug-in to the new multi-bus API. Pre JUCE
  491. 4.0.0 plug-ins are not affected apart from other breaking changes listed in
  492. this document.
  493. Woraround
  494. ---------
  495. None.
  496. Rationale
  497. --------
  498. A flawed multi-bus API was introduced with JUCE versions 4.0.0 up until version
  499. 4.2.4 (inclusive) which was not API compatible with pre JUCE 4 plug-ins. JUCE
  500. 4.3.0 releases a revised multi-bus API which restores pre JUCE 4 API
  501. compatibility. However, the new multi-bus API is not compatible with the flawed
  502. multi-bus API (JUCE version 4.0.0 - 4.2.4).
  503. Change
  504. ------
  505. JUCE now generates the AAX plug-in bus layout configuration id independent from
  506. the position as it appears in the Projucer’s legacy "Channel layout
  507. configuration" field.
  508. Possible Issues
  509. ---------------
  510. ProTools projects generated with a < 4.3.0 JUCE versions of your plug-in, may
  511. load the incorrect bus configuration when upgrading your plug-in to >= 4.3.0
  512. versions of JUCE.
  513. Workaround
  514. ----------
  515. Implement AudioProcessor’s getAAXPluginIDForMainBusConfig callback to manually
  516. override which AAX plug-in id is associated to a specific bus layout of your
  517. plug-in. This workaround is only necessary if you have released your plug-in
  518. built with a version previous to JUCE 4.3.0.
  519. Rationale
  520. --------
  521. The new multi-bus API offers more features, flexibility and accuracy in
  522. specifying bus layouts which cannot be expressed by the Projucer’s legacy
  523. "Channel layout configuration" field. The native plug-in format backends use
  524. the new multi-bus callback APIs to negotiate channel layouts with the host -
  525. including the AAX plug-in ids assigned to specific bus layouts. With the
  526. callback API, there is no notion of an order in which the channel
  527. configurations appear - as was the case with the legacy "Channel layout
  528. configuration" field - and therefore cannot be used to generate the AAX plug-in
  529. id. To remain backward compatible to pre JUCE 4.0.0 plug-ins, JUCE does
  530. transparently convert the legacy "Channel layout configuration" field to the
  531. new callback based multi-bus API, but this does not take the order into account
  532. in which the channel configurations appear in the legacy "Channel layout
  533. configuration" field.
  534. Version 4.2.1
  535. =============
  536. Change
  537. ------
  538. JUCE now uses the paramID property used in AudioProcessorParameterWithID to
  539. uniquely identify parameters to the host.
  540. Possible Issues
  541. ---------------
  542. DAW projects with automation data written by an audio plug-in built with pre
  543. JUCE 4.2.1 will load incorrectly when opened by an audio plug-in built with
  544. JUCE 4.2.1 and later.
  545. Workaround
  546. ----------
  547. Enable JUCE_FORCE_USE_LEGACY_PARAM_IDS in the juce_audio_plugin_client module config
  548. page in the Projucer. For new plug-ins, be sure to disable this property.
  549. Rationale
  550. --------
  551. Each parameter of the AudioProcessor has an id associated so that the plug-in’s
  552. host can uniquely identify parameters. The id has a different data-type for
  553. different plug-in types (for example VST uses integers, AAX uses string
  554. identifiers). Before 4.2.1, JUCE generated the parameter id by using the index
  555. of the parameter, i.e. the first parameter had id zero, the second parameter
  556. had id one, etc. This caused problems for certain plug-in types where JUCE
  557. needs to add internal parameters to the plug-in (for example VST3 requires the
  558. bypass control to be a parameter - so JUCE automatically creates this parameter
  559. for you in the VST3 backend). This causes subtle problems if a parameter is
  560. added to an update of an already published plug-in. The new parameter’s id
  561. would be identical to the id of the bypass parameter in old versions of your
  562. plug-in, causing seemingly random plug-in bypass behaviour when user’s upgrade
  563. their plug-in.
  564. Most plug-in backends differentiate between a parameter’s id an index, so this
  565. distinction was adopted starting with JUCE 4.2.1 by deriving the parameter’s
  566. unique id from the paramID property of AudioProcessorParameterWithID class.