Skip to content

Releases: HubSpot/hubspot-local-dev-lib

v3.1.0

18 Dec 19:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.2...v3.1.0

v3.0.2

17 Dec 21:00
Compare
Choose a tag to compare

Changes

This release consists of minor changes to TypeScript types in the library

  • clientId and clientSecret fields added to auth in CLIAccount_NEW
  • new WarnLogsResponse and ProjectStandardError types exported from types/Projects
  • standardError field in PollAppResponse, SubbuildStatus, and SubdeployStatus types have been updated to use the ProjectStandardError type. They were previously not typed accurately.

Merged PRs

Full Changelog: v3.0.1...v3.0.2

v3.0.1

05 Dec 21:40
Compare
Choose a tag to compare

Changes

This release consists of minor changes to TypeScript types in the library

  • fetchFileFromRepository in api/github now allows for the specification of the expected return type via a generic type parameter
  • Type inaccuracies related to errors from getValidationResults endpoint fixed

Merged PRs

Full Changelog: v3.0.0...v3.0.1

v3.0.0

26 Nov 21:03
Compare
Choose a tag to compare

Commit diff

Changes

  • Breaking change: Mode has been renamed to CmsPublishMode. This causes breaking changes in a few places
    • The new and legacy config modules now use defaultCmsPublishMode when creating and writing to configs. They are backwards compatible with reading configs using the old defaultMode setting
    • All functions, constants, and types exported from the library that referenced mode in their name have been renamed accordingly
      • For example updateDefaultMode is now updateDefaultCmsPublishMode. The MODE constant is now CMS_PUBLISH_MODE
    • The CliConfiguration type has been updated to make cmsPublishMode of type CmsPublishMode rather than string. This restricts its values to “draft” and “publish”
  • Breaking type change: The return type for all api modules has been changed from AxiosPromise to HubSpotPromise. HubSpotPromise is essentially just a rename of AxiosPromise - the structure of the two types is identical. This change was made so libraries that use local-dev-lib could import the return type of API functions directly from the library itself, rather than having to add Axios as a dependency.

Merged PRs

Full Changelog: v2.3.0...v3.0.0

v2.0.1

04 Nov 17:42
6308eda
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

27 Sep 17:49
2d681ab
Compare
Choose a tag to compare
v2.0.0 Pre-release
Pre-release

What's Changed

Full Changelog: v1.13.1...v2.0.0

v1.13.0

09 Sep 15:32
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.12.0...v1.13.0

v1.9.1

31 Jul 16:17
Compare
Choose a tag to compare

What's Changed

  • Allow asking for full response from http methods by @bmatto in #163
  • Add API function to get public app install counts without delay by @camden11 in #164

Full Changelog: v1.9.0...v1.9.1

v1.9.0

31 Jul 16:17
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.8.0...v1.9.0