Repository navigation
New-TemporaryFile should throw terminating error #4634
Copy link
Copy link
Closed
Labels
Breaking-Changebreaking change that may affect usersbreaking change that may affect usersHacktoberfestPotential candidate to participate in HacktoberfestPotential candidate to participate in HacktoberfestResolution-FixedThe issue is fixed.The issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues
Description
Activity
- changed the title
[-]New-Temporary should throw terminating error[/-][+]New-TemporaryFile should throw terminating error[/+]on Aug 21, 2017 - addedBreaking-Changebreaking change that may affect usersbreaking change that may affect usersUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributors
on Aug 21, 2017 - addedHacktoberfestPotential candidate to participate in HacktoberfestPotential candidate to participate in Hacktoberfest
on Sep 30, 2017 Is there any clarity/decision taken on this now?
bergmeister commented
on Feb 4, 2018 ContributorAuthorMore actionsIt was originally pending on PR 4612 that is still open but not active any more (due to the team being more busy before the release I did not want to push back on this minor item and PR before the release).
Can you please describe why this is important to you so that we can understand the situation?I opened https://github.com/dotnet/corefx/issues/24001 to get the API in CoreFX.
- added a commit that references this issue
on Feb 22, 2018 - added a commit that references this issue
on Apr 24, 2018 - addedWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issuesand removed
on Jul 17, 2026 - added a commit that references this issue
on Aug 6, 2026
Metadata
Metadata
Assignees
Labels
Breaking-Changebreaking change that may affect usersbreaking change that may affect usersHacktoberfestPotential candidate to participate in HacktoberfestPotential candidate to participate in HacktoberfestResolution-FixedThe issue is fixed.The issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues
As part of PR 4612, it was discussed here that New-TemporaryFile should throw a terminating error (instead of a non-terminating one). Everyone was clear on the expected behaviour but the issue is that this change would be a breaking change in behaviour.