This repository has been archived by the owner on Oct 25, 2022. It is now read-only.
Releases: majkinetor/au
Releases · majkinetor/au
2016.12.17
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.
Bugfixes
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
.
CD
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.
2016.11.5
Update-Package
- It now automatically adds
$Latest.Filetype
based on the extension of the first URL it finds.
- It now automatically adds
CD
- 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.
Bugfixes
- Fixed missing temporary directory for package download ref.
2016.10.30
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.
Bugfixes
- 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.
CD
Changes in au-packages-template:
update_all.ps1
now acceptsForcedPackages
andRoot
parameters.- AppVeyor commit message parsing for AU options.
2016.9.25
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.
Changes
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.
Bugfixes
- Fixed bug due to the typo when pushing and sorting packages when executing
Update-AUPackages
.
CD
- New
./test.ps1
script that run some or all of the tests. - AU version environment variable added to
appveyor.yml
.
2016.9.21
Bugfixes
- Push was not working when package was updated.
2016.9.14.233253
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
Update-Packages
exception whenau_GetLatests
returned nothing.$Latest.Version
remains set to remote version when forcing update.
CD
- Build module script.
- Build chocolatey package script.
- Script to publish to Github, Chocolatey and PSGallery.
install.ps1
script to install/remove Powershell module in the current system.- AppVeyor automatic build.
2016.8.15
- Choco fix notation with Force parameter.
- ChecksumXX and ChecksumTypeXX hash keys can be provided in au_GetLatest.
- Force option in updateall
- Consider cached nuget api key
- Bugfixes
2016.8.13
- Fixed cpack collision with that of CMake
2016.8.12
- Fixes for choco version 0.10.0
2016.8.7
- Automatic checksum
- Raise errors on search pattern not found
- Bugfixes and small improvements