WhatIf
parameter (#30).
Update-Package
uses last returned value ofau_GetLatest
instead of everything (#28).Test-Package
new optionParameters
to support testing packages with custom parameters.
Test-Package
- Uninstall test fixed.Git
plugin error - A positional parameter cannot be found error fixed (#31).- Small fixes.
NOTE: This update breaks compatibility with existing update_all.ps1
scripts - parameter Options
is now of the type ordered HashTable ( [ordered]@{...}
). This is the only required change for the script
to continue working and behave the same as before, however, other things are required in order to fully use AU features:
- Remove the user scripts
Save-XXX.ps1
as improved versions now come with AU (plugins). - Take a look at the update_all.ps1 to see how plugins are used and setup. Migrate current custom options to the new style. See plugins section for details.
Take a look at the working example and plugin wiki page.
Update-Package
- Support for Semantic Versioning #21.
Test-Package
- Optional parameter Nu to test package from the .nupkg, .nuspec or directory.
- Test chocolatey uninstaller.
- Refactoring.
- Installer improvements.
Update-AUPackages
- Plugin system with the following default plugins included:
RunInfo
- Save run info to the CliXml file and exclude sensitive information.Report
- Saves run info as a report file via included templates (currently markdown and text).Gist
- Save files as anonymous or user gists.Git
- Commits package changes to the git repository.Mail
- Send mail with attachments.
- New parameter
NoPlugins
(by default$Env:au_NoPlugins
to disable all plugins. - New option parameter
PluginPath
to specify additional path where plugins are located. - Output now shows if Push and Force options are used.
- Plugin system with the following default plugins included:
- Created au-packages-template to quick start AU.
- Documentation is rewritten and wiki created.
- Fixed bug due to the typo when pushing and sorting packages when executing
Update-AUPackages
.
- New
./test.ps1
script that run some or all of the tests. - AU version environment variable added to
appveyor.yml
.
- Push was not working when package was updated.
Update-Package
- New alias
lsau
. - Return an object of type
AUPackage
instead of text. - New parameters
NoHostOutput
to not show anyWrite-Host
output.Result
to hold the name of the global output variable.- Verbose parameter.
NuspecVersion
added to the$Latest
HashTable.- Pester tests.
- run standalone,
update
in the package directory calls./update.ps1
.
- New alias
README.md
made available viaman about_au
.- Consider global variable
$au_root
when looking for AU packages. - Optimization and refactoring.
- Bugfixes
- Build module script.
- Build chocolatey package script.
- Publish to Github, Chocolatey and PSGallery.
install.ps1
script to install/remove Powershell module in the current system.- AppVeyor automatic build.
- Use Chocoloatey fix notation with
Force
parameter. - Checksum verification using
ChecksumType32
andChecksumType64
whenChecksum32
orChecksum64
are present in the$Latest
HashTable. PackageName
added to the $Latest HashTable by the framework.- Use chocolatey cached nuget API key when all other methods fail.
- Multiple updates happening at the same time lead to issues with the fix-choco method.
- Copy fails if 'extensions' directory doesn't exist.
- Fixed
cpack
name collision with that of CMake.
- Support for Chocoloatey version 0.10.0.
- Automatic checksum.
- Raise errors on search pattern not found.
- Bugfixes and small improvements.