Граф коммитов

85 Коммитов

Автор SHA1 Сообщение Дата
NoriZC 617ff6efe7
Upgrade Az version to 11.0.0 (#124)
* Support Az 11.0.0

* Polish changelog to highlight the major release alignment with Az.
2023-11-16 14:15:49 +08:00
Yabo Hu a89f1c86cb
Fixed bug when using `Find-AzUpgradeCommandReference -DirectoryPath` #[121] (#122)
* bugfix

* fix

* fix test

* upgrade version
2023-11-15 14:44:34 +08:00
Yabo Hu 26e0b28588
Update README.md (#120)
* Update README.md

pictures invalid and no reason to point them to this page iteself

* update links
2023-09-28 16:07:29 +08:00
Yabo Hu 39dcbab092
upgrade az version to 10, remove fixed version number in extension, breaking changes in cmdlet API (#118)
* upgrade to Az 10.X

* fix more

* fix test

* polish version

* polish changelog

* fix vscode extension

* polish how-to

* resolve path ro absolute

* update package-lock

* polish changelog

* psd1 as well

* better error handling

* add comments for version compare function

* bump major version

* delete preview announcement since module is already GAed
2023-09-27 15:53:09 +08:00
Dingmeng Xue 887a09905c
Update module spec to Az 9.3.0 (#106)
* Upgrade cmdlet spec to Az 8.0.0

* update changelog

* Update psd1 for 1.1.3 release

* Update module spec to Az 9.3.0
2023-01-15 21:36:25 +08:00
Yan Xu 8b263fdace Update sign-package.yml for Azure Pipelines, update agent pool 2022-08-30 17:02:39 +08:00
Yan Xu 7acd852683 Update security-scan.yml for Azure Pipelines, update agent pool 2022-08-30 16:43:43 +08:00
Yan Xu daf7279a64 Update vscode-extension.yml for Azure Pipelines, update agent pool 2022-08-30 16:36:02 +08:00
Dingmeng Xue ab317db70d
Update psd1 for 1.1.3 release (#105)
* Upgrade cmdlet spec to Az 8.0.0

* update changelog

* Update psd1 for 1.1.3 release
2022-06-07 11:27:23 +08:00
Dingmeng Xue fdec6903b7
Upgrade cmdlet spec to Az 8.0.0 (#104)
* Upgrade cmdlet spec to Az 8.0.0

* update changelog
2022-06-07 07:57:22 +08:00
dependabot[bot] 9fd4950d35
Bump minimist from 1.2.5 to 1.2.6 in /vscode-extension (#102)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 15:17:44 +08:00
Yeming Liu a3c517631f
Set up basic CI for vscode extension (#96)
* Set up CI with Azure Pipelines

[skip ci]

* Update vscode-extension.yml

* error out if exit code != 0

* Update vscode-extension.yml

* Update vscode-extension.yml
2021-09-01 15:01:59 +08:00
Alex-Sol 6e265724aa
refactor: delete server code and refactor migration extension (#94)
* refactor: delete server code and initialize extension

* feat: add core feature of migration

style : add Copyright

feat:check for existence powershell and migration module

feat: add settings.ts and utils.ts

feat: use node-powershell to maintain one powershell process

fix : try/catch error

fix: module error(node-powershell)

feat: add  the command of version 0.1.0

fix: convert activationEvents to onLanguage

fix : error when node-powershell can't find the module command

feat: run the extension only when the file language is powershell

refact: the diagnostic part

docs: update the version

fix: check module existence error

feat: get the environment variable(PsModulePath) through process.env.xxx

fix: revert the 'through process instead of node-powershell when node-powershell fails' because of the last commit has made this impossible

feat: add information of diagnostic number

feat: dong't update diagnostics when the analyzation result is empty

fix: click multiple files quickly.

feat: transfer the showInformationMessage to log

feat: add Linux or MacOS getSystemModulePath

docs: add some annotation

style: update the license and version

fix

style: release final

* fix:eslint error and some unused file

* style: tab to space

* docs: update CHANGELOG.md

* docs: Update vscode-extension/README.md

Co-authored-by: Yeming Liu <11371776+isra-fel@users.noreply.github.com>

* style: Add documents for important functions

* style: group some logic to small function

* code format

* feat: add plan type

* feat: rename classes.ts

* docs: readme capture

* fix: migration.ts

* fix :eslint and type of node-powershell

* fix: eslint

Co-authored-by: Zeng Li <t-zengli@microsoft.com>
Co-authored-by: Yeming Liu <11371776+isra-fel@users.noreply.github.com>
2021-08-31 15:44:58 +08:00
Alex-Sol 7ddc0e0766
refactor: delete server code and initialize extension (#95)
Co-authored-by: Zeng Li <t-zengli@microsoft.com>
2021-08-18 12:13:02 +08:00
Yunchi Wang 0b2e63e4be
Fix the issue that Az version is miss matched with Az.Tools.Migration (#93)
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2021-07-29 16:03:28 +08:00
Dingmeng Xue 3516ce02a9
Support Az 6.1 (#92) 2021-06-24 00:35:05 +08:00
dependabot[bot] b1fba7ab19
Bump glob-parent from 5.1.1 to 5.1.2 in /vscode-extension (#91)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-22 15:17:28 +08:00
Yunchi Wang 78d1820865
Update packages to fix CVE-2021-23337 (#87)
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2021-05-12 14:50:31 +08:00
Yeming Liu d705be7051
fix 2 vulnerabilities introduced by y18n@4.0.0 (#84) 2021-04-09 13:52:58 +08:00
Keith Babinec e965f36ba5
Fixed bug in Invoke-AzUpgradeModulePlan dynamic parameter handling (#82)
* Bug fix for dynamic parameter detection

* Bumped version
2021-03-03 11:21:21 +08:00
Dingmeng Xue 0b3354a61e
Clear Nuget.Config (#80) 2021-03-01 15:45:19 +08:00
Dingmeng Xue 2534b42e95
Upgrade spec to 5.6.0 (#79) 2021-02-26 23:37:55 +08:00
Keith Babinec 0d58b452b3
Changlog updates for recent fixes (#78) 2021-02-22 21:41:44 -08:00
Dingmeng Xue 7f4c648284
Upgrade Az version to 5.5.0 (#77) 2021-02-22 08:57:41 -08:00
Damien Caro 93e401c8bf
Added getting started with PowerShell module (#76)
* Added getting started with PowerShell module

* Changed bullet list number
2021-02-22 15:34:53 +08:00
Keith Babinec f1e26bb7a8
Improved handling for cmdlets with dynamic parameters (#75)
* Spec generation updates

* Bugfix: new-azcmdlet spec issue handling minimumVersion imports in Az.psm1

* Updated Az 5.2.0 module spec to include Dynamic params flag

* Implemented dynamic params warning and unit tests

* Added test script examples for dynamic params

Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
2021-01-31 09:20:26 +08:00
Keith Babinec a8287e592b
Bugfix #73: Object member hashtable scan fix (#74) 2021-01-26 14:43:04 +08:00
Keith Babinec bf8b6c992c
Updated docs to remove warnings about splatting support (#71) 2020-12-28 14:15:18 +08:00
Dingmeng Xue e066360054
1.0.0 release (#70) 2020-12-25 16:39:16 +08:00
Dingmeng Xue 23f6a390f6
Update spec to support Az 5.2 (#69) 2020-12-24 15:46:43 +08:00
Keith Babinec 69d88f7dca
Add support for detecting and updating splatted parameters (#68)
* Splatted parameter support (part 1)

* Added unit test support for splatted parameter detection

* Fixed failing unit test from missing property

* Added splatted parameter example scripts

* Removed warnings for splatted parameter detection

* Added matched az upgraded sample scripts

* Fixed off-by-one bug and updated unit tests

* Added support for splatting with ordered hashtable
2020-12-14 17:50:15 +08:00
ChenleiYang f0f367f33e
Fix issue #62 to show the correct status of the PowerShell console (#67)
* Add GetVersionHandler to language server

* update .vscodeignore

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
2020-10-16 21:17:26 +08:00
Keith Babinec ad3f142807
Updated Az upgrade target from 4.6.1 to 4.8.0 (#64)
* Updated Az upgrade target to 4.7.0

* Fixed typo

* Updated Az spec to 4.8.0

* Updated spec unit test expected command counts
2020-10-16 16:37:34 +08:00
Yunchi Wang f11067728a
Fixed some issues. (#63)
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-23 10:59:05 +08:00
ChenleiYang 06be2b9411
hide ReadyToUpgradeCmdletParameter cause we couldn't auto fix it (#61) 2020-09-22 17:46:59 +08:00
Yunchi Wang b6932226dd
Remove useless files. (#60)
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-21 15:54:39 +08:00
ChenleiYang e25621fb14
Add usage to vscode extension's README.md (#59)
* Add some document stuff.

* Remove .github folder.

* add usage to readme

Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-21 15:41:43 +08:00
Yunchi Wang 205c820b0f
Remove github folder (#58)
* Add some document stuff.

* Remove .github folder.

Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-21 13:38:08 +08:00
Yunchi Wang 9272fe298f
Add some document stuff. (#56)
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-18 11:51:30 -07:00
dependabot[bot] afe3496ee4
Bump node-fetch from 2.6.0 to 2.6.1 in /vscode-extension (#54)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
2020-09-18 23:21:24 +08:00
Dingmeng Xue 589fbdd7d7
Sign third party assemblies (#55) 2020-09-18 23:19:14 +08:00
Damien Caro 67aaa8fb0e
Added issue template for issues (#53)
Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
2020-09-18 17:26:56 +08:00
ChenleiYang ab08460377
Restructure source code folder for release (#48)
* merge extension folder with its parent folder for the following package operation

* change some information prepare for release

* update .gitignore cause now .vscode under vscode-extension folder is neccessary

* add LICENSE

* update changelog, readme and tsconfig

* Add logo

* update log path and project path

* Update CHANGELOG.md

* Update package.json

* Update AnalysisService.cs

Co-authored-by: dingmeng-xue <dixue@microsoft.com>
2020-09-18 17:22:33 +08:00
Dingmeng Xue 3fff599a9c
Sign third party assemblies (#50) 2020-09-16 23:52:01 +08:00
Keith Babinec 516c92a4bf
Add 'save to new files' feature support (#49)
* Added save-to-new-files support

* Implementation bug fix; updated docs

* Updated quickstart to remove Find command and add notes around fileEditMode

* More doc updates for editMode

Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
2020-09-15 23:31:48 -07:00
dingmeng-xue 282863d1c5 Rename extension name according to official id 2020-09-15 19:19:49 +08:00
ChenleiYang 8b38ed9460
Add stable path to store temp file and add two new function to manage the temp file (#43)
* add function GetTempFilePath and CleanTempFile to generate and delete temp file

* change temp file path and repalce string opration with Path.Combine

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
2020-09-15 10:54:58 +08:00
ChenleiYang 27b592dfe4
Remove cmdlet specs and useless handlers in VS code extension's language server (#42)
* delete module-spec in extension

* delete useless handlers

* delete some annotated line in extension.ts

* add azureRmVersion and azVersion variables and update azVersion 4.6.1

* delete outdated extension source file

* remove useless command in vscode extension
2020-09-15 09:55:50 +08:00
Mike F. Robbins cd4088ef64
Updated docs for pwsh and markdown standardization (#46)
Co-authored-by: Mike F. Robbins <mikefrobbins@users.noreply.github.com>
2020-09-11 13:30:58 -07:00
Mike F. Robbins 27157461fb
Fixes #37 - Updated readme (#45)
* Fixes #37 - Updated readme

Co-authored-by: Mike F. Robbins <mikefrobbins@users.noreply.github.com>
2020-09-11 11:54:57 -07:00