Title: Complete the SemanticVersion work · Issue #2983 · PowerShell/PowerShell · GitHub
Open Graph Title: Complete the SemanticVersion work · Issue #2983 · PowerShell/PowerShell
X Title: Complete the SemanticVersion work · Issue #2983 · PowerShell/PowerShell
Description: Support SemVer in #Requires (PowerShell version (-Version) as well as module version (-Modules)) Allows cmdlet parameters to consume SemVer instead of System.Version (argument transformation maybe?) Users can convert Semver to System.Ver...
Open Graph Description: Support SemVer in #Requires (PowerShell version (-Version) as well as module version (-Modules)) Allows cmdlet parameters to consume SemVer instead of System.Version (argument transformation maybe?...
X Description: Support SemVer in #Requires (PowerShell version (-Version) as well as module version (-Modules)) Allows cmdlet parameters to consume SemVer instead of System.Version (argument transformation maybe?...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/2983
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Complete the SemanticVersion work ","articleBody":"- [ ] Support SemVer in #Requires (PowerShell version (-Version) as well as module version (-Modules))\r\n- [ ] Allows cmdlet parameters to consume SemVer instead of System.Version (argument transformation maybe?)\r\n - [ ] Users can convert Semver to System.Version using that attribute before passing to the cmdlet parameter\r\n - [ ] Cmdlet author can mark the attribute on the parameter and users can pass Semver string\r\n\r\n=======================\r\n**User Experience:**\r\n- On disk, module versions presents - 1.0.0, 1.0.0-alpha17, 1.0.1 \r\n- Result:\r\n\r\n | Command | Expected Output | Comments |\r\n | -------------| ------------------ | -------------|\r\n | Import-Module -Version 1.0.2 | Error | Version is alias to min version |\r\n | Import-Module -MinimumVersion 1.0.0 | Module with version 1.0.1 should be loaded | |\r\n | Import-Module -Version 1.0.0-alpha15 | Module with version 1.0.1 should be loaded | |\r\n | Import-Module -Name | Module with version 1.0.1 should be loaded | Latest version of module should be loaded |\r\n | Import-Module -RequiredVersion 1.0.0 | Module with version 1.0.0 should be loaded | |\r\n\r\nNote that 1.0.0 is higher than 1.0.0-alpha17, so if 1.0.1 doesn't exist, then `Import-Module` would load 1.0.0.","author":{"url":"https://github.com/HemantMahawar","@type":"Person","name":"HemantMahawar"},"datePublished":"2017-01-09T23:28:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":45},"url":"https://github.com/2983/PowerShell/issues/2983"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ebfa9310-4f7e-733e-c56c-2c5da7af03dc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE06:3695F9:3F4181A:5999390:6A56CAA6 |
| html-safe-nonce | b1691b0f5db7898ba2aeae5d4771b96e9e046ecf84ed6627427329bc7332d7b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTA2OjM2OTVGOTozRjQxODFBOjU5OTkzOTA6NkE1NkNBQTYiLCJ2aXNpdG9yX2lkIjoiODAxNDMwNjYzOTkzNDMxMTA3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44694769e2dd30f07de71c1f8e1928de576cb83ea440234eb51ded159071be33 |
| hovercard-subject-tag | issue:199691920 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/2983/issue_layout |
| twitter:image | https://opengraph.githubassets.com/40951785cb0624806afc156ed9508a8dffc44dbe0fb9f17e858bb285aed28e52/PowerShell/PowerShell/issues/2983 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/40951785cb0624806afc156ed9508a8dffc44dbe0fb9f17e858bb285aed28e52/PowerShell/PowerShell/issues/2983 |
| og:image:alt | Support SemVer in #Requires (PowerShell version (-Version) as well as module version (-Modules)) Allows cmdlet parameters to consume SemVer instead of System.Version (argument transformation maybe?... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HemantMahawar |
| hostname | github.com |
| expected-hostname | github.com |
| None | df99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3146ab55fc8763ab0e1d2a875e600b3a545bc751 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width