Skip to content

Passenger 0.4.5

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 20:28
· 44 commits to main since this release

Passenger 0.4.5 keeps your packages to the versions you chose and your stashes where you left them. The NuGet window offers only the updates a reference's version range allows, so a [14.0.0] pin stays put and 10.* stays on 10, and its Updates tab can list your own references apart from the packages they bring in. A double-click on a stash now shows what it holds instead of popping it. Quick Fix adds EF Core's using for FirstOrDefaultAsync and the rest of its async queries, the cards over your code can be selected and copied, a library's launch profiles run, XAML Preview reaches more WPF projects, Next Tab and Previous Tab switch the Terminal's shells, and on Windows Stop ends an npm script's dev server with it and git is found where you installed it for yourself alone, as Scoop does. It is still free and open source under MIT, and everything it closed is in its 0.4.5 milestone.

Highlights

  • NuGet keeps to your version ranges (#2240): a pinned [14.0.0] is offered nothing newer and 10.* only 10.x, and a newer version a range keeps out is tagged "held back", saying why. An update keeps a pin a pin and a floating version as you wrote it.
  • Updates of your own references alone (#2243): the Updates tab's Sort and Filter lists your projects' own references, or only the packages they bring in, and Update All takes only what the filter shows. A fix for a vulnerable version always shows.
  • A stash opens on a double-click, never pops (#2239): Enter or a double-click in Unstash Changes lists the stash's files in the Git window, each beside your working tree's. Nothing is applied, and only Pop puts it back.
  • EF Core's using from Quick Fix (#2266): FirstOrDefaultAsync, ToListAsync, CountAsync, AnyAsync and EF Core's other async queries on an IQueryable are offered using Microsoft.EntityFrameworkCore;, as any missing name is, where .NET 10's own AsyncEnumerable hid the fix.
  • Copy from the cards over your code (#2259): an error's card, a symbol's, Parameter Info and a completion item's documentation stay as the pointer moves onto them, and their words can be selected and copied.
  • A library's launch profiles run (#2223): a library project's profile that starts a program, such as a host that loads it, is a run configuration you can run and debug like any other.
  • XAML Preview for more WPF projects (#2251): a project on a drive another Windows account owns previews where it was greyed, and a WPF app built for x86 previews on 32-bit .NET.
  • Git found on Windows wherever you installed it (#2265): git, and every program Passenger runs by name, is found on your own Path even when Passenger was started without it on its PATH, as happens just after a Scoop install.
  • Stop ends a dev server on Windows (#2201): Stop and Rerun of an npm script in the Run window end the dev server it started, so ng serve no longer stays on its port and fails the next run with "Port 4200 is already in use".

NuGet

  • The newest version your range allows (#2240): each project moves to the newest version all its references take, a package's details choose that version for you, and an update outside the range says so on hover. An interval moves on from the version you take ([1.1.0, 2.0.0)), and a floating version restores to its newest.
  • Update All, as filtered (#2240, #2243): it updates what the filters and the project chosen in Used By leave, skips a reference a version falls outside of, and says when nothing is left. A vulnerability fix for a package you get through another is tagged as one, saying what brings it in.

The editor and the Terminal

  • Cards you can work in (#2259): a card stays while the pointer, the keys or its menu are on it. Cmd+C (Ctrl+C) or the right-click Copy copies what you selected, and Escape closes it and gives the editor its keys back. Copy and Select All in a Markdown preview or a value in Details now act on that text too.
  • Tabs where the keys are (#2262): Next Tab and Previous Tab, with your keymap's keys (Cmd+Shift+] and Cmd+Shift+[ on a Mac), switch the Terminal's shells while it has the keys, a tool window's tabs (Problems, Find, Git, NuGet and the rest) while it does, and the editor's tabs everywhere else.

Git and diffs

  • See a stash before you pop it (#2239): its tab, "Compare stash@{0} and Working Tree", lists the files it changed, the ones it renamed and the untracked files it put away, each opening as the stash has it beside your own.
  • A new file reads as new (#2258): its diff says "New file" on the side that had none and marks every line as added, in the diff window and in a diff tab alike. A deleted file's diff says "Deleted file" the same way.

Running and previews

  • An npm script ends whole (#2201): npm runs a script through cmd.exe on Windows, and Stop and Rerun now end everything under it, the dev server too, where the server outlived the script and held its port until you ended it by hand.
  • Libraries with launch profiles (#2223): Run and Debug build the library and start the program its profile names (commandName: Executable), with its arguments and folder, and the profile shows its run mark in launchSettings.json and in Edit Configurations.
  • XAML Preview, found and loaded (#2251): on a drive kept from an earlier Windows install or from another PC, a XAML file gets its project's preview, completion and checks, and an x86 WPF app's preview names the .NET runtime to install for x86 where it's missing.

Fixed

C# completion

  • A ( typed after a method completion steps over its brackets (#2235), as ) does, where typing them by habit doubled them into (()); GDScript's calls too.
  • An extension method from a namespace not yet imported is listed as you type its name (#2237), a package's on a chained builder among them, even before C# has finished indexing your references.

Aspire

  • The dashboard's console logs have no stray empty lines (#2254): a service Passenger starts for an AppHost sends its output a line at a time, as aspire run does, so no empty line follows each write and no line shows broken in two.

Running and debugging

  • Stop ends what a debugged program started: Stop in the Debug window, and Debug started again in its place, now end the program's children too, as Run's Stop does, on every system, where a worker it started or an app's dev server ran on, holding its port, until Passenger closed.
  • An evaluation at a stop no longer hangs on Windows when the runtime had just started a thread (#2073), as an expression's first use of Console once waited there for good.
  • An evaluation in a parallel loop no longer waits on a worker the runtime is still setting up (#2271): such a thread is let run on until it reaches the program's code, the likely cause of a breakpoint's condition in a parallel loop once stopping as if it could not be told.
  • Passenger's own words in a console start a line of their own: Hot Reload's outcome, how a run ended or why it could not start no longer join the end of a line a program has not finished, as when an update paused a service halfway through a line.

The window

  • The Containers and Requests windows have icons of their own (#2264), no longer NuGet's and Endpoints', and the checked-out branch's mark in the Git window's branches stands out in every theme, its row chosen too, where in some themes it was the faintest in the list.

Vim mode

  • More visual is and as as Vim leaves them (more of #2224): from an empty line between paragraphs or ending the text, from the white after a sentence, carried back over a line's end, over white at the text's end, and with a count over lines of blanks alone, they take the stretch Vim 9.2 takes, held to Vim's own answers over tens of thousands of cases.
  • A block's A after . (#2256): once . repeats a characterwise or linewise visual operator, a visual block's A appends at the column Vim's does.

Thank you

To Davide Caruso, whose four reports and requests shaped NuGet's updates, the stash list and completion (#2240, #2243, #2239, #2237); to Konstantinos Zagoris for a careful diagnosis of git on Windows (#2265) Angius for a minimal repro of Aspire's logs (#2254) and Alwaleed Ahmed for Angular's dev server left on its port (#2201); and to Konstantin Filyurin, Sandra, Alex Raykov, 小笨娇, John Tsombakos and Rick Mann, whose reports and requests made this release (#2266, #2264, #2259, #2262, #2258, #2251, #2235, #2223).