Releases: mori2003/jsimgui
v0.8.0
v0.7.1
[0.7.1] - 2025-08-11
🚀 Features
- (api) Add initial ini settings loading and saving
- (build) Add new specific
tsconfig.build.jsonfor compiling themod.ts - (build) Change to static imports
- (ci) Add git-cliff configuration file
- (ci) Add pr title validation workflow
- (api) Expose basic
ImDrawListfunctions (#27) - (api) Use dynamic imports with specified paths (#30)
- (build) Compile with
sALLOW_MEMORY_GROWTHandsASSERTIONS(#31) - (ci) Add github release workflow using git-cliff changelog (#32)
🐛 Bug Fixes
- (ci) Add
package-lock.json - (ci) Pin typescript to v5.8.3
- (ci) Upload relocated build artifacts (#35)
🚜 Refactor
- (api) Rename
api-types-tmp.d.tstoapi-types.d.ts
⚙️ Miscellaneous Tasks
v0.6.0
v0.6.0
What's Changed
-
Added WebGL1 support
-
Added initial Clipboard support
-
Added Github actions workflows for:
- Building
- Publishing to JSR and npmjs
- Github pages
-
Added initial wiki
-
Reworked build script:
- Fixed displaying errors
- Fixed building WebGL/WebGL2
- Added building specific configurations:
node build.ts --backend=webgpu --font-loader=freetype --demos -
Updated Biome to v2.1.2
Breaking changes
Please see the wiki on how to work with these changes
-
Moved backend-specific functions into general ones:
ImGuiImplWeb.InitWebGl/WebGPU()->ImGuiImplWeb.Init()ImGuiImplWeb.BeginRenderWebGL/WebGPU()->ImGuiImplWeb.BeginRender()ImGuiImplWeb.EndRenderWebGL/WebGPU()->ImGuiImplWeb.BeginRender()
-
Added options for initializing jsimgui:
await ImGuiImplWeb.Init({
canvas: myCanvas,
device: myGPUDevice, // Required for WebGPU
backend: "webgl", // (optional) this is most likely already inferred from the canvas
fontLoader: "truetype", // (optional) you can choose between `truetype` and `freetype`
enableDemos: true, // (optional) enables the Dear ImGui demo windows.
loaderPath: "...", // (optional) you can specify a custom path to the emscripten loader script.
});-
Made
Modmodule private, useImGuiImplWeb.GetEmscriptenExports()instead -
Changed Image loading API:
- Removed
ImGuiImplWeb.LoadImageWebGL/WebGPU() - New function for loading/updating images:
ImGuiImplWeb.LoadTexture(...) - Support loading Images using
Uint8Array
- Removed
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Updated Dear ImGui to v1.92.0
- Use FreeType renderer for Dear ImGui
- Set C++ standard to C++26
The new ImGui release introduced some breaking changes regarding Images and Textures
ImGui.Image() now takes a ImTextureRef class/struct instead of ImTextureID. However an ImTextureRef can easily be created using the ImTextureID like:
import { ImGui, ImTextureRef, ImVec2 } from "@mori2003/jsimgui";
ImGui.Image(new ImTextureRef(imgID), new ImVec2(100, 100));Full Changelog: v0.4.0...v0.5.0
v0.4.0
v0.3.0
v0.2.0
What's Changed
- Removed
ImEnum. Enums & Flags are now available in theImGuiobject. - Converted generator to TypeScript
- Removed dependencies from generator and make it compatible with Node, Deno, Bun
- Added biome as linter/formatter
- Added Image and ImageButton support
- Added Image loader helper for WebGL2
- Updated imgui to v1.91.8
- Updated Readme
- Fixed canvas zooming behaviour