Skip to content

Commit 134a8ae

Browse files
authored
v0.10.1: bump version
1 parent af07862 commit 134a8ae

6 files changed

Lines changed: 154 additions & 7 deletions

File tree

docs/.vitepress/theme/components/LatestRelease.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ import { withBase } from 'vitepress';
66
// Default value in case of fetch failure
77
const versions = ref([
88
{
9-
version: '0.10.0',
9+
version: '0.10.1',
1010
content: '',
1111
renderedContent: ''
1212
},
1313
{
14-
version: '0.9.0',
14+
version: '0.10.0',
1515
content: '',
1616
renderedContent: ''
1717
},
1818
{
19-
version: '0.8.1',
19+
version: '0.9.0',
2020
content: '',
2121
renderedContent: ''
2222
}

docs/api/browser-compat-data/browsers/jsar.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
"0.10.0": {
5555
"release_date": "2025-08-29",
5656
"release_notes": "https://github.com/M-CreativeLab/jsar-runtime/blob/main/docs/changelogs/alpha.md#v0100"
57+
},
58+
"0.10.1": {
59+
"release_date": "2025-09-17",
60+
"release_notes": "https://github.com/M-CreativeLab/jsar-runtime/blob/main/docs/changelogs/alpha.md#v0101"
5761
}
5862
}
5963
}

docs/changelogs/alpha.md

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,149 @@
22

33
The alpha version of JSAR is the first version of the project.
44

