- Fixed bad packaging of previous version
- Linux support (#234)
- TLS settings updated (#216)
- Plugins:
Git
: AddedAddNew
parameter to allow adding new packages, created by the AU script (#239)Git
: ChangedBranch
parameter to create branch if it doesnt existHistory
: Changed so it looks into all branches for AU commit messages
Get-RemoteFiles
now considers$Latest.Options.Headers
- TLS settings updated (#216)
- Support ChocolateyPackageFolder environment variable (#255)
- Improved Powershell 7 compatibility (#208)
- Set the AU version to the last commit date (#217)
- GitLab: new plugin (#195)
- Gist: option for secret gist and Enterprise API
- GitReleases: Added a
Branch
parameter (#227)
Get-RemoteChecksum
: New parameterHeaders
- Plugins:
- New plugin: Gitter
- New plugin: Snippet
- Fixed header handling during request (#164)
- Push errors are not repeated or ignored on (#175)
- Few small changes and fixes
Update-Package
:- Now you can pass HTTP/HTTPS headers to
$Latest.Options.Headers
to avoidUnauthorized
errors while checking URLs. - Package Gallery URL is no longer hard-coded but taken from the
$au_GalleryUrl
if it exists (#95)
- Now you can pass HTTP/HTTPS headers to
Update-AUPackages
: AddedNoCheckChocoVersion
option.- Plugins:
Git
: AddedBranch
parameter to specify a branch nameMail
: AddedFrom
parameter to be used with mail servers that do not allow non-existent email addresses.
Gist
plugin: Security protocol is set according to updated Github requirements.Get-RemoteFiles
: Fixed wrong checksum type being set on 64bit url
Update-AuPackage
- New feature streams that extends
au_GetLatest
with option to return multiple HashTables (one for each stream). - New parameter
IncludeStream
to force update of specific stream.
- New feature streams that extends
au_BeforeUpdate
andau_AfterUpdate
now have parameterPackage
of type[AUPackage]
which you can use among other things to modify the Nuspec data.- Added new function
Set-DescriptionFromReadme
that is called automatically when README.md is present in the package folder (#85). See documentation. - Plugins:
- New plugin: GitReleases creates Github release on successifully pushed packages.
- Git: new parameter
Strategy
with options on how to commit repository changes - Report: symbols in markdown report to mark embedded and stream packages
Update-AUPackages
- New options to handle update.ps1 errors:
IgnoreOn
,RepeatOn
,RepeatCount
,RepeatSleep
. See documentation. (#76). - New option
WhatIf
option that will trigger WhatIf on all packages. - New AUPackage properties:
Ignored
(boolean) andIgnoreMessage
. - Report plugin:
IgnoreMessage
is added in the ignore section.
- New options to handle update.ps1 errors:
Update-AuPackage
- Added parameter
WhatIf
that will save and restore the package. See documentation. (#30) au_GetLatest
can now returnignore
to make package ignored in theupdateall
context.
- Added parameter
- Git plugin: package that changed
$Latest.PackageName
was not pushed when updated (#66).
Get-RemoteFiles
NoSuffix
switch to not add_x32
and/or_x64
suffix at the end of the file names.- Now also sets
ChecksumTypeXX
andFileNameXX
and acceptsAlgorithm
parameter.
- Fix ps1 files encoded in UTF8 without BOM being treated as ANSI.
- Fix chocolatey.org package check using wrong package name when overridden in update.ps1.
NOTE: License changed from MIT to GPL2.
- New function
Get-RemoteFiles
. See documentation. Update-Package
- Support newer TLS version support by setting the
SecurityProtocol
property ofServicePointManager
.
- Support newer TLS version support by setting the
- Posh 5 dependency removed for chocolatey package because it is not practical.
- Fix encoding of nuspec (UTF-8 NO BOM) and ps1 (UTF-8 BOM) files.
NOTE: Minimal PowerShell version required to run AU is now 5.0 instead of 4.0. This wont affect AppVeyor builds, but might affect local runs. Please update your local PowerShell version (cinst powershell
) if you run it locally.
- New function
Get-RemoteChecksum
that can be used instead of automatic checksum. Get-AuPackages
now accepts array of globs, for examplelsau 'cpu-z*','p*','copyq'
.Update-AUPackages
- New plugin
History
that creates markdown report of package updates grouped by dates. - Report plugin
- Added link to
packageSourceUrl
andprojectUrl
. - New parameter
Title
to change report title. - New parameters for markdown report -
IconSize
andNoIcons
. Icons are now shown by default.
- Added link to
- Plugins documentation updated.
Test-Package
: new parameterVagrantNoClear
that will not delete existing packages from the vagrant package directory.update.ps1
script can now return keyword ignore to causeudpateall
to not report it as an error in output.
- New plugin
Update-Package
au_GetLatest
can now force update by setting$global:au_Force = $true
.
- Refactoring code to use PowerShell 5 classes, functions now return
[AUPackage]
object.
Git
plugin bugfixes.- Small fixes and tweaks all around.
- Packages shouldn't drop from the results now no matter what happens with the
updateall
thread. $Latest.FileType
is not overwritten when its set in theau_GetLatest
.
Changes in au-packages-template:
- Added new script
test_all.ps1
to force test all desired packages and randomly test package groups. See wiki page setting up the force test for how to set this up on AppVeyor.
Update-Package
- It now automatically adds
$Latest.Filetype
based on the extension of the first URL it finds.
- It now automatically adds
- Added script
scripts\Install-AU.ps1
to install any AU version or branch using git tags.
Changes in au-packages-template:
- Added new AppVeyor commit command
[PUSH pkg1 ... pkgN]
to push any package to the community repository.
- Fixed missing temporary directory for package download ref.
Update-Package
- Show 'URL check' in output.
$global:au_Version
can now be used when update is forced to explicitly provide version.- Invalid version in the nuspec file doesn't throw error any more but uses version 0.0 with warning.
Update-AUPackages
- Added
BeforeEach
andAfterEach
scripts to Options. - New Option
UpdateTimeout
to limit update total execution time (#38). Git
plugin: only push files that are changed, not entire package content.
- Added
Test-Package
- New string parameter
Vagrant
and global variable$au_Vagrant
that contain path to the chocolatey test environment so you can test the package using the Vagrant system.
- New string parameter
- PowerShell documentation improved.
- Fixed frequent URL check timeout #35.
- AU updated nuspec file to UTF-8 with BOM #39.
- Checksum verification mode didn't work with updateall #36.
- Small fixes.
Changes in au-packages-template:
update_all.ps1
now acceptsForcedPackages
andRoot
parameters.- AppVeyor commit message parsing for AU options.
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.
- First PowerShell Gallery version.
- First PoC version.