Skip to content

0.4.0

Choose a tag to compare

@Sekers Sekers released this 22 Jan 19:10
8995e0f

Latest Changelog: https://github.com/Sekers/SKYAPI/blob/master/CHANGELOG.md

Fixes

  • Resolved bug in PS Core (PS Desktop was fine) when calling Get-SchoolScheduleMeeting if one of the 30-day iterations comes back empty.

Features

  • Sample script for Google Faculty Calendar Imports now supports meeting exclusions.

  • Improved error handling. Some errors that can often be transient now retry using an exponential backoff rather than just retrying up to 5 times with a 5-second delay in-between. This should reduce how often scripts fail by increasing the retry count from 5 to 7 and increasing the max wait time from the first try to the last retry from 20 seconds to just over 5 minutes. The exponential backoff delay is as follows (in seconds):

    Failure Count Wait Time Before Next Retry Total Wait Time
    1 5 5
    2 10 15
    3 20 35
    4 40 75
    5 80 155
    6 160 315
    7 n/a (throws error) 315

Other

  • Disabled progress bar in function scope when calling Invoke-WebRequest or Invoke-RestMethod. This improves performance due to a bug in some versions of PowerShell. It was eventually fixed in Core (v6.0.0-alpha.13) but still is around in Desktop. More Information: PowerShell/PowerShell#2640
  • Removed the unimplemented 'MiniHTTPServer' alternate method of capturing authentication as this would be overkill and is unnecessary.
  • Removed the 'LegacyIEControl' alternate method of capturing authentication as it is no longer supported by Blackbaud.

Full Changelog: 0.3.11...0.4.0