Skip to content

2.1.0-beta.5

Pre-release
Pre-release

Choose a tag to compare

@InventivetalentDev InventivetalentDev released this 16 Oct 13:22
· 53 commits to main since this release
edf28ba

Beta 5 adds world lighting, biome blending, block and mob picking, scene embeds, and browser bundles that can omit unused modules. It promotes the changes through alpha130 since beta4.

Highlights

Migration notes

The browser ESM build now ships per module. Package imports such as minerender and minerender/browser resolve the layout automatically. For direct file URLs, replace dist/browser/index.mjs with dist/browser/esm/index.browser.mjs; the worker moves from dist/browser/section.worker.mjs to dist/browser/esm/env/browser/section.worker.mjs. When copying output, retain the module tree and worker. Prefer static named imports so bundlers can remove unused code.

ImageInfo.data is now a Uint8Array, replacing Buffer. In Node, use Buffer.from(info.data) when you need Buffer-only methods.

Install with yarn add minerender@beta.

Changes since beta 4.