Skip to content

whynot 0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Oct 14:52
· 48 commits to main since this release
0b444be

whynot 0.6.0

On macOS:

brew install arnodel/tap/whynot

Otherwise, download the archive for your platform below, unzip it,
and run whynot (or whynot some-file.md).

Building from source instead:

go install github.com/arnodel/whynot/cmd/whynot@v0.6.0

Changelog

Breaking Changes

  • f40b411 feat!: "#id" links scroll by default; OnAnchorClick replaces AnchorScrolling (#56)
  • aa33adb feat!: AsyncImage.Fetch takes a context.Context (#58)
  • c5901ca feat!: Controller and the input package replace Interaction (#50)
  • 091e489 feat!: Frame returns events; the hovered link is a View query (#59)
  • 997009c feat!: View keeps position primitives; the Controller scrolls on command (#54)
  • b800992 feat!: a View has a scale and a zoom, like a Panel (#74)
  • 6982926 feat!: a View is a window onto the canvas's coordinates (#55)
  • 249dcae feat!: built-in vertical scrollbar, defined by the style (#52)
  • 0b7b370 feat!: systemfont's Register methods return an error (#75)
  • 67109f6 feat!: wheel deltas are logical pixels, scaled by the Controller (#70)
  • 070df64 feat!: whynot.Panel is a concrete, backend-agnostic type (#53)
  • f2c1505 refactor!: Margins is internal; simpletheme declares its own (#39)
  • 3315462 refactor!: View.HitTest returns a rectangle; Document.Root removed (#40)
  • 61f27aa refactor!: backends/giobackend is its own module (#62)
  • 04c617e refactor!: browser and PointerState are internal to the apps (#49)
  • 3971a12 refactor!: codeblocks package: one plugin kind, token classes on nodes (#43)
  • db4be0e refactor!: ebitenrenderer becomes backends/ebitenbackend (#60)
  • 233bdd3 refactor!: giorenderer becomes backends/giobackend, with the Gio programs (#61)
  • 977aa3c refactor!: image contract in a public images package; cache to internal/imagecache (#33)
  • 4500722 refactor!: kroki.Renderer becomes kroki.Plugin (#69)
  • 2ebb73c refactor!: make stylesheets opaque, made by theme packages under styles/ (#31)
  • 81acc50 refactor!: move Canvas into a public canvas package (#34)
  • afe0821 refactor!: move fonts into a public fonts package; SelectFace takes a dpi (#32)
  • a93b6f9 refactor!: move layout and drawing into internal/engine (#37)

Features

  • 70e84fb feat: backends' input readers are input.Sources (#51)
  • ab2ef96 feat: the welcome page shows the commit a build came from (#72)

Bug Fixes

  • 8b3eb84 fix: SetView reports that the hovered link is gone (#57)

Other Changes

  • cd5487b refactor: engine is the pipeline; View owns position and scroll state (#41)
  • cefe2d6 refactor: move the Markdown compiler to internal/markdown (#45)
  • 2e970a8 refactor: trim the engine's exported surface (#42)

Full Changelog: v0.5.0...v0.6.0