Notes
In this week's beta release, we've relaxed a long-standing limitation with project files: you can nowuse the same filename in different folders. Previously every file in the project had to have a unique name, regardless of subfolders - for example you could not have 'file.txt' in two different folders. This came from the need to continue supporting the legacy "flat" file structure mode. However that mode was recently removed, and that allowed for finally removing the restriction. This also allows for using reserved filenames like 'index.html', so long as the files are in a subfolder. This was actually a pretty complex change as many parts of the editor previously assumed all filenames were unique, and we had to update a lot of code, so be on the lookout for any new issues regarding project files or folders.
Another update this week is the ability to useon-device speech recognition where supported (currently Chrome only). Speech recognition normally involves using a cloud service - which means sending your spoken audio to a remote server. On-device speech recognition allows processing speech recognition on the local device, which is better for privacy, and can work offline. The only catch is you must first download support for the languages you want to recognize, but you can do that with the 'Install on-device recognition' action. We've also updated the 'Speech recognition' example to demonstrate on-device speech recognition.
It's also worth noting that Windows WebView2 exports now direct users who do not have the WebView2 runtime installed to the installation web page, rather than automatically downloading and installing it. Microsoft say the WebView2 runtime is now installed by default on both Windows 10 and 11, so such cases should be rare. However having code to download and run an executable was possibly making antivirus tools wary (and we had some issues with false positives recently), so we've decided to remove this code and merely direct users to the webpage instead.
Finally we have a new example, and a few other bug fixes and adjustments. Happy testing!