astro@5.16.9
-
#15174
37ab65aThanks @florian-lefebvre! - Adds Google Icons to built-in font providersTo start using it, access it on
fontProviders:import { defineConfig, fontProviders } from 'astro/config'; export default defineConfig({ experimental: { fonts: [ { name: 'Material Symbols Outlined', provider: fontProviders.googleicons(), cssVariable: '--font-material', }, ], }, });
-
#15150
a77c4f4Thanks @matthewp! - Fixes hydration for framework components inside MDX when usingAstro.slots.render()Previously, when multiple framework components with
client:*directives were passed as named slots to an Astro component in MDX, only the first slot would hydrate correctly. Subsequent slots would render their HTML but fail to include the necessary hydration scripts. -
#15130
9b726c4Thanks @florian-lefebvre! - BREAKING CHANGE to the experimental Fonts API onlyChanges how font providers are implemented with updates to the
FontProvidertypeThis is an implementation detail that changes how font providers are created. This process allows Astro to take more control rather than relying directly on
unifonttypes. All of Astro's built-in font providers have been updated to reflect this new type, and can be configured as before. However, using third-party unifont providers that rely onunifonttypes will require an update to your project code.Previously, an Astro
FontProviderwas made of a config and a runtime part. It relied directly onunifonttypes, which allowed a simple configuration for third-party unifont providers, but also coupled Astro's implementation to unifont, which was limiting.Astro's font provider implementation is now only made of a config part with dedicated hooks. This allows for the separation of config and runtime, but requires you to create a font provider object in order to use custom font providers (e.g. third-party unifont providers, or private font registeries).
If you were using a 3rd-party
unifontfont provider, you will now need to write an AstroFontProviderusing it under the hood. For example:// astro.config.ts import { defineConfig } from "astro/config"; import { acmeProvider, type AcmeOptions } from '@acme/unifont-provider' +import type { FontProvider } from "astro"; +import type { InitializedProvider } from 'unifont'; +function acme(config?: AcmeOptions): FontProvider { + const provider = acmeProvider(config); + let initializedProvider: InitializedProvider | undefined; + return { + name: provider._name, + config, + async init(context) { + initializedProvider = await provider(context); + }, + async resolveFont({ familyName, ...rest }) { + return await initializedProvider?.resolveFont(familyName, rest); + }, + async listFonts() { + return await initializedProvider?.listFonts?.(); + }, + }; +} export default defineConfig({ experimental: { fonts: [{ - provider: acmeProvider({ /* ... */ }), + provider: acme({ /* ... */ }), name: "Material Symbols Outlined", cssVariable: "--font-material" }] } }); -
#15147
9cd5b87Thanks @matthewp! - Fixes scripts in components not rendering when a sibling<Fragment slot="...">exists but is unused
v16.1.1-canary.22
- Track search string as part of "refresh state": #87203
- Pass RouteTree into navigation function: #87256
- Read from segment cache unknown routes: #87293
- Pass loading boundary as part of RSC data: #87825
- Revert "refactor: consolidate PPR into cacheComponents architecture (#88243)": #88421
- fix: support TypeScript
noUncheckedSideEffectImportsfor CSS imports: #88199
- docs: fix CSP example to only include unsafe-eval in development: #88407
- docs: add PR description guidance to AGENTS.md: #88408
- ci: Fix retry comments in workflow files: #88412
- [test] Deflake
test/integration/invalid-custom-routes/test/index.test.ts: #88416 - [test] Remove rogue debug log: #88423
Huge thanks to @acdlite, @timneutkens, @unstubbable, @eps1lon, @wyattjoh, and @Rani367 for helping!
v2.15.0
- Unified GSplat support for rendering to shadow map + Example by @mvaligursky in https://github.com/playcanvas/engine/pull/8228
- Updated
GsplatShaderEffectscript to use simpler material API by @mvaligursky in https://github.com/playcanvas/engine/pull/8229 - Improved
splatBudgetbehavior to allow both increase and decrease LOD by @mvaligursky in https://github.com/playcanvas/engine/pull/8230 - Moved the
splatBudgetAPI to gsplat component by @mvaligursky in https://github.com/playcanvas/engine/pull/8231 - Updated
Ministatswith additional timings by @mvaligursky in https://github.com/playcanvas/engine/pull/8241 - Workbuffer for gsplat uniform no longer stores covariance, but directly the components by @mvaligursky in https://github.com/playcanvas/engine/pull/8244
- Removed workaround related to workbuffer storing covariants on android by @mvaligursky in https://github.com/playcanvas/engine/pull/8245
- Add
gsplatModifyVSshader customization chunk for gaussian splats by @mvaligursky in https://github.com/playcanvas/engine/pull/8246 - Update GitHub Artifact Actions (major) by @renovate[bot] in https://github.com/playcanvas/engine/pull/8247
- Add simple render pipeline cache for mipmap renderer (WebGPU) by @mvaligursky in https://github.com/playcanvas/engine/pull/8253
- Add viewport / scissor support to
RenderPassShaderQuadby @mvaligursky in https://github.com/playcanvas/engine/pull/8254 - Adds a GPU-based radix sort implementation using fragment shaders with mipmap-based prefix sums by @mvaligursky in https://github.com/playcanvas/engine/pull/8255
- Adds support for specifying a custom entry point function name when creating compute shaders by @mvaligursky in https://github.com/playcanvas/engine/pull/8258
- Increase quad buffer size for ministats to allow more stats to render by @mvaligursky in https://github.com/playcanvas/engine/pull/8259
- NPM Publish by @kpal81xd in https://github.com/playcanvas/engine/pull/8261
- Add
KHR_materials_emissive_strengthexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8268 - Add
KHR_materials_specularexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8269 - Add
KHR_materials_unlitexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8270 - Add
KHR_materials_iorexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8272 - Add
KHR_materials_dispersionexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8274 - Defines map can be specified when creating compute shader by @mvaligursky in https://github.com/playcanvas/engine/pull/8273
- Add
KHR_materials_clearcoatexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8275 - Add
KHR_materials_transmissionexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8277 - Add
KHR_materials_volumeexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8278 - Add WebGPU compute shader radix sort + changes / fixes to render pass based radix sort by @mvaligursky in https://github.com/playcanvas/engine/pull/8276
- Add
KHR_materials_sheenexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8279 - Add compute pipeline creation caching for WebGPU by @mvaligursky in https://github.com/playcanvas/engine/pull/8281
- Use Set instead of array for buffer tracking by @mvaligursky in https://github.com/playcanvas/engine/pull/8283
- Add
KHR_materials_iridescenceexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8280 - Add
KHR_materials_anisotropyexport support by @willeastcott in https://github.com/playcanvas/engine/pull/8284 - Improve docs for
get/setFromEulerAnglesby @willeastcott in https://github.com/playcanvas/engine/pull/8289 - Clustered lighting integer arithmetic optimization by @mvaligursky in https://github.com/playcanvas/engine/pull/8303
- Make
Texture.read()a public API by @mvaligursky in https://github.com/playcanvas/engine/pull/8306 - GPU-based sorting using compute shaders for unified gsplat (optional) on WebGPU by @mvaligursky in https://github.com/playcanvas/engine/pull/8310
- Clean up camera shader parameter setup by @mvaligursky in https://github.com/playcanvas/engine/pull/8314
- Add WebGPU texture-format-tier1, texture-format-tier2, and primitive-index features by @mvaligursky in https://github.com/playcanvas/engine/pull/8316
- Add
TextureViewfor mip level and array layer access in compute shaders by @mvaligursky in https://github.com/playcanvas/engine/pull/8308 - Optimize texture tracking with Set-based dirty texture management by @mvaligursky in https://github.com/playcanvas/engine/pull/8309
- Adds a configurable color property to the vignette post-effect by @mvaligursky in https://github.com/playcanvas/engine/pull/8318
- Add new texture formats:
RG32F,RGB9E5,RG8S,RGBA8S,RGB10A2,RGB10A2Uby @mvaligursky in https://github.com/playcanvas/engine/pull/8319 - Added node name to batch insertion/removal assert message by @yaustar in https://github.com/playcanvas/engine/pull/8322
- Refactor Annotation System with AnnotationManager by @willeastcott in https://github.com/playcanvas/engine/pull/8323
- Updates the
LICENSEcopyright year to 2026 by @mvaligursky in https://github.com/playcanvas/engine/pull/8333 - Allow changing unified property without disabling component by @mvaligursky in https://github.com/playcanvas/engine/pull/8334
- Add indirect compute dispatch support for WebGPU by @mvaligursky in https://github.com/playcanvas/engine/pull/8332
- WebGPU now supports omni/spot shadows baking using Lightmapper by @mvaligursky in https://github.com/playcanvas/engine/pull/8335
- Improve JSDoc for the core layer by @willeastcott in https://github.com/playcanvas/engine/pull/8358
- Add 'worker' to reserved script names by @mvaligursky in https://github.com/playcanvas/engine/pull/8368
- [FIX] Specify anonymous cross origin for gsplat assets to avoid security issues on iOS by @mvaligursky in https://github.com/playcanvas/engine/pull/8235
- Fix uninitialized
SplatCentermembers in GLSL gsplat shader by @mvaligursky in https://github.com/playcanvas/engine/pull/8237 - Internal cursor file is ignored by git by @mvaligursky in https://github.com/playcanvas/engine/pull/8242
- [FIX] Fix metalness and roughness handling in
UsdzExporterby @willeastcott in https://github.com/playcanvas/engine/pull/8248 - [FIX] Return correct typed array from texture.read() on WebGPU platform by @mvaligursky in https://github.com/playcanvas/engine/pull/8251
- [FIX] Notify existing element descendants when a screen is added by @willeastcott in https://github.com/playcanvas/engine/pull/8252
- [FIX] Fix particle emission rate when looping by @willeastcott in https://github.com/playcanvas/engine/pull/8263
- [FIX] Convert sRGB colors to linear when writing glTF by @willeastcott in https://github.com/playcanvas/engine/pull/8267
- Fix SOG SH decompression by @slimbuck in https://github.com/playcanvas/engine/pull/8271
- ScopeSpace.removeValue not clearing destroyed textures from scope by @mvaligursky in https://github.com/playcanvas/engine/pull/8282
- [FIX] Fix glTF export for
KHR_materials_pbrSpecularGlossinessmaterials by @willeastcott in https://github.com/playcanvas/engine/pull/8285 - [FIX] Fix black specular map still showing reflections by @willeastcott in https://github.com/playcanvas/engine/pull/8287
- [FIX] Fix
ElementComponentmousemoveevent firing outside element by @willeastcott in https://github.com/playcanvas/engine/pull/8288 - [FIX] Fix
ElementComponentnot rendering when entity already in hierarchy by @willeastcott in https://github.com/playcanvas/engine/pull/8290 - Tighten up typing for
RigidBodyComponent#typeby @willeastcott in https://github.com/playcanvas/engine/pull/8292 - [FIX] Fix
KHR_materials_specularincorrectly affecting metals and diffuse by @willeastcott in https://github.com/playcanvas/engine/pull/8293 - [FIX] Add Dedicated Isotropic GGX Specular Implementation by @willeastcott in https://github.com/playcanvas/engine/pull/8299
- [FIX] Enforce WGSL syntax highlighting in all WGSL chunks by @willeastcott in https://github.com/playcanvas/engine/pull/8300
- [FIX] Fix clustered lighting artifacts caused by UV precision by @willeastcott in https://github.com/playcanvas/engine/pull/8302
- [FIX] Fix screen space particles when CPU simulation is used by @willeastcott in https://github.com/playcanvas/engine/pull/8301
- [FIX] Add setter for
Script.scriptNamefor TypeScript compatibility by @willeastcott in https://github.com/playcanvas/engine/pull/8291 - [FIX] Fix orthographic camera loading from glTF by @willeastcott in https://github.com/playcanvas/engine/pull/8304
- [FIX] Fix glTF spot light default cone angle by @willeastcott in https://github.com/playcanvas/engine/pull/8305
- [FIX] Fix glTF spot light luminance calculation by @willeastcott in https://github.com/playcanvas/engine/pull/8307
- Fix IOR/refractionIndex being ignored in materials by @mvaligursky in https://github.com/playcanvas/engine/pull/8311
- Rename
GSplatComponentSystem#getGSplatMaterialto getMaterial by @mvaligursky in https://github.com/playcanvas/engine/pull/8339 - Better support blended pickers by @slimbuck in https://github.com/playcanvas/engine/pull/8340
- WebGPU lightmapper support for shadow casting local lights and omni shadow shader cleanup by @mvaligursky in https://github.com/playcanvas/engine/pull/8338
- Lazy mesh creation for GSplat resources by @mvaligursky in https://github.com/playcanvas/engine/pull/8343
- Remove unnecessary polyfills by @willeastcott in https://github.com/playcanvas/engine/pull/8347
- Modernize build target to ES2020 by @willeastcott in https://github.com/playcanvas/engine/pull/8348
- annotation.mjs to annotations.mjs by @willeastcott in https://github.com/playcanvas/engine/pull/8349
- Move treeshake-ignore plugin to examples by @willeastcott in https://github.com/playcanvas/engine/pull/8351
- Small updates to the
BlurredPlanarReflectionscript by @mvaligursky in https://github.com/playcanvas/engine/pull/8353 - [FIX] Add mip level for WebGPU device
copyRenderTargetby @AlexAPPi in https://github.com/playcanvas/engine/pull/8320 - [FIX] Fixed incorrect uv1 (unwrapped uvs for lightmapping) for box and cone geometry by @mvaligursky in https://github.com/playcanvas/engine/pull/8336
- [FIX] Fix
EventHandlecleanup in annotation script by @willeastcott in https://github.com/playcanvas/engine/pull/8337 - [FIX] Fix glTF node matrix decomposition with negative scale by @willeastcott in https://github.com/playcanvas/engine/pull/8329
- Replace
Debug.assertwitherrorOnceand early return in GSplatComponent by @mvaligursky in https://github.com/playcanvas/engine/pull/8355 - [FIX] Hide
__initializeAttributesfrom the API reference by @willeastcott in https://github.com/playcanvas/engine/pull/8359 - [FIX] Restore annotations for misc/annotations example by @willeastcott in https://github.com/playcanvas/engine/pull/8369
- Fix WebGL array texture crash when created without levels data by @mvaligursky in https://github.com/playcanvas/engine/pull/8371
- Fix memory leak in WebGPU multi-draw allocation by @mvaligursky in https://github.com/playcanvas/engine/pull/8367
- Simple gsplat viewer engine example with HDR controls by @mvaligursky in https://github.com/playcanvas/engine/pull/8232
- Added bloom and other tweeks to Gsplat viewer example by @mvaligursky in https://github.com/playcanvas/engine/pull/8234
- Add Gaussian Splat AABB Crop Example with Edge Clipping by @mvaligursky in https://github.com/playcanvas/engine/pull/8236
- Examples that create custom ministats hide the default one by @mvaligursky in https://github.com/playcanvas/engine/pull/8239
- Update examples/src/examples/gaussian-splatting/crop.example.mjs by @JaclynCodes in https://github.com/playcanvas/engine/pull/8266
- [Example] Added basic glb loading support to the Viewer example for HDR testing by @mvaligursky in https://github.com/playcanvas/engine/pull/8312
- Add gaussian splatting annotations example with opacity controls by @mvaligursky in https://github.com/playcanvas/engine/pull/8313
- Add
BlurredPlanarReflectionscript with distance-based blur effect by @mvaligursky in https://github.com/playcanvas/engine/pull/8342 - Improve examples sidebar category panel styling by @mvaligursky in https://github.com/playcanvas/engine/pull/8356
- [Example] Update camera positions in the anotations example to see all annotations on start by @mvaligursky in https://github.com/playcanvas/engine/pull/8372
- @JaclynCodes made their first contribution in https://github.com/playcanvas/engine/pull/8266
Full Changelog: https://github.com/playcanvas/engine/compare/v2.14.4...v2.15.0
@logicflow/extension@2.1.10
- fix: 修复内部系统与issue反馈的问题 by @DymoneLewis in https://github.com/didi/LogicFlow/pull/2361
- fix(extension): 修复圆角折线插件会出现没有圆角或圆角旁多了一条线的问题
- fix(extension): 修复导出插件safetyMargin和safetyFactor导致的快照导出后不居中对齐问题 & 修改safetyFactor为1 safetyMargin为0
@logicflow/vue-node-registry@1.1.9
- fix: 修复内部系统与issue反馈的问题 by @DymoneLewis in https://github.com/didi/LogicFlow/pull/2361
- fix(vue-node-registry): 修复拖拽创建vue-node-registry节点时控制台报错问题
- fix: 删除多余console.log
@logicflow/core@2.1.8
- fix: 修复内部系统与issue反馈的问题 by @DymoneLewis in https://github.com/didi/LogicFlow/pull/2361
- fix: 销毁实例时不清空主题配置
v5.0.10
This version includes a fix to the persist middleware for an edge case.
- fix(persist): prevent race condition during concurrent rehydrate calls by @Niyaz-Mazhitov in https://github.com/pmndrs/zustand/pull/3336
- @max-programming made their first contribution in https://github.com/pmndrs/zustand/pull/3310
- @oleksandr-danylchenko made their first contribution in https://github.com/pmndrs/zustand/pull/3319
- @MateuszSobiech made their first contribution in https://github.com/pmndrs/zustand/pull/3334
- @EduardoRangelG made their first contribution in https://github.com/pmndrs/zustand/pull/3326
- @1mehdifaraji made their first contribution in https://github.com/pmndrs/zustand/pull/3339
- @kamja44 made their first contribution in https://github.com/pmndrs/zustand/pull/3349
- @Niyaz-Mazhitov made their first contribution in https://github.com/pmndrs/zustand/pull/3336
Full Changelog: https://github.com/pmndrs/zustand/compare/v5.0.9...v5.0.10
electron v40.0.0-beta.7
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm install electron@40.0.0-beta.7.
- Fixed an issue where no cookie encryption provider was passed into the network service when cookie encryption was enabled. #49350
maptalks-gl@0.119.0 maptalks@1.8.0 Released
- GeoJSONVectorTileLayer 会忽略数据范围之外的瓦片请求 #2751
- map上增加 addGroundExtent 方法, #2767
- transcoders包增加解码方法的导出
- vt图层的gltf-lit插件会根据markerOpacity或markerFill中透明度,设置模型的alphaMode
- 解决图层没有正常调用 resizeCanvas 的问题, #2770
- 解决PointLayer下marker.setProperties没有及时渲染的问题 #2771
- 解决vt图层打开debug后,图层mask没有正常裁剪的问题 maptalks/issues#917
- 解决drawTool中重复绘制的问题, #2769
- 解决vt中查询数据返回不足的问题 #2764
- 解决创建transform-control没有指定对象时的报错 #2773
@fuzhenn @ydfzgyj @deyihu @liubgithub
- GeoJSONVectorTileLayer will ignore tile requests beyond the data extent #2751
- Added the addGroundExtent method to the map, #2767
- Added export of decoding methods to the transcoders package
- The vt layer's gltf-lit plugin will set the model's alphaMode based on the transparency in markerOpacity or markerFill
- Fixed the issue where the layer did not properly call resizeCanvas, #2770
- Fixed the issue where marker.setProperties in PointLayer did not render promptly, #2771
- Fixed the issue where the layer mask did not properly clip when debug mode was enabled in the vt layer, maptalks/issues#917
- Fixed the issue of repeated drawing in drawTool, #2769
- Fixed the issue of insufficient data returned in vt queries, #2764
- Fixed the error when creating transform-control without specifying an object, #2773
@fuzhenn @ydfzgyj @deyihu @liubgithub
v3.6.0-beta.3
For stable releases, please refer to CHANGELOG.md for details. For pre-releases, please refer to CHANGELOG.md of the minor branch.