Skip to content

Releases: CWood-sdf/banana.nvim

v0.2.0

11 Dec 06:18
ba5d7ce
Compare
Choose a tag to compare

0.2.0 (2024-12-11)

Features

  • api: add getComponentRoot and getAttributeSubstitution (09c4cab)
  • api: remove getComponentRoot (2d6749e)
  • component: dont render after running scripts jic the script changes layout (a4d7b2b)
  • component: import when declared in a script (758c6f0)
  • component: more component work (a9636b8)
  • component: more work (9a17671)
  • component: more work on getting the system working (4aab84f)
  • components: start working on components (bf0b7dc)
  • counter (948dd0b)
  • Gradient: add caching for linear colors (82fb519)
  • Gradient: add caching for radial-gradient (38df71f)
  • gradient: add color stop parser, and have functions return mult (a948fb1)
  • gradient: add name to color parser (b2e97ad)
  • gradient: add og radial-gradient (fa6146b)
  • gradient: first working linear-grad prototype (df221ee)
  • gradient: fix random things (ba59292)
  • gradient: full color stops (62a610f)
  • gradient: linear works for all angles (9c81a00)
  • grid: add nfr unit (d6b72b4)
  • Instance: add debug window for debug output (instead of bottom) (82fb519)
  • linear-gradient: add support for "to ..." (3b4f813)
  • linear-gradient: support for angle (7c47b15)
  • ncss: add aspect-ratio (09c4cab)
  • ncss: add nth-child pseudo class selector (caba20a)
  • nml: prep treesitter for components (80f2b3f)
  • render: dont have infinite loop when width=0 (2e3d837)
  • tag: move functions to new file (4aab84f)

Bug Fixes

  • aspect-ratio: floor values (d6b72b4)
  • box: prevent nil errors (d6b72b4)
  • box: regression in grid unit tests (eb33842)
  • component: force componentStack to be a guaranteed value (8f1e8c8)
  • component: import things properly (20aa25c)
  • component: prevent cyclic imports (934b1d5)
  • gradient: properly compute widthToCorner for linear (2a1f524)
  • grid: call .render() (ab65019)
  • grid: prevent 0 index from being used (09c4cab)
  • instance: check if dir exists so netrw doesnt open up (3350039)
  • nml: attach src= scripts to component (09c4cab)
  • render: list style color contains color of parent element (cef59e9)

v0.1.0

23 Aug 04:44
8480588
Compare
Choose a tag to compare

0.1.0 (2024-08-23)

⚠ BREAKING CHANGES

  • render: frs not allowed in flexbox

Features

  • ast: add nil checks for instance usage (0fc2a55)
  • css validation: add support for param packs and repeat() (2b3e098)
  • example: able to run both examples (64de431)
  • examples: add "lazy.nvim" example (17ce8e2)
  • examples: add todo (5b5f205)
  • examples: counter (9232740)
  • grid: grid is scary (7634ace)
  • grid: nearly done with main prototype (3d03af5)
  • h1: add h1 tag (adb3f25)
  • instance: add resize rerender event (918097d)
  • instance: check for other existing instances (#6) (203ab3e)
  • instance: defer imported scripts to access computed props (3113a67)
  • multiple fixes and prep for v0.1 (fe962cd)
  • ncss: add slash support (8c4e0c2)
  • readme: update (9671cc7)
  • render: add grid-template-rows (bd1832e)
  • render: add row-gap and column-gap (7a3a11d)
  • render: first working part-proto for grid (0972135)
  • render: grid-template-columns implementation (1104d2e)
  • render: more grid work (7e7da9f)
  • render: more grid work (3e79a5e)
  • render: use rows as 1fr height when height defined (f0a6325)
  • validations: improve grid-row/col for more grid stuff (eef394e)
  • zig: add box.zig (a5a6af7)

Bug Fixes

  • ast: dont clear id in case cloning from loadNmlTo (bd5a1b7)
  • box: adjust width in renderOver (c2541a8)
  • box: properly compute dirty in renderOver (9ad90cd)
  • box: stripRight works (1615fef)
  • build should work now (a4efc3a)
  • grid: fix failures in grid tests (e0007ba)
  • highlight: memory leak bc not cleaning up highlights (904d9c8)
  • instance: properly compute new bounds (918097d)
  • li: no error when content empty (42890bc)
  • nml: wasnt grabbing inline scripts (3808bab)
  • remove accidental treesitter stuff (07f62c8)
  • render, hl: render empty divs properly, hl based on bytes not chars (5f951f0)
  • render: frs not allowed in flexbox (0972135)
  • render: properly apply box centering when minsize is used (aka flexbox) (6690185)

Performance Improvements

  • box: remove copying (265f4d7)
  • grid: slight improvements in distribution (77184ba)
  • hl: 3x speed increase in hl (9094117)

Miscellaneous Chores

  • revert release to 0.1.0 (702f1ee)

v0.0.1

24 Jul 02:15
Compare
Choose a tag to compare

v0.0.1

First release for banana!