Skip to content

NetPad v0.6.0

Compare
Choose a tag to compare
@tareqimbasher tareqimbasher released this 23 Nov 14:29
· 280 commits to main since this release

Preview 6

This release brings support for .NET 8 and C# 12, Native windows decorations and other new features!

If you like NetPad, please star the repo 🌟!

What New πŸš€

  • .NET 8 & C# 12 Support
  • Edit Keyboard Shortcuts: You can edit (some) keyboard shortcuts in Settings.
  • Native Windows: Its now possible to switch to use Native window decorations (frame, titlebar..etc) (see #82). You can choose between the following settings:
    • Integrated: Frameless window, and the titlebar NetPad has had so far. It merges the main menu and the titlebar (default for Windows/Linux).
    • Native: Uses the OS-native window frame and titlebar (default for macOS).
  • Window Controls Position: (When using the Integrated titlebar only) You can chose to position the minimize, maximize, and close window controls to the right side of the titlebar, or the left.
    • Right (default)
    • Left
  • Main Menu Auto-Hide: (Has no effect on macOS when using the Native titlebar)
    • Always Show (default)
    • Auto-Hide
  • Allow unsafe Code: The unsafe keyword is now allowed in C# scripts. There is no setting to turn this off. If this is something you guys would like to see become configurable, be sure to open a discussion or issue!
  • Optimizations to script output rendering which also solves an issue with output buffer not allowing a script to stop (#98). These optimizations include limiting the maximum items (individual Dump() or Console.Write calls) one can output to 10,000 items in a single run.
  • Other Changes:
    • Scripts that are using a data connection will display a database icon (will be orange for production connections) in their tabs for more visibility when editing other scripts.
    • Dump() will now exclude base properties that are hidden by properties in derived types.
    • Line numbers shown in compilation errors or in uncaught exception stack traces will now show the correct line numbers.
    • Updates OmniSharp Roslyn to v1.39.10

Fixes πŸ›

  • Fixed completions not showing when trigger char (.) is typed. Thank you DoodleBop over on Discord for the help on this.
  • Disabled the auto show/hide of nav controls in the Output pane. It was buggy and resulted in sometimes hiding and not showing the nav controls until all output is rendered, disabled until it is properly fixed.
  • Disallow selecting a database file from disk except on SQLite connections

Sponsors ❀️

Thank you to my sponsors. Your support is greatly appreciated and helps keep this project growing!

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.5.1...v0.6.0