Iframely is finally upgraded to the current node versions #344. Due to significant changes in the Node itself, there is sadly no backward compatibility.
The minimum version of the Node required for Iframely starting from version 2.0.0 is Node 12.
The good news is that we used this version in our cloud for a few months now, and it is proved stable.
Here's the migration checklist if you used Iframely with version less than 12:
Other significant change in 2.0.0 is the absence of request module, which was deprecated a while ago. We now rely on adobe/helix-fetch module, which we verified as being most production-ready among available alternatives. If you used request variable in your custom plugin methods, you'd need to test them with special attention.
If you used Iframely with Node 12, it is likely that you have had HTTP/2 disabled due to #277. It is now resolved and HTTP/2 is enabled for all deployments. The system feature flag to turn it off is no longer available, but you can configure it as a proxy element.
UPDATE: Proxy is still available, albeit with a simple workaround echo service configured as CONFIG.PROXY_URL. See #354 (and we'll update example config soon)
Iframely is finally upgraded to the current node versions #344. Due to significant changes in the Node itself, there is sadly no backward compatibility.
The minimum version of the Node required for Iframely starting from version 2.0.0 is Node 12.
The good news is that we used this version in our cloud for a few months now, and it is proved stable.
Here's the migration checklist if you used Iframely with version less than 12:
importstatements.importif you plug Iframely as the node module.config.local.js.EXAMPLEOther significant change in 2.0.0 is the absence of
requestmodule, which was deprecated a while ago. We now rely on adobe/helix-fetch module, which we verified as being most production-ready among available alternatives. If you usedrequestvariable in your custom plugin methods, you'd need to test them with special attention.If you used Iframely with Node 12, it is likely that you have had HTTP/2 disabled due to #277. It is now resolved and HTTP/2 is enabled for all deployments. The system feature flag to turn it off is no longer available, but you can configure it as a proxy element.
UPDATE: Proxy is still available, albeit with a simple workaround echo service configured as
CONFIG.PROXY_URL. See #354 (and we'll update example config soon)