Releases: HubSpot/hubspot-local-dev-lib
Releases · HubSpot/hubspot-local-dev-lib
v3.1.0
What's Changed
- Add error case in deprecated config by @kemmerle in #222
- Fix auth type for deprecated config by @brandenrodgers in #223
- feat: Update uploadProject method to support IR. Optimize walk method by @joe-yeager in #219
Full Changelog: v3.0.2...v3.1.0
v3.0.2
Changes
This release consists of minor changes to TypeScript types in the library
clientId
andclientSecret
fields added toauth
inCLIAccount_NEW
- new
WarnLogsResponse
andProjectStandardError
types exported fromtypes/Projects
standardError
field inPollAppResponse
,SubbuildStatus
, andSubdeployStatus
types have been updated to use theProjectStandardError
type. They were previously not typed accurately.
Merged PRs
- Chore: Fixing type for the auth field in the config by @brandenrodgers in #220
- Chore: update project types by @camden11 in #221
Full Changelog: v3.0.1...v3.0.2
v3.0.1
Changes
This release consists of minor changes to TypeScript types in the library
fetchFileFromRepository
inapi/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
- chore: Update validation types by @camden11 in #218
- chore: Refactor types for fetching GitHub content by @kemmerle in #217
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Changes
- Breaking change:
Mode
has been renamed toCmsPublishMode
. 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 olddefaultMode
setting - All functions, constants, and types exported from the library that referenced
mode
in their name have been renamed accordingly- For example
updateDefaultMode
is nowupdateDefaultCmsPublishMode
. TheMODE
constant is nowCMS_PUBLISH_MODE
- For example
- The
CliConfiguration
type has been updated to makecmsPublishMode
of typeCmsPublishMode
rather thanstring
. This restricts its values to “draft” and “publish”
- The new and legacy config modules now use
- Breaking type change: The return type for all api modules has been changed from
AxiosPromise
toHubSpotPromise
.HubSpotPromise
is essentially just a rename ofAxiosPromise
- 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
- More release script improvements by @camden11 in #211
- Update next tag for latest releases, not experimental by @camden11 in #212
- Only prompt to create release for latest releases by @camden11 in #213
- chore: Update config mode to Mode type by @camden11 in #215
- chore!: Rename Mode to CmsPublishMode by @camden11 in #216
- fix!: Wrap Axios type and export new type by @joe-yeager in #210
Full Changelog: v2.3.0...v3.0.0
v2.0.1
What's Changed
- chore: Add CODEOWNERS by @joe-yeager in #197
- chore: Add tests for CMS utils by @kemmerle in #195
- chore: Add a fallback to process.env.GITHUB_TOKEN by @joe-yeager in #198
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
- fix!: Remove default exports and add linting rule for default exports. by @joe-yeager in #165
- feat: Wrap AxiosErrors in custom error object by @joe-yeager in #151
- Expose axios response by @camden11 in #167
- feat!: Refactor error handling by @joe-yeager in #159
- Unauthed http option by @camden11 in #171
- fix: Fix updateContext not updating the messages by @joe-yeager in #177
- chore: deprecate
lib/developerTestAccounts.ts
by @joe-yeager in #178 - chore: Remove redundant file by @joe-yeager in #180
- fix: Logging fixes by @joe-yeager in #185
- Removing unused task status fetch by @adamawang in #186
- fix: Fix next branch merge by @joe-yeager in #194
- v2 by @joe-yeager in #166
Full Changelog: v1.13.1...v2.0.0
v1.13.0
What's Changed
- Add fetchEnabledFeatures by @camden11 in #189
- fix: Use path.sep to fix path check on Windows by @brandenrodgers in #190
- fix: Return the tracking request when not authenticated by @brandenrodgers in #191
- Remove custom project 403 error handlers by @brandenrodgers in #169
Full Changelog: v1.12.0...v1.13.0