Skip to content
TopicTracker
来自 HackerNews查看原文
译文语言译文语言

Show HN:HtmlUnit 5.0.0 现已发布

HtmlUnit 5.0.0 正式发布,最低要求 JDK 17。该版本在 JavaScript 引擎(如正则表达式和作用域处理)上进行了重大改进,实现了完整的 Web Crypto API(SubtleCrypto),增加了 Java 模块系统支持(module-info.java),并对 WebSocket、Neko HTML 解析器、Web Speech API 进行了多项修复和增强,同时更新了对 Firefox 150 及 Chrome/Edge 148 的兼容性。

相关报道

  • Datasette Apps is a new plugin that lets users host custom HTML+JavaScript apps inside Datasette in a sandboxed iframe with a Content Security Policy. The apps can run read-only SQL queries and optionally write data via stored queries. The feature supports AI-assisted creation through copyable prompts for LLMs.

  • Simon Willison released an alpha package, micropython-wasm, that runs MicroPython code inside a WebAssembly sandbox via wasmtime. It enforces memory/CPU limits, restricts file and network access, and supports persistent state and host functions for safely executing untrusted code in Python applications.

  • Simon Willison created a GitHub repository that converts Mozilla's browser-compat-data into a ~66MB SQLite database, using an AI-generated script and GitHub Actions to build and host the database on an orphan branch with open CORS headers for easy access via Datasette Lite.

  • Datasette 1.0a35 has been released, introducing a new "Create table" interface and JSON API, an "Alter table" feature with table modification capabilities, and official documentation for template context variables as a stable API for custom templates until version 2.0.

  • Simon Willison created a test harness to explore using the Origin Private File System (OPFS) with Pyodide, with the goal of enabling Datasette Lite to edit persistent SQLite files stored on the user's computer directly in the browser.