Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 1.78 KB

changelog.md

File metadata and controls

21 lines (19 loc) · 1.78 KB

v1.2.1 (2024-05-11)

  • Added sinceVersion parameter to several endpoints (all require Switchblade 1.3.0):
    • switchblade.versions.list
    • switchblade.versions.getLatest: This endpoint now accepts an optional params argument which is a VersionSearchParams object
    • switchblade.versions.get: This endpoint now accepts an optional params argument which is a VersionSearchParams object
  • Fixed an issue where the VersionParams type had an authorId parameter instead of creatorId
  • Fixed an issue where the switchblade.versions.list endpoint accepted ShortcutSearchParams instead of VersionSearchParams (fixed issue in README as well)
  • Added missing params search and creatorId to VersionSearchParams and ShortcutSearchParams
  • Various dependency updates
  • Version 1.2.0 was published and then unpublished due to an npm packaging error that resulted in an empty package

v1.1.0 (2023-10-04)

  • Added switchblade.users namespace to support new endpoints available in Switchblade 1.2.0.
  • Added switchblade.autocomplete namespace to support new endpoints available in Switchblade 1.2.0.
  • Updated types to add creatorId on switchblade.users.get and switchblade.shortcuts.get for Switchblade 1.2.0.
  • Corrected an issue where undefined or null values could be sent as strings when used as query parameters.
  • Corrected an issue with the ShortcutParams type that could cause the name property to be marked as required when updating a shortcut. The name is not required when updating a shortcut, only during creation.
  • Corrected an issue with the VersionPatchParams type that could cause the url property to be marked as required when updating a version. The URL is not required when updating a version, only during creation.

v1.0.0 (2023-06-07)

  • Initial release