Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Fixed

  • Get-RedditSubredditPost without -Sort now uses the documented default (Top, last day); it used to request New.
  • The built module in src/Artifacts (and the CI ZIP archive) exported only Get-RedditSubredditPost, because of a stray Export-ModuleMember in that function's file.

Changed

  • The two post commands share one private request helper, so the module is about half the size; the User-Agent now carries the module version.
  • -DebugApi reports the HTTP status and Reddit's error body for a failed request.

Added

  • Unit tests for every public and private function (coverage floor raised from 30% to 90%), and a build check that the built module exports what the manifest lists.
  • Integration tests now report as skipped, not passed, when Reddit credentials are missing.
  • Live integration tests no longer depend on a small subreddit having posts in the last day, and the user Top test runs again (it was skipped on a false "known issue": the account it used returns an empty all-time Top listing).

0.0.1

Added

  • Initial release.