Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NetPad v0.8.0 #266

Oct 1, 2024 · 2 comments · 2 replies
Discussion options

If you like NetPad, please star the repo 🌟!

What's New 🚀

New Database Connection Providers

You can now add MySQL and MariaDB connections in NetPad. Special thanks to @SimonNyvall!

A Native Shell (vNext Preview)

This update introduces a new native shell built using Tauri, a Rust-based framework, that greatly reduces memory usage, startup time, and app size!

The new shell substitutes the Electron.js shell NetPad has been using so far. You will find new installers available that use the new native shell with names starting with netpad_vnext. Electron shell installers are still available, and will continue being distributed until things are stable with vNext. Both versions of NetPad can be installed and run side-by-side. It would be really helpful if you could please provide your feedback in an issue (if you're having trouble), in this discussion or on Discord.

If you'd like to read more about this change, take a look at this issue. Here are some stats:

App Size

Metric Electron (MB) Tauri (MB) % Reduction
Shell Size 251 13.6 94.58
.NET App Size 192 103 46.35
Installer Size (.deb) 125 43 65.60
Installed Size (.deb) 443 111 74.94

Memory Usage

Metric Electron (MB) Tauri (MB) % Reduction
Shell 230 34 85.22
.NET App 110 110 --
OmniSharp 104 104 --
Total 444 248 44.14

Known Limitations with vNext

  • If you have your NetPad settings configured to use the native titlebar instead of the integrated one, menu auto-hide does not work yet (not an issue on macOS).
  • The main window does not currently remember its previous position and size when you close and restart NetPad.
  • The Electron version of NetPad will show you a desktop notification when a script finishes execution and NetPad is in the background. vNext currently does not.
  • Some Linux installers are not yet available for vNext, namely: pacman, flatpak and snap
  • If you're on Linux and when you launch the app you get an empty window, try disabling DMABUF: export WEBKIT_DISABLE_DMABUF_RENDERER=1. This is an upstream bug with NVIDIA proprietary drivers on some installations. If that doesn't work, try one of these instead:
    • WEBKIT_DISABLE_COMPOSITING_MODE=1
    • __NV_PRIME_RENDER_OFFLOAD=1

Fixes for some or all of the above will be included in the next release.

Others

  • Removed .NET 6 dependency: having a .NET 6 runtime or SDK installed is no longer required.
  • If you want to use .NET 9 in your scripts you will need .NET 9 Preview 3 SDK or later installed.
  • Improvements to data connection scaffolding.
  • New scripts will use the latest stable .NET SDK. Previously the latest SDK was auto-selected regardless if it was stable or preview.
  • New script names will use the next highest available number. Example: if you have "Script 1" and "Script 3" open, creating a new script will give it the name "Script 4". Before it was named "Script 2" which was confusing.
  • Update OmniSharp Server to v1.39.12.
  • More details are shown about errors that occur during scaffolding database connections.
  • Minor styling changes:
    • The Production marker in the connections list is right aligned and is now just the letter P.
    • Fixed weird line at the top of the app logo.

Fixes 🐛

Coming Soon 🏁

We're currently working on fulfilling requests from the issue tracker as well as a few new features:

  • A new CLI tool that you can use to run C# scripts from the command line.
  • Faster database queries.

Support ❤️

If you're enjoying NetPad and would like to support open-source, please consider sponsoring the project, it really helps! Also don't forget to star the repo if you haven't already, thank you!

A special thanks to my current sponsors. Your support is greatly appreciated and helps keep this project growing!

pelsedyr ChristopherHaws jdonohoo lpreiner mattjcowan

Full Changelog: v0.7.2...v0.8.0

You must be logged in to vote

Replies: 2 comments 2 replies

Comment options

vNext backend not booting (after 30150ms) on mac m2 but the default v0.8.0 does work

You must be logged in to vote
0 replies
Comment options

For me both arm images / zip don't work on my MB air M2 - in both cases it says "is damaged and should be moved to the bin" :(

You must be logged in to vote
2 replies
Comment options

tareqimbasher Dec 7, 2024
Maintainer Author

NetPad is not signed, so on macOS will say that when you try to run an unsigned app. See this: https://github.com/tareqimbasher/NetPad/wiki/Troubleshooting#netpad-is-damaged-and-cant-be-opened

Comment options

Yup that helps, thx. Bear in mind I have the same issue as @jwallet - the vnext version does not work for me. Same processor, Apple silicon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /