Skip to content

Releases: tareqimbasher/NetPad

NetPad v0.3.1

17 Jun 11:46
Compare
Choose a tag to compare

If you like NetPad, please star the repo 🌟!

Preview 3.1

❗ [EDIT] June 26, 2023: The macOS ARM build was updated.

Previous binary had an issue where it would not open, and instead would hang on the splash screen indefinitely requiring user to force quit the app. Please use the latest macOS ARM binary.

If you get the error: NetPad is damaged and can't be opened. You should move it to the Trash:

image

open a terminal and do this:

sudo xattr -cr /path/to/NetPad.app

This occurs because NetPad is not signed; macOS will only allow signed apps or apps downloaded from the App Store to run.


This release mainly focused on adding native support for macOS ARM (Apple Silicon). New macOS ARM specific builds are now available!

What New πŸš€

  • A new setting was added for user to manually configure .NET SDK installation path. This can be found in Settings > General
    • This setting is optional. If this value is not set, NetPad will scan and try to locate the .NET SDK installation path.
  • An icon will show in the title bar when a new update is available instead of auto-opening the update dialog whenever a new update becomes available, which was a bit too intrusive.
  • New "Update" and "Add Database Connection" icons
  • Fixes .NET SDK auto-discovery on macOS ARM

Full Changelog: v0.3.0...v0.3.1

NetPad v0.3.0

13 May 22:53
Compare
Choose a tag to compare

If you like NetPad, please star the repo 🌟!

Preview 3

This is the third pre-release! This release focused on introducing features to enhance script results and related functionality. Please open an issue for any bugs or feature requests. Your feedback on issues or suggestions is greatly appreciated!

What's New πŸš€

Results

  • A new Format dropdown was added to the results view with the ability to expand and collapse results to specific levels
  • A new Export dropdown was also added to the results view that you can use to export results to Excel or HTML
  • Adds navigation controls in the results view to make it easier to scroll to the top of the large results element you're viewing, to the next or previous element, or to top or bottom of the results view.
  • Added support for Dumping more complex object types:
    • Tuples
    • 2-D arrays are now displayed as a 2-D table
    • DataTable
    • DataSet
    • XDocument, XElement, XNode...etc
    • XmlDocument, XmlNode...etc
    • Types that implement IFormattable are now represented as a string
  • Minor adjustments to results styling to make some things easier to read and focus on

Application

  • A new "Go to Script" feature to quickly and easily get to any script you have open or that you've saved to your library. This can be activated using Ctrl + T
  • You can now use Console.ReadLine() in a script to ask user for input
  • NetPad now auto-checks for updates on startup. You can disable this in Settings. It does not yet auto-install the latest update for you, but it notifies you as soon as a new version is released and gives you an easy button to click to download the latest version.

What's Next 🚧

There are a number of features we still need to make NetPad viable for as many developers as possible. For the next release however, focus will be on providing .NET 7 support and adding more database providers.

Full Changelog: v0.2.0...v0.3.0

NetPad v0.2.0

02 May 03:18
Compare
Choose a tag to compare

If you like NetPad, please star the repo 🌟!

Preview 2

This is the second pre-release! It brings a number of new features, some enhancements and fixes. Please open an issue for any bugs or feature requests.

What Changed πŸš€

  • A new main menu
  • The output pane can now be popped out into its own window
  • Added search in Clipboard pane
  • Tab order is now saved and restored between app restarts
  • You can now run a statement without using .Dump() or having it appended with a semi-colon
  • Brings the new tab/script button to be next to the last opened tab for easier accessibility
  • Show editor cursor position (line/column) in statusbar
  • Performance improvements including much faster app startup and memory usage optimizations

Fixes πŸ›

  • Fixed extra new lines being rendered when using Console.Write and Console.WriteLine
  • Fixed bug where right-clicking inactive tab and selecting Run does not work as expected
  • Fixed broken link to Monaco options documentation (#37)
  • Should fix upstream bug (#29)
  • Other minor fixes

Full Changelog: v0.1.1...v0.2.0

NetPad v0.1.1

19 Mar 18:06
Compare
Choose a tag to compare

If you like NetPad, please star the repo 🌟 !

Preview 1.1

This is a follow up to the first pre-release, with some new features and some enhancements and fixes. Please open an issue for any bugs or feature requests.

What's Changed πŸš€

  • Design changes
  • App checks to make sure app dependencies are met when NetPad runs and a new Quick Tips dialog
  • Table headers in output are sticky so they scroll with table body
  • Ability to use SaveChanges() and SaveChangesAsync() directly in script code without having to use DataContext.SaveChanges()
  • Don't ask user to save when closing a script that is empty (has no text)
  • Support for dumping more complex object types

Fixes πŸ›

  • Fixes colored SQL output
  • Fixes issue where switching tabs can cause slight delays
  • Various performance and stability fixes

Full Changelog: v0.1.0...v0.1.1

Initial Pre-Release - v0.1.0 (Preview 1)

12 Jan 23:32
Compare
Choose a tag to compare

This is the initial alpha pre-release of NetPad. After many sleepless nights, I'm happy to finally push this release.

Being an alpha release, it might be buggy. If you run into an issue please open a bug.

Requirements

  • .NET 6 SDK
  • (optional) .NET EF Core Tool (version 6+) to create and use database connections

Features πŸŽ‰

  • The basics:
    • Write, save and run your own scripts
    • Manage namespaces
    • Standard code editor features powered by Monaco editor
  • Dump complex objects to the results console
  • Add and use database connections (currently only supports Microsoft SQL Server and PostgreSQL)
  • Auto-save: If you close NetPad, it will auto-save your changes and
    restore them the next time you fire it up
  • Add NuGet packages
  • Reference assemblies from disk
  • OmniSharp integration:
    • CodeLens
    • Code completion (Intellisense)
    • Semantic highlighting
    • Hover for documentation
    • Format document
    • Go-to implementation
    • Find references
    • Action suggestions
    • Diagnostics

A thanks to contributors:

@ObaidaAlhaasan