Skip to content

Latest commit

 

History

History
222 lines (148 loc) · 6.44 KB

CHANGELOG.md

File metadata and controls

222 lines (148 loc) · 6.44 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.2.0] - 2024-04-26

New Features

  • Support for Renardo (Foxdot fork)
  • web: Sandbox web languages using iframes
  • web: Toggle line numbers with Shift-Ctrl-W and linewrap with Shift-Ctrl-W.
  • web(strudel): Code highlighting

Bugfixes

  • repl: Use sardine instead of fishery when running Sardine REPL
  • web(hydra): Use correct canvas size by default + pixelated image rendering
  • web(strudel): Misc fixse
  • Lots of name clashing between hydra, strudel and mercury-web were solved with language sandboxes.

[1.1.1] - 2024-01-29

Bugfixes

  • web(strudel): Use REPL evaluate method, this fixes the "setcps is not defined" error.

[1.1.0] - 2024-01-28

Bugfixes

  • web(hydra): Fixed issues with P5 not loading properly
  • web(hydra): await now works properly
  • web: Fixed issue with flok-web binary script running in development mode

New Features

  • web: Share URL command for sharing session URL along with current layout and code.
  • web: hideErrors query parameter option for hiding errors of web targets
  • web: code and c0..c7 hash parameters to set code for each editor

Changed

  • web(hydra): Updated P5 to 1.9.0
  • web(mercury): Updated Mercury to 0.14.0
  • web(strudel): Updated Strudel to 1.0.0
  • web: Updated Codemirror and related packages
  • web: Updated Yjs and related packages
  • web: Updated Vite 5
  • web: Moved username and targets query parameters as hash parameters

[1.0.2] - 2024-01-13

Changed

  • repl: Fix error when trying to use flok-repl without -T/--types argument (default value)

[1.0.1] - 2024-01-13

Changed

  • web: Fixed and optimized flok-web package, by removing lots of runtime deps that were used on build time only.
  • web: Removed pinned flok-repl version from REPL instructions.

[1.0.0] - 2024-01-12

Complete rewrite of Flok, with a new architecture and new features. See README.md for more information.

  • Started new web project, based on Vite, Tailwind, Radix UI and Shadcn CSS frameworks.
  • Upgraded CodeMirror to version 6
  • Upgraded Yjs to latest version
  • New modular architecture, with separate plugins related to codemirror (following their new architecture as well)
  • Document layout is now part of the session state, and can be changed dynamically, instead of being based on the query parameter ?layout.
  • Improved REPL message handling and UI
  • Command palette for executing commands and configuring the editor
  • Added support for Strudel and Mercury as web targets

[0.4.12] - 2024-01-06

Added

  • web: Toggle comment with Ctrl-/ or Cmd-/
  • web(sardine): Free all sound for Sardine

Changed

  • repl(sardine): Changed interpreter name (fishery -> sardine)
  • web: Bugfixes related to the server script (flok-web)
  • web: Fixed @types/react wrong version

[0.4.8] - 2022-05-26

Added

  • web: Add key binding Ctrl+Shift+H to hide or show editors

Changed

  • web: Replace yjsdemo WebSocket Yjs server for an embedded WS server
  • web: Use a random english name + first 8 chars of uuid as default session name
  • web: Upgrade p5 to version 1.4.1
  • web: Upgrade hydra-synth to version 1.3.16
  • web: Upgrade Next to version 12
  • web: Restore package bundle

[0.4.6] - 2021-10-31

Added

  • web: Print possible network IPs when starting web server locally
  • web: New --static-dir option for setting a custom static files directory when starting web server.

Changed

  • web: Upgrade hydra-synth to 1.3.8
  • web: Upgrade next to 11
  • repl: Remove "tidal> " from stdout on tidal target; other minor improvements

[0.4.5] - 2021-01-05

Added

  • web: Read-only mode by adding a readonly=1 query parameter to a session URL
  • repl: In foxdot REPL, call load_startup_file() after loading Foxdot package.

Changed

  • web: Upgrade hydra-synth to 1.3.6

[0.4.4] - 2020-12-23

Added

  • web: Follow remote cursors when moving (jump to line), but only if editor is blurred.
  • web: Make remote caret visible to current user too.
  • web: Properly support block evaluation with parens for sclang/remote_sclang targets.

Changed

  • web: Skip 'hydra' as a flok-repl example when joining a session
  • repl: Bugfix when using custom REPL command
  • repl: On sclang targets, add semicolons after closing parens

[0.4.3] - 2020-12-04

Added

  • repl, web: Support for Mercury
  • web: When joining session, show flok-repl example based on first target in layout.
  • web: New shortcut for evaluating web-target (e.g. Hydra) code only on local client (Ctrl-Alt-Enter for block execution, Shift-Alt-Enter for line execution).

Changed

  • web: Upgrade to Hydra 1.3.4

[0.4.2] - 2020-11-12

Changed

  • web: Better styles for selected text and remote caret
  • repl: Fix path to embedded BootTidal.hs when using fallback

[0.4.1] - 2020-10-11

Added

  • web: Copy button for copying flok-repl example when joining session
  • repl: Add package metadata and data dir, which includes a Tidal bootScript file.

Changed

  • web: Disable form when creating session, while session page loads
  • repl: If ghc-pkg fails to get tidal data dir, fallback to embedded bootScript file.

[0.4.0] - 2020-10-06

Added

  • repl: Add --nickname/-N to send REPL messages (out/err) to named user instead of all connected users.
  • repl: Add --notify-to-all to force send messages to all users (old behaviour).
  • repl: Add extra option ghci for tidal REPL type, for customizing ghci binary path.
  • web: Show current Flok version when joining session.
  • web: Include -N option on flok-repl example when joining session.

Changed

  • Now, by default, flok-repl will not send messages to all users by default. You need to enable the --notify-to-all option if you want the old behaviour. If --nickname/-N and --notify-to-all are not present, flok-repl won't send any messages, only print them on standard output/error.

[0.3.17] - 2020-10-06

Added

  • repl: Add new --config option for customizing parameters from a JSON file
  • repl: Load config file from FLOK_CONFIG environment file, if defined. Also, load .env files automatically.

Changed

  • web: Bugfix: host prop was undefined on first page load, failing to connect afterwards.