Skip to content

Latest commit

 

History

History
202 lines (105 loc) · 6.96 KB

CHANGELOG.md

File metadata and controls

202 lines (105 loc) · 6.96 KB

0.1.15 (2024-02-11)

Bug Fixes

  • export LRUCache and Queue (2a59580)

0.1.14 (2024-02-04)

Bug Fixes

  • replace Mat4.rotateFromQuat() with Mat4.getRotationAndTranslationFromQuatAndVec() (2c11e0e)

0.1.13 (2024-02-04)

Bug Fixes

  • correct more math functions (c013d58)

0.1.12 (2024-02-03)

Bug Fixes

0.1.11 (2024-02-03)

Bug Fixes

  • change Mat4.perspective to use WebGPU NDC space (ebaf0fa)

0.1.10 (2024-02-02)

Bug Fixes

  • load color attachment in render pass instead of clearing (70e763e)

0.1.9 (2024-02-02)

Bug Fixes

0.1.8 (2024-02-02)

Bug Fixes

  • make Mat4.lookAt() work like in other math libraries (d9e2dbf)

0.1.7 (2024-01-20)

Bug Fixes

0.1.6 (2024-01-13)

Bug Fixes

  • add support for onKeyDown in inputs (53e7aad)

0.1.5 (2024-01-13)

0.1.4 (2024-01-07)

Bug Fixes

0.1.3 (2024-01-07)

Bug Fixes

  • add onChange() handler to input fields (52a29dc)

0.1.2 (2024-01-01)

Bug Fixes

  • export event enums and functions as values not types (bdd6a43)

0.1.1 (2024-01-01)

Bug Fixes

0.1.0 (2023-12-31)

Features

Changelog

[Unreleased]

  • Add new WebGPU renderer.
  • Add missing styling and layout properties: flexWrap, flexShrink, flexGrow, flexBasis, aspectRatio, minHeight (and width and max variants), overflow.
  • Refactor font handling code and added line wrapping, kerning, text alignment.
  • Split layout and rendering into phases: layout(), compose(), paint().
  • Add event system scrolling support to View (use BaseView to avoid runtime cost of it).
  • Add first components as building blocks for larger UIs: Button and Input (which supports keyboard and mouse selection).
  • Improve CI and automated the release process.
  • Remove JSX API for the time being while research is ongoing on how to make it play well with interactive components.
  • Add unit tests.
  • Add New docs website with multiple pages, search, API reference, examples, and guides.

[0.0.16]

  • Fix paths in package.json field exports.

[0.0.15]

  • Export jsx-dev-runtime.

[0.0.14]

  • Restore two entrypoints and replace UMD with CJS.

[0.0.13]

  • Fix UMD export.

[0.0.12]

  • Switch to the new JSX transform. As a consequence, now tsconfig.json fragment looks like this:
    - "jsx": "react",
    - "jsxFactory": "jsx",
    + "jsx": "react-jsx",
    + "jsxImportSource": "red-otter/dist",
    and vite.config.ts plugin like this:
    - jsxFactory: "jsx",
    + jsx: "automatic",
    + jsxImportSource: "red-otter",

[0.0.11]

  • Expand math utils further. Make each of the Vec2, Vec3 and Vec4 support the same set of methods. Add math/utils.ts file which supports basic 1D methods such as degree to radian conversion.

[0.0.10]

  • More methods in the Mat4 class. New exports of math utils from main package: packShelves, triangulateLine, triangulatePolygon.

[0.0.9]

  • Sneak in some more math utils. Long term I suppose they will need to be extracted to another package, but so far I am happily avoiding messing with monorepo restructure.

[0.0.8]

  • Add Context#getWebGLContext() so WebGL context can be accessed from outside.

[0.0.7]

  • Move Interactions class to the main package.

[0.0.6]

  • This version brings a considerable rendering speed up from rewriting Context.ts to use one buffer with strides instead of separate buffers for each vertex attribute. On examples/interactivity I am seeing frame times go down from 2ms to 0.5ms.

[0.0.5]

  • It is now possible to trim text by providing trimStart and trimEnd coordinates to Context#text(), Layout#text() or via TextStyle prop trimRectangle in JSX API.
  • A small fix to typings: functions returning JSX can now return <shape> and <text> and not only <view>.

[0.0.4]

  • Fix for <text> showing only the first text node, making JSX much less useful.

[0.0.3]

  • Layout#flush() is now Layout#calculate() to be more explicit and avoid confusion with Context#flush()
  • Fix for critical error that would cause infinite loop if any element was too small to be displayed or had display: none set.

[0.0.2]

  • Fix for TypeScript type of font atlas metadata.

[0.0.1]

  • First public release.