Cloudflare to Introduce Apps with Workers

Beta test of Apps and Workers joint usage by Cloudflare had begun 
19 November 2018   998

Cloudflare talked about the start of beta testing of Cloudflare Workers embedded scripts in web applications using Cloudflare Apps tools. The created solutions can be placed in the Cloudflare Marketplace store, where they will be moderated and a security check.

Application developers used Cloudflare Apps to integrate JavaScript, HTML, CSS, and modifications of Cloudflare settings such as DNS to websites. With the start of beta testing, they got the opportunity to experiment with personalization, A / B testing, security, content checking and localization.

To add code to the application, simply place the link to the script in the install.json file:

{
	"resources": [...],
	"hooks": [...],
	"workers": [{
		"src": "./worker.js"
	}]
}

The introduction of variables is also available with a link in the Workers script. They may contain the tokens necessary for installing the application.

// inside src/worker.js
addEventListener('fetch', event => {
  event.respondWith(workerFn(event.request))
  let someOptionFromInstall = INSTALL_OPTIONS.UserAgents // UserAgents was selected by siteowner in previewer
})

Cloudflare unveiled a stable version of Workers for cloud administration of web applications in JavaScript in mid-March 2018. The service allows you to deploy JS-scripts on the company's cloud network within 30 seconds. At the end of September 2018, Cloudflare launched the “key-value” repository of Workers KV. Cloudflare experts claim that Workers provides low latency data reading and allows you to create applications that are comparable in performance to content delivery networks (CDNs).

Node.js v12.0.0 to be Rolled Out

It has giant list of updates, improvements and changes
24 April 2019   116

The release of Node.js 12.0.0, a platform for executing network applications in JavaScript, is available. Node.js 12.0 refers to branches with a long period of support, but this status will be assigned only in October, after stabilization. Updates for LTS branches are issued for 3 years. Support for the last LTS branch of Node.js 10.0 will last until April 2021, and the year before last LTS-branch 8.0 until January 2020. Support for the intermediate branch Node.js 11.0 will be discontinued in June 2019. The lifetime of the LTS branch 6.0 will end on April 30.

These are some of the large list of updates and new staff:

  • V8 engine was updated to version 7.4 with support for asynchronous stack traces, increasing await performance, parsing JavaScript and calls when the actual and declared number of arguments does not match;
  • TLS 1.3 is now supported in the tls module and TLS 1.0 / 1.1 is shutdown by default;
  • Enhancing protection and checks on the size of allocated memory in the Buffer class;

Get more info at official website.