Updates

Changelogs and announcements when new tools launch or existing ones improve.

Motif 2.0.2 Released

This release adds run lengths to chart downloads: the number of stitches in each run of one colour along a row. Row counts in a download can now also be numbered from the top, for knitting from the top down.

Added

  • “Show run lengths” in the download dialog writes the number of stitches on each run of one colour along a row, for runs of 5 or more stitches or any length you choose
  • Row counts in a download can be numbered from the top, for knitting top down

Dependencies

  • Routine updates from Dependabot

Motif 2.0.1 Released

See changelog below for details on this release.

Fixed

  • Typing a smaller stitch or row count could silently delete part of a pattern that sat off to one side of the chart; the pattern now stays whole
  • Charts too large for the window no longer scroll inside a frame without their edge grips: the page scrolls instead, the grips stay, and the caption, key and preview stay in view

Dependencies

  • Routine updates from Dependabot

Motif 2.0.0 Released

A redesign of Motif: a new look, a key under the chart, a phone layout and keyboard improvements.

Changed

  • A new look: Spectral type, square corners and one top bar
  • The pattern’s size and the preview’s repeats are set in fields in the captions under the chart and above the preview, replacing the size headings and arrow buttons
  • Colours live in a key under the chart: numbered swatches, the background in its own cell, and the palette as a strip beneath. Click the selected swatch again to change or remove it
  • Charts fill their column; charts too large for the page scroll in a frame
  • Surrounding stitches for a download are chosen with grips on the preview and fields in its caption
  • Messages appear as notes in the top bar instead of pop-up dialogs, and busy buttons read “Preparing…” instead of a loading overlay
  • Help and about pages rewritten for the new layout
  • “Colour” throughout, and “pattern” rather than “canvas”

Added

  • Stitch and row numbers beside the chart, counted from the right and the bottom
  • One repeat is outlined on the preview
  • A phone layout with 44px controls; tap a square to paint it, and drag to scroll

Fixed

  • Keyboard and screen reader use: edge grips resize with the arrow keys, Import JSON works from the keyboard, each row of colours is one tab stop walked with the arrow keys, and focus returns to a sensible place after dialogs, removing a colour or dismissing a message

Dependencies

  • Routine updates from Dependabot, including Vite 8, Vitest 4 and Playwright, with deploys moved to Cloudflare’s wrangler-action

Motif 1.3.0 Released

This release adds Custom cell size option for PNG exports — set a specific pixel size per cell using a slider

Added

  • Custom cell size option for PNG exports — set a specific pixel size per cell using a slider

Changed

  • Pattern repeat outline in surroundings export changed from red to black, matching the downloaded image
  • Row count margin width reduced for a tighter layout
  • Export size preview label reserves minimum height to prevent layout stutter when adjusting cell size

Motif 1.2.0 Released

A major update with 6 new features including Pattern with surroundings download option - allows exporting patterns with configurable context stitches from neighboring repeats

Added

  • Pattern with surroundings download option - allows exporting patterns with configurable context stitches from neighboring repeats
  • Row count option in download modal for all export types
  • Download modal dialog replacing previous dropdown for better organization
  • Visual selection interface for adjusting pattern surroundings in downloads (for patterns with 3×3 preview)
  • Dynamic preview repeat limits based on pattern size to prevent performance issues
  • Automated update post creation workflow for Knitlings website

Changed

  • Renamed “context” to “surroundings” in user-facing text for clarity
  • Improved download image styling with thicker red border (2px → 4px) on pattern repeat box for better visibility
  • Enhanced row count readability with white background, black separator border, extended grid lines, and monospace font

Fixed

  • Grid resize operations are now properly undoable
  • Null values in grid cells are handled correctly
  • Content is preserved when shrinking grid from left/top edges
  • Export E2E tests updated to interact with visible elements

Documentation

  • Added video demos with inline GIF display in README
  • Auto-cropped black borders from demo videos

Dependencies

  • Updated @playwright/test from 1.56.1 to 1.57.0
  • Updated happy-dom from 20.0.10 to 20.0.11
  • Updated vite from 7.2.4 to 7.2.7
  • Updated vitest from 4.0.13 to 4.0.15

Motif 1.1.0 Released

A major update bringing full mobile and tablet support, comprehensive test coverage, and improved code quality with JSDoc annotations throughout.

Added

  • Mobile and tablet responsive design for all screen sizes
  • Touch support for grid resize handles with larger touch targets (20px)
  • Visual feedback when resizing grid on touch devices
  • Full-screen overlay panels on mobile with close buttons
  • Optimized canvas sizing for mobile portrait and landscape modes
  • Larger touch targets throughout mobile UI (44px minimum)
  • Comprehensive JSDoc type annotations across entire codebase for better IDE support and AI assistance
  • History size limit (50 states max) to prevent unbounded memory growth
  • Browser feature detection with user-friendly error messages (Canvas API, localStorage, FileReader)
  • Content Security Policy on all HTML pages to improve security posture
  • Self-hosted fonts for offline capability and privacy (Google Fonts downloaded locally)
  • Comprehensive unit test suite (140 tests across storage, grid, export, validation, feature detection, history)
  • Code coverage reporting configuration
  • Dependabot configuration for automated dependency updates
  • Inline documentation for complex algorithms and edge cases
  • Application state structure documentation in CONTRIBUTING.md

Changed

  • Canvas headings hidden in landscape mode to save vertical space
  • Navbar layout optimized for mobile with reduced spacing
  • Side panels now overlay content on mobile instead of pushing it
  • Improved canvas space utilization on all mobile devices
  • Refactored main.js into focused UI modules (palette.js, panels.js, keyboard.js, interactions.js)
  • Extracted magic numbers to CONFIG constants with documentation
  • All configuration constants now documented in config.js
  • Browser no longer loads external Google Fonts (CSP updated accordingly)

Fixed

  • Canvas size now remains stable when browser address bar appears/disappears on mobile
  • Grid resize handles now work properly with touch input