Skip to content

Release v0.0.5

Compare
Choose a tag to compare
@Zhaopudark Zhaopudark released this 19 Nov 12:46
· 138 commits to main since this release
34511fd

Release v0.0.5

Release v0.0.5-stable

  • Fix some documentation problems.
  • Now the 2 classes, EnvPath and FormattedFileSystemPath, are moved to be public APIs, along with their getting functions, Get-EnvPath and Get-FormattedFileSystemPath.
    • But for usage, only the getting functions are recommended.
    • Because these 2 classes are not able to be used directly by the syntax [class_name] in PowerShell, since the mechanism in Using and Classes.
  • Fix installation bugs on WSL2.
  • Now the public APIs, Set-DirSymbolicLinkWithSync and Set-FileSymbolicLinkWithSync, can also be used on non-Windows platforms.

Release v0.0.5-beta0

  • Use rotation logs to prevent files from becoming too large.

    • Now, if the log file is larger than 10MB, a new log file will be generated with the identifier .<index>..
    • Allows to keep up to 9 older log files in addition to the latest log file.
  • Add public API functions Register-ProgramIntoTaskScheduler and Register-PwshCommandsAsRepetedSchedulerTask to register tasks into task scheduler.

    • It can help users to register many repeted tasks, such as DDNS, Auto-Backup, etc.
  • Simplify the DDNS part of Examples/README.md with the new APIs.

  • Add public API functions Get-TempPath, Get-SelfInstallDir, Get-SelfBuildDir.

  • Change and fix the tmp path, which is used across this module, to the system's default temp path by Get-TempPath.

    • Now, in Windows, the tmp path used across this module is $Env:TEMP by default, instead of C:\temp\ as before.
  • Tweak the organization of public and private APIs for simplification.