Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,28 @@

All notable changes to the Native SDK (formerly zero-native) will be documented in this file.

## 0.4.2
## 0.4.3

<!-- release:start -->

### Improvements

- **Linear-light edge blending**: anti-aliased fringes on opaque rounded rectangles, path fills, and strokes now composite through a linear-light coverage path, removing the dark rims that sRGB blending produced on curved geometry while keeping opaque interiors, glyph coverage, and translucent overlays byte-identical (#89).

### Bug Fixes

- **Single-line fields handle overflowing values**: text, selection rects, composition underlines, and the caret now clip to the field's content rect, and a horizontal scroll offset keeps the caret visible — typing past the edge scrolls the value, Home scrolls back, and deleting never leaves trailing emptiness. Covers text fields, inputs, search fields, and comboboxes; values that fit render exactly as before (#90).
- **Cross-drive apps on Windows**: `native dev|build|test` no longer fails with `expected path relative to build root; found absolute path` when the app and the npm-installed SDK live on different drives — the generated build graph now bridges volumes with a `.native/sdk` directory junction (no admin rights needed) and keeps the zon dependency relative; the junction is retargeted automatically when the SDK moves or upgrades. Where the bridge cannot apply (`native eject`, full-shape `native init`, or a filesystem that refuses junctions), the CLI explains the cross-volume constraint and both ways out instead of writing a build Zig would reject (#92).

### Contributors

- @ctate
<!-- release:end -->

## 0.4.2

### Improvements

- **Windows rendering is DPI-aware and sharper**: Windows apps now declare Per-Monitor V2 DPI awareness, each window carries its own device scale, and canvases, native child views, hidden-titlebar sizing, and explicit WebView frames re-render/re-round correctly when moved across mixed-DPI monitors (#81).
- **Smoother canvas geometry**: rounded-rect fills and strokes now render through continuous coverage while eligible hairline borders snap to crisp device-pixel columns, so arcs stay anti-aliased and 1px borders stay sharp under the default house and Geist packs (#81).
- **Canonical package and documentation metadata**: npm package metadata, release automation, docs, templates, and examples now point at the renamed `vercel-labs/native` repository and `native-sdk.dev`; `version:sync` stamps repository/homepage metadata into platform packages and `version:check` rejects drift before publish (#78, #80).
Expand All @@ -23,7 +39,6 @@ All notable changes to the Native SDK (formerly zero-native) will be documented
### Contributors

- @ctate
<!-- release:end -->

## 0.4.1

Expand Down
1 change: 0 additions & 1 deletion changelog.d/single-line-field-overflow.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/windows-cross-drive-sdk.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/native-sdk/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli-darwin-arm64",
"version": "0.4.2",
"version": "0.4.3",
"description": "The native CLI binary for macOS on Apple silicon (arm64)",
"os": [
"darwin"
Expand Down
2 changes: 1 addition & 1 deletion packages/native-sdk/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli-darwin-x64",
"version": "0.4.2",
"version": "0.4.3",
"description": "The native CLI binary for macOS on Intel (x64)",
"os": [
"darwin"
Expand Down
2 changes: 1 addition & 1 deletion packages/native-sdk/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli-linux-arm64-gnu",
"version": "0.4.2",
"version": "0.4.3",
"description": "The native CLI binary for Linux arm64 (glibc)",
"os": [
"linux"
Expand Down
2 changes: 1 addition & 1 deletion packages/native-sdk/npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli-linux-arm64-musl",
"version": "0.4.2",
"version": "0.4.3",
"description": "The native CLI binary for Linux arm64 (musl)",
"os": [
"linux"
Expand Down
2 changes: 1 addition & 1 deletion packages/native-sdk/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli-linux-x64-gnu",
"version": "0.4.2",
"version": "0.4.3",
"description": "The native CLI binary for Linux x64 (glibc)",
"os": [
"linux"
Expand Down
2 changes: 1 addition & 1 deletion packages/native-sdk/npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli-linux-x64-musl",
"version": "0.4.2",
"version": "0.4.3",
"description": "The native CLI binary for Linux x64 (musl)",
"os": [
"linux"
Expand Down
2 changes: 1 addition & 1 deletion packages/native-sdk/npm/win32-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli-win32-arm64",
"version": "0.4.2",
"version": "0.4.3",
"description": "The native CLI binary for Windows on ARM (arm64)",
"os": [
"win32"
Expand Down
2 changes: 1 addition & 1 deletion packages/native-sdk/npm/win32-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli-win32-x64",
"version": "0.4.2",
"version": "0.4.3",
"description": "The native CLI binary for Windows x64",
"os": [
"win32"
Expand Down
18 changes: 9 additions & 9 deletions packages/native-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@native-sdk/cli",
"version": "0.4.2",
"version": "0.4.3",
"description": "The Native SDK: the complete toolkit for building native desktop applications — declarative markup, native rendering, WebView surfaces, and OS capabilities",
"type": "module",
"bin": {
Expand All @@ -23,14 +23,14 @@
"LICENSE"
],
"optionalDependencies": {
"@native-sdk/cli-darwin-arm64": "0.4.2",
"@native-sdk/cli-darwin-x64": "0.4.2",
"@native-sdk/cli-linux-arm64-gnu": "0.4.2",
"@native-sdk/cli-linux-arm64-musl": "0.4.2",
"@native-sdk/cli-linux-x64-gnu": "0.4.2",
"@native-sdk/cli-linux-x64-musl": "0.4.2",
"@native-sdk/cli-win32-arm64": "0.4.2",
"@native-sdk/cli-win32-x64": "0.4.2"
"@native-sdk/cli-darwin-arm64": "0.4.3",
"@native-sdk/cli-darwin-x64": "0.4.3",
"@native-sdk/cli-linux-arm64-gnu": "0.4.3",
"@native-sdk/cli-linux-arm64-musl": "0.4.3",
"@native-sdk/cli-linux-x64-gnu": "0.4.3",
"@native-sdk/cli-linux-x64-musl": "0.4.3",
"@native-sdk/cli-win32-arm64": "0.4.3",
"@native-sdk/cli-win32-x64": "0.4.3"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion tools/native-sdk/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const tooling = @import("tooling");
const automation_protocol = @import("automation_protocol");
const cli_build_info = @import("cli_build_info");

const version = "0.4.2";
const version = "0.4.3";

pub fn main(init: std.process.Init) !void {
const allocator = init.arena.allocator();
Expand Down
Loading