5+
## v0.10.1
6+
7+
### New Features & Improvements
8+
9+
#### DOM & Web APIs
10+
- **Element.onclick Support**: Added support for Element.onclick attribute for inline event handlers (#309)
11+
- **Text Alignment Tests**: Added comprehensive text-align test cases to fixtures/html (#313)
12+
13+
#### CSS & Styling
14+
- **Flexbox Properties**: Support parsing flex-grow and flex-shrink at computed style
15+
- **CSS Selectors**: Implement CSS nth-child() and nth-of-type() selector support (#285)
16+
- **CSS Variables**: Support CSS variables (#263)
17+
- **Universal Selector**: Support universal selector (*) in CSSOM selector parser and matching (#261)
18+
- **Pseudo-class Selectors**:
19+
- Implement CSS `:root` selector matching (#259)
20+
- Implement CSS :where() functional pseudo-class selector support (#258)
21+
- Replace Rust CSS selectors with C++ implementation and add pseudo-class support (#241)
22+
- **Attribute Selectors**: Implement CSS attribute selector support in parser and matcher (#271)
23+
- **Background Properties**: Support using background-position, background-size and background-repeat (#274)
24+
- **Background Repeat**: Background-repeat should draw from clipped area (#280)
25+
- **Absolute Positioning**: Fix absolute positioning to reference nearest positioned ancestor (#276)
26+
- **Align Items**: Correct align-items implementation (#282)
27+
28+
#### Canvas & WebGL
29+
- **Canvas 2D**: Implement strokeRect() method in Canvas 2D rendering context (#294)
30+
- **WebGL**: Implement WebGL validateProgram method (#253)
31+
32+
#### Browser & Rendering
33+
- **Parallel Rendering**: Use `std::async` to make each web content rendering run in parallel (#310)
34+
- **Texture Bindings**: Unbind texture bindings correctly (#221)
35+
- **3D Content**: Add 3D world-space content bar and input box (#269)
36+
- **Frame Rate Control**: Add frame rate control to vsync and manual modes (#265)
37+
- **Console Logging**: Implement Console binding to support logging on CDP (#267)
38+
39+
#### Testing & Quality Assurance
40+
- **Border Tests**: Add comprehensive border regression test page to fixtures/html (#302)
41+
- **Text Rendering Tests**: Add comprehensive text rendering test page for fixtures (#301)
42+
- **Flexbox Tests**: Add flex-grow and flex-shrink test case in fixtures/html (#300)
43+
- **Canvas Tests**: Add comprehensive Canvas API test pages to fixtures/html (#293)
44+
- **CSS Overflow Tests**: Add comprehensive CSS overflow test file to fixtures/html (#290)
45+
- **Layout Tests**: Add flexbox and grid layout test pages (#282)
46+
47+
### Bug Fixes & Performance
48+
49+
#### Rendering & Graphics
50+
- **Render Queue**: Correct RenderQueue sorting for positioned elements (#297)
51+
- **Depth Writing**:
52+
- Correct depth write only pass for web content
53+
- Write web content depth should be written with stencil testing (#272)
54+
- Correct the bar component depth writes
55+
- **Build Fixes**: Fix build errors when enabling TR_RENDERER_ENABLE_VERBOSE
56+
- **GLSL Processing**: Upgrade glsl-lang to fix the glsl preprocessing issues (#295)
57+
58+
#### DOM & Browser
59+
- **Scroll Throttling**: Implement scroll throttling in document and fix document dirty state (#289)
60+
- **Font Manager**: Maintain only one instance for font manager (#286)
61+
- **Rendering Parameters**: Tweak the web content rendering parameters
62+
63+
#### Documentation & Infrastructure
64+
- **Commit Guidelines**: Update commit message guidelines (#311)
65+
- **Three.js Examples**: Update threejs example sample
66+
67+
### Detailed Commit History
68+
69+
| Commit | Description | PR |
70+
|--------|-------------|-----|
71+
| af078628 | feat(tests): add comprehensive text-align test cases to fixtures/html | #313 |
72+
| bdf2771a | fix(tests): update threejs example sample | - |
73+
| 83a628aa | feat(dom): support Element.onclick attribute for inline event handlers | #309 |
74+
| f1b92b1c | docs(docs-infra): update commit message guidelines | #311 |
75+
| 4e013a3b | fix(builtin_scene): use std::async to make each web content rendering run in parallel | #310 |
76+
| f918ddfc | fix(builtin_scene): unbind texture bindings correctly | #221 |
77+
| 86de83ef | fix(renderer): fix build errors when enabling TR_RENDERER_ENABLE_VERBOSE | - |
78+
| 562a4838 | add comprehensive border regression test page to fixtures/html | #302 |
79+
| 6b930312 | add comprehensive text rendering test page for fixtures | #301 |
80+
| 366a0589 | fix(builtin_scene): tweak the web content rendering parameters | - |
81+
| 60f3d278 | add flex-grow and flex-shrink test case in fixtures/html | #300 |
82+
| 5145c149 | feat(css): support parsing flex-grow and flex-shrink at computed style | - |
83+
| 070211e1 | fix(dom): correct RenderQueue sorting for positioned elements | #297 |
84+
| 397aac76 | fix(css): fix absolute positioning to reference nearest positioned ancestor | #276 |
85+
| c9837bb4 | fix(dep): upgrade glsl-lang to fix the glsl preprocessing issues | #295 |
86+
| b5a086f4 | feat(canvas): implement strokeRect() method in Canvas 2D rendering context | #294 |
87+
| da43422b | feat(test): add comprehensive Canvas API test pages to fixtures/html | #293 |
88+
| 91564530 | feat(test): add comprehensive CSS overflow test file to fixtures/html | #290 |
89+
| 1668735d | fix(dom): implement scroll throttling in document and fix document dirty state | #289 |
90+
| 0b3a535e | feat(webgl): implement WebGL validateProgram method | #253 |
91+
| 8b61cbe1 | fix(browser): maintain only one instance for font manager | #286 |
92+
| 2f5296a2 | feat(cssom): implement CSS nth-child() and nth-of-type() selector support | #285 |
93+
| 4b09aab0 | fix(cssom): correct align-items impl and add flexbox and grid layout test pages | #282 |
94+
| 9b9cba37 | fix(cssom): background-repeat should draw from clipped area | #280 |
95+
| 8e3b8ae5 | feat(cssom): support using background-position, background-size and background-repeat | #274 |
96+
| 404457ac | fix(browser): correct the bar component depth writes | - |
97+
| 8c46b022 | feat(bindings): Implement Console binding to support logging on cdp | #267 |
98+
| 46a910f9 | fix(builtin_scene): correct depth write only pass for web content | - |
99+
| d660b572 | fix(builtin_scene): write web content depth should be written with stencil testing | #272 |
100+
| 69344ad9 | feat(cssom): implement CSS attribute selector support in parser and matcher | #271 |
101+
| b8bab310 | feat(browser): add 3D world-space content bar and input box | #269 |
102+
| 88e86cff | feat(browser): add frame rate control to vsync and manual modes | #265 |
103+
| 204c7618 | feat(cssom): support CSS variables | #263 |
104+
| 99b7458d | feat(cssom): support universal selector (*) in CSSOM selector parser and matching | #261 |
105+
| bb2894ba | feat(cssom): implement CSS `:root` selector matching | #259 |
106+
| 0529c45e | feat(cssom): implement CSS :where() functional pseudo-class selector support | #258 |
107+
| 19dafc6b | feat(cssom): replace Rust CSS selectors with C++ implementation and add pseudo-class support | #241 |
108+
109+
### Regression Testing Cases
110+
111+
| File | Description |
112+
|------|-------------|
113+
| `fixtures/html/element-onclick-test.html` | Element.onclick attribute for inline event handlers (#309) |
114+
| `fixtures/html/text-rendering-test.html` | Comprehensive text rendering test page (#301) |
115+
| `fixtures/html/border-regression-test.html` | Comprehensive border regression test page (#302) |
116+
| `fixtures/html/layout-flexbox-grow-shrink.html` | Flex-grow and flex-shrink test case (#300) |
117+
| `fixtures/html/canvas-api-basic-drawing.html` | Canvas drawing operations including strokeRect() (#294) |
118+
| `fixtures/html/canvas-api-paths.html` | Canvas path operations |
119+
| `fixtures/html/canvas-api-state.html` | Canvas state management |
120+
| `fixtures/html/canvas-api-styles.html` | Canvas styling |
121+
| `fixtures/html/canvas-api-text.html` | Canvas text rendering |
122+
| `fixtures/html/canvas-api-transforms.html` | Canvas transformations |
123+
| `fixtures/html/canvas-api-image-data.html` | Canvas ImageData API |
124+
| `fixtures/html/css-overflow-comprehensive.html` | Comprehensive CSS overflow test file (#290) |
125+
| `fixtures/html/universal-selector-test.html` | Universal selector (*) in CSSOM parser and matching (#261) |
126+
| `fixtures/html/background-size-position-test.html` | Background-position, background-size and background-repeat (#274) |
127+
| `fixtures/html/background-position-extended-syntax-test.html` | Extended background-position syntax |
128+
| `fixtures/html/background-origin-repeat-test.html` | Background-repeat drawing from clipped area (#280) |
129+
| `fixtures/html/layout-flexbox-alignment.html` | Correct align-items implementation and flexbox layout (#282) |
130+
| `fixtures/html/layout-grid-alignment.html` | CSS Grid layout testing (#282) |
131+
| `fixtures/html/position-absolute-test.html` | Absolute positioning to nearest positioned ancestor (#276) |
132+
| `fixtures/html/dom/document_fragment_test.html` | DocumentFragment API |
133+
| `fixtures/html/dom/document_fragment_clone_test.html` | DocumentFragment cloning |
134+
| `fixtures/html/dom/document_fragment_web_api_test.html` | DocumentFragment Web API compliance |
135+
| `fixtures/html/layout-flexbox-column.html` | Flexbox column layouts |
136+
| `fixtures/html/layout-flexbox-example.html` | Flexbox examples |
137+
| `fixtures/html/layout-flexbox-nested.html` | Nested flexbox layouts |
138+
| `fixtures/html/layout-flexbox-wrap.html` | Flexbox wrapping |
139+
| `fixtures/html/layout-grid-areas.html` | CSS Grid areas |
140+
| `fixtures/html/layout-grid-auto.html` | CSS Grid auto placement |
141+
| `fixtures/html/layout-grid-example.html` | CSS Grid examples |
142+
| `fixtures/html/layout-grid-nested.html` | Nested CSS Grid |
143+
| `fixtures/html/text-antialiasing.html` | Text antialiasing |
144+
| `fixtures/html/css-gradients.html` | CSS gradient support |
145+
| `fixtures/html/webgl-conformance/validateprogram-test.html` | WebGL validateProgram method (#253) |
146+
| `fixtures/html/webgl-conformance/bufferdata-size-test.html` | WebGL buffer operations |
147+
5148
## v0.10.0
6149

7150
### New Features & Improvements

docs/internals/CDP_SUPPORT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ The Runtime domain exposes JavaScript runtime functionality.
116116
"id": 2,
117117
"result": {
118118
"product": "JSAR",
119-
"revision": "0.9.0",
120-
"userAgent": "JSAR/0.9.0",
119+
"revision": "0.10.1",
120+
"userAgent": "JSAR/0.10.1",
121121
"jsVersion": "ES2021"
122122
}
123123
}

docs/shared/footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function createFooter() {
77
<div>
88
<div class="flex items-center gap-2 mb-4">
99
<div class="text-2xl font-bold text-accent">JSAR</div>
10-
<div class="version-badge">v0.9.0</div>
10+
<div class="version-badge">v0.10.1</div>
1111
</div>
1212
<p class="text-secondary">
1313
Revolutionary Browser Engine Library designed for The Spatial Web.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@yodaos-jsar/runtime",
3-
"version": "0.10.0",
3+
"version": "0.10.1",
44
"private": true,
55
"scripts": {
66
"lint": "eslint lib/**/*.ts",

0 commit comments

Comments
 (0)