Skip to content

Releases: electron/fiddle

v0.26.0

30 Jul 18:13
Compare
Choose a tag to compare

Electron Fiddle v0.26.0 features a bunch of bug fixes and minor new features, as well as internal refactors that’ll make Fiddle less error-prone, more stable, and sometimes even a little faster.

755 additions and 816 deletions, thanks to our amazing contributors!

Changelog

:electron: Upgrade Electron to 12.0.14
✨ Electron 15 will have alpha releases, don’t break (#764)
✨ Add OS version + arch info to --log-config (#792)
✨ Allow copying current version number (#795)
✨ Before exiting, log the exit code (#798)
✨ Add option to disable output timestamps (#796)
🚤 Performance: Prefer getKnownVersions() over getElectronVersions() (#781)
🚤 Performance: Faster version tests (#791)
🐛 Fix: Cannot read property ‘set’ of undefined (#772)
🐛 Fix: EditorMosaic safeguard against unwanted files (#769)
📝 Docs: Update number of supported versions to reflect release cadence migration (#773)
🐛 Fix: Second handler for GET_APP_PATHS error dialog (#767)
🐛 Fix: Publishing gists with empty files to Github (#777)
🐛 Fix: Editors sometimes disappear when loading new fiddle (#775)
🐛 Fix: Sorting for non-numeric queries (#786)
🐛 Fix: handle invalid monaco editor command (#787)
🐛 Fix: Output console regenerating monaco editor upon output update (#780)
🐛 Fix: Proper release sorting in get-version-range (#797)
🐛 Fix: Handle missing local version binaries (#807)
🐛 Fix: Context menu goto and peek definition (#808)

Internal

♻️ Replace decomment with strip-comments (#762)
♻️ Remove Sync() calls from readFiddle() (#761
♻️ Remove EditorMosaicMock; use EditorMosaic (#779)
♻️ Refactor: default to latest stable version (#783)
♻️ Refactor: replace decompress with extract-zip (#793)
♻️ Refactor: merge version sorting logic (#802)
♻️ Refactor: extract-method Runner.buildChildEnvVars (#809
🏗️ Build: better fetch releases (#782
🏗️ Build: Update tar (#811)
🏗️ Build: Bump forge dependency (#813)

v0.25.2

09 Jul 20:01
Compare
Choose a tag to compare

A human error in the v0.25.1 release process led to a few commits being forgotten.

  • chore: get version list from electronjs.org (#756)
  • fix: when EditorState.setVersion() loads a template for the new version (#754)

v0.25.1

09 Jul 17:17
Compare
Choose a tag to compare

Electron Fiddle v0.25.1 adds a couple new quality of life features and improvements to the app's CLI testing mode.

1,899 additions and 2,773 deletions, thanks to our amazing contributors!

Changelog

🐛 add dialog box for when user adds duplicate local electron builds (#731)
🐛 update webcontents demo with loadURL (#736)
🐛 GET_APP_PATHS handler undefined on reload (#738)
✨ improve version filtration logic (#739)
🐛 clear unused editor contents on replace (#742)
✨ add --full command-line option (#757)
🐛 editorMosaic.layout() called w/ wrong context (#752)

Internal

♻️ preload monaco (#728)
♻️ add AppState dialog helper functions (#733)
♻️ make EditorMosaic implementation details private (#740)
♻️ remove unused output.editorDidMount (#745)
🔥 remove dead code (#746)
♻️ add .d.ts wrangler class 'ElectronTypes' (#748)

v0.25.0

23 Jun 23:32
Compare
Choose a tag to compare

Electron Fiddle v0.25.0 adds a couple new quality of life features and improvements to the app's CLI testing mode.

1,339 additions and 887 deletions, thanks to our wonderful contributors!

Highlight features

🔎 Searchable console

Fiddle's output console has been rewritten as a read-only Monaco editor. You're still getting the same output, but the console is now fully searchable and comes with some pretty syntax highlighting.

Console screenshot

📂 Recent documents menu

Fiddle's application menu now displays a list of recent local Fiddle demos, which can come in handy if you've used Fiddle quite a bit!

recent documents menu

Changelog

✨ Add --log-config command-line option (#707)
✨ Add recentDocuments menu to fiddle (#700)
✨ Handle protocol launches on Windows (#711)
✨ Add checkmarks to "Show Me" menu to indicate which example is open (#705)
✨ Make Fiddle console searchable (#717)
✨ Try downloading version if missing (#720)

🐛 Fix console clear (#715)
🐛 Allow fiddle protocol from to load from CLI (#719)
🐛 show warning dialog for missing local versions (#727)

♻️ Move mosaic utils into editor mosaic (#708)

v0.24.0

18 Jun 00:45
Compare
Choose a tag to compare

Changelog

✨ Obsolete versions can now be enabled for CLI runs (#697)

v0.23.2

03 Jun 19:27
Compare
Choose a tag to compare

Changelog

🐛 Properly kill dangling processes (#688)
🐛 Properly trim gist values (#682)
🐛 More graceful CLI failures (#698)

Internal:
📦 Upgraded to Electron Forge 6 beta 55 (#696)
♻️ Refactored editor panel logic (#683)

v0.23.1

06 May 19:21
Compare
Choose a tag to compare

Electron Fiddle v0.23.1 introduces a quick hotfix. Oops!

Changelog

🚒 Fixed app error when closing child processes (#687)

v0.23.0

05 May 04:24
Compare
Choose a tag to compare

Electron Fiddle v0.23.0 introduces the long-awaited ability to add custom editors, alongside bug fixes and large infrastructure changes under the hood.

4,892 additions and 4,336 deletions, thanks to our contributors!

Highlight features

Custom editors

Arbitrary files can now be added via the Editors dropdown. This feature opens the door to many new use-cases for Fiddle. Load a second HTML file! Use service workers! The world is your oyster.

Custom editor menu

Improved version selection filters

The old unsupported filter was removed, and an obsolete filter was added to filter out Electron versions that have reached the end of their support cycle.

settings UI

Environment variables

Similar to the existing ability to set user-defined CLI flags, you can now set environment variables through the Preferences > Execution settings panel.

environment variables

Changelog

✨ Added Custom editors (#636)
✨ Added About panel to Help menu for Windows and Linux (#637)
✨ Fiddle's title bar now tracks the application state (#625)
✨ Improved version selection settings UI (#656)
✨ Improved UI for setting flags and variables (#678)

🐛 Fixed packaging for nightly builds (#643)
🐛 Fixed a bug where clicking an external link from the console would show a misleading prompt (#653)
🐛 The npm module installation no longer endlessly spins if an install fails (#661)
🐛 Fixed PATH variable setting on Linux (#663)
🐛 Fixed Intellisense (#667)
🐛 Console output no longer occasionally drops on Windows (#676)

Internal changes

🔥 remote module removed (#633)
♻️ Various refactors (#640, #641, #645, #647, #648, #651, #654, #655, #673, #674, #677, #679)
🧪 Various unit test improvements (#642, #646, #657, #658, #669, #670, #680)

v0.22.0

29 Mar 22:00
Compare
Choose a tag to compare

Electron Fiddle v0.22.0 is a big one.

3,564 additions and 2,693 deletions, thanks to our contributors (v21.0.0..v22.0.0).

Highlight features

Auto-bisect

Electron Fiddle is often used in the context of the issue tracker to bisect exactly when a regression bug occurred. In a step toward making this process easier, Fiddle now can automatically mark a version as "good" or "bad" during the bisection process to narrow down the offending release with ease.

Try it out with our new File > New Test template!

Command line usage

In case you want to bisect without setting up the GUI (e.g. for automation purposes), you can also perform an auto-bisect from the command line. For example:

Example calls:
  $ electron-fiddle bisect 10.0.0 11.2.0 --fiddle /path/to/fiddle
  $ electron-fiddle bisect 10.0.0 11.2.0 --fiddle /path/to/fiddle --betas --nightlies
  $ electron-fiddle test --version 11.2.0 --fiddle /path/to/fiddle
  $ electron-fiddle test --version 11.2.0 --fiddle 8c5fc0c6a5153d49b5a4a56d3ed9da8f
  $ electron-fiddle test --version 11.2.0 --fiddle https://gist.github.com/ckerr/8c5fc0c6a5153d49b5a4a56d3ed9da8f/

Smarter default templates

Previously, Electron Fiddle served you a single default template for all major versions >=2. This leads to problems when syntaxes in the quick-start app change between versions due to breaking changes.

Now, opening a new Fiddle with a specific version will fetch the contents from the equivalent branch in electron/electron-quick-start to ensure that your code works by default.

Full changelog

✨ Feature: Default Fiddle templates are now fetched for each major version of Electron (#594)
✨ Feature: Auto-bisect GUI and CLI (#618, #619)
✨ Feature: Added a new test template (#612)
🔥 Removal: Removed remote module API demo (#596)
🎨. Design: New Big Sur-friendly icon on macOS (#600)
🏎 Performance: Faster Electron binary semantic version sorting (#614)
🐛. Fix: Added an OK button to the failed gist modal (#543)
🐛. Fix: Fixed logic when loading remote text content (#609)
🐛 Fix: Keep track of pending binary downloads to keep state more accurate (#606)

Internal

♻️ Refactor: Use a preload script in lieu of electron.remote (#602)
♻️. Refactor: Remove asynchronous imports previously implemented for test mocks (#620)
♻️ Refactor: Avoid hard-coding editor names in the code logic (#621)
🔥 Removal: Removed unused show-me code paths (#607)
🛠 Tooling: Made husky configuration executable (#589)
🛠 Tooling: Fixed ESLint configuration (#592)

v0.21.0

29 Mar 20:12
Compare
Choose a tag to compare
v0.21.0