Skip to content

NetPad v0.4.1

Choose a tag to compare

@tareqimbasher tareqimbasher released this 27 Jul 01:50
· 735 commits to main since this release

If you like NetPad, please star the repo 🌟!

Preview 4.1

This release adds a few new features and improvements, and fixes reported issues.

What New πŸš€

  • New Icon Color Theme πŸ–ŒοΈ: A new "Colorful" icon color theme was added. You can switch to it in Settings > General.
  • Scroll on Output: Adds a new icon to the Output pane that when enabled will scroll output view as new output is rendered. This is useful when you want to follow the latest output without having to continuously scroll.
  • Output Pane Shortcut: You can now use Ctrl + R to toggle open the Output pane. Window reload shortcut moved to Ctrl + Shift + R
  • New Main Menu Items:
    • Edit > Settings: Opens the settings window (shortcut: F12).
    • Edit > Transform to Upper/Lower Case: Transforms selected text to upper or lower case (shortcut: Ctrl + Shift + Y).
    • View > Output: Toggles the Output pane (shortcut: Ctrl + R)
    • View > Explorer: Toggles the Explorer pane (shortcut: Alt + E)
    • View > Namespaces: Toggles the Namespaces pane (shortcut: Alt + N)
  • Dump():
    • Better support for dumping FileInfo and DirectoryInfo objects
    • Support dumping Memory<T> and ReadOnlyMemory<T> objects
    • Support dumping Span<T> and ReadOnlySpan<T> values. However this only works if directly dumping a Span. If Span is not the root object being dumped, only basic info about the Span is rendered.
    • Adds a MaxDepth to serialization. Defaults to 64, has a min value of 1 and max value of 1000. A new user setting was added and can be configured in Settings > Results.
    • A new user setting was added to configure MaxCollectionSerializeLength which defines how many items of a collection should be serialized. This was previously hard-coded to 1000. Defaults to 1000, has a min value of 1 and max value of 10,000.
      • Warning: Increasing this setting too high might cause performance issues in rendering results.
  • Other changes:
    • Reduced SPA bundle size by 33%.
    • New Output pane icon!
    • Removed the word "Output" from the Output pane header
    • A more subtle border for Output navigation arrows.
    • Add just a bit more height and padding to the Compact style.

Fixes πŸ›

  • Check that the version of EF Tool is supported (v5 or higher) and not just that it is installed.
  • Stops a running script if it is closed while it is still executing.
  • Fix output of unhandled exceptions so that it is formatted correctly, shows new lines correctly, and renders Stack Trace lines in order.
  • Fix bug that would occur occasionally complaining about a dictionary key already existing when generating script output.
  • Fix cyclic reference detection in output for C# records; was using default (value) comparison, now uses reference comparison.
  • Fix disabled textbox in Settings > OmniSharp > Custom executable path.
  • Fix app crashing when large amounts of error output is generated very quickly (ex: stack overflow in a script).

Contributors ❀️

A LOUD shout out to my new contributors! Your support is so very greatly appreciated! Your contributions go directly to adding new features, enhancing existing ones and have a direct impact on advancing this project forward. You are superstars, thank you!

⭐ Hamed Imbasher

⭐ Francesco Bonizzi

If you're enjoying NetPad, please consider sponsoring it with a cup of coffee ($5) a month, every bit helps me maintain this project and deliver more features. Thank you πŸ™

Full Changelog: v0.4.0...v0.4.1