Skip to content

psbluesky_v2.4.0

Choose a tag to compare

@jdhitsolutions jdhitsolutions released this 22 Jan 15:38
· 15 commits to main since this release

PSBluesky Changelog

v2.4.0 - 2025-01-22 10:35:58

Added

  • Added property DID to follower objects.
  • Added a script method called CreateHeader to the Bluesky session object (bskySession). This header can be used with the Bluesky API for custom testing or development.
  • Added commands Block-BskyUser and Unblock-BskyUser.
  • Added properties Viewer and Labels to profile objects including blocked user profiles.
  • Added a feature to create a log of API usage. Added properties bskyLoggingEnabled and bskyLogFile to the PSBluesky session object. The log is a JSON file of structured data. Logging is disabled by default on module import. Commands Disable-BskyLogging,Enable-BskyLogging,Get-BskyLogging,Set-BskyLogging and Remove-BskyLogging have been added to manage this feature.
  • Added properties isRead, Labels, and SeenAt toPSBlueSkyNotification object. [Issue #34]
  • Added an alias property of Username for AuthorHandle on output from Get-BskyNotification.

Changed

  • Revised the module manifest description.
  • Increased the refresh interval for the session runspace to 60 minutes. This should reduce the number of API calls. This is a potential breaking change,
  • Cleaned up code to ensure consistency with commands. References to an endpoint should all use the same variable, $apiUrl. Responses from the API should all use the $response variable.
  • Updated Get-BskyBlockedUser and the associated format file to show the date the account was blocked.
  • Help updates.
  • Updated README.md.