next-hubspot

⭐Embed Hubspot forms in your Next.js application

MIT License

Downloads
22.5K
Stars
61
Committers
2

Bot releases are visible (Hide)

next-hubspot - 1.3.0 Latest Release

Published by snelsi 8 months ago

⚠️ Breaking changes

  • blockedDomains property was removed. Use manuallyBlockedEmailDomain instead.

Check official Husbpot docs for available form options here:
https://legacydocs.hubspot.com/docs/methods/forms/advanced_form_options

What's Changed

  • Add HubspotFormProps missing types by @mcortes19 in https://github.com/snelsi/next-hubspot/pull/135
  • Fix a typo in the comment
  • Update devDependencies:
    • Update rollup to v4.10.0
    • Update rollup-plugin-node-externals to v7.0.1
    • Update rollup-plugin-preserve-directives to v0.4.0
    • Update typescript to v5.3.3
    • Update typescript-eslint to v7
    • Update husky to v9
    • Update pretty-quick to v4

New Contributors

Full Changelog: https://github.com/snelsi/next-hubspot/compare/1.2.0...1.3.0

next-hubspot - 1.2.0

Published by snelsi 12 months ago

⚠️ Breaking changes

  • This package is now pure ESM
  • Min supported version of Next.js was bumped to >=13
  • Min supported version of React and React-Dom was bumped to >=18
  • Bump required node to >=18

What's changed

  • Update peerDependencies to support Next.js v14
  • Update devDependencies
    • Update rollup version to v4
    • Update next.js version to v14
    • Update prettier version to v3

Full Changelog: https://github.com/snelsi/next-hubspot/compare/1.1.6...1.2.0

next-hubspot - 1.1.6

Published by snelsi over 1 year ago

What's changed

  • Update dev dependencies
  • Update Rollup version
  • Update Typescript version
  • Run eslint + prettier on all files

Full Changelog: https://github.com/snelsi/next-hubspot/compare/1.1.5...1.1.6

next-hubspot - 1.1.5

Published by snelsi over 1 year ago

What's Changed

  • Add 'use client' to build exports
  • Update dev dependencies

Full Changelog: https://github.com/snelsi/next-hubspot/compare/1.1.4...1.1.5

next-hubspot - 1.1.4

Published by snelsi over 1 year ago

What's Changed

  • Update dev dependencies
  • Update Rollup version

Full Changelog: https://github.com/snelsi/next-hubspot/compare/1.1.3...1.1.4

next-hubspot - 1.1.3

Published by snelsi over 1 year ago

What's Changed:

  • Update dev dependencies
  • Update Rollup version
  • Add inlineSources: true to the tsconfig
  • Update License year

Full Changelog: https://github.com/snelsi/next-hubspot/compare/1.1.2...1.1.3

next-hubspot - 1.1.2

Published by snelsi almost 2 years ago

What's Changed

  • Update dev dependencies
  • Update Rollup setup
  • Drop terser Rollup plugin
  • Internal build types output moved to a separate folder types
  • Minor hubspot types update

Full Changelog: https://github.com/snelsi/next-hubspot/compare/1.1.1...1.1.2

next-hubspot - 1.1.1

Published by snelsi almost 2 years ago

Changes:

  • Revert type update for onFormSubmit

Seems like Hubspot reverted some of their changes for the forms script?
In my tests onFormSubmit method started to return HTMLFormElement, the same as before.
Not sure what happened, better to keep an eye on it.

next-hubspot - 1.1.0

Published by snelsi almost 2 years ago

⚠️ This release contains some Breaking Changes:

  • Minimum supported Node version is bumped to 16+
  • Update the HubspotFormProps types definition

Changes:

  • Update to Rollup v3
  • Update Rollup setup + plugins
  • Update dev dependencies

HubspotFormProps types update

I'm not sure when, but at some point, Hubspot changed its form of integration API. After some testing, I found out that docs are outdated. Some form methods are missing, and some prop types are wrong.

To fix this I manually reverse-engineered the source code and updated the HubspotFormProps to better represent existing methods.

It's still full of unknown and any props for now, but hopefully, it should be more accurate than before

next-hubspot - 1.0.6

Published by snelsi about 2 years ago

  • Swap 'any' with 'unknown' in Hubspot types definition
  • Fix Typo in documentation
  • Update dev dependencies
  • Add .prettierignore file config
next-hubspot - 1.0.4

Published by snelsi about 2 years ago

  • Update dev dependencies
next-hubspot - 1.0.3

Published by snelsi over 2 years ago

  • Migrate to Rollup
  • Update dev dependencies
next-hubspot - 1.0.2

Published by snelsi over 2 years ago

  • Update dev dependencies
next-hubspot - 1.0.1

Published by snelsi over 2 years ago

  • Update dependencies
next-hubspot - 1.0.0

Published by snelsi over 2 years ago

🎉 Release V1

Package Rankings
Top 6.3% on Npmjs.org
Badges
Extracted from project README
npm (scoped) Bundle Size License: MIT