Skip to content

Latest commit

 

History

History
100 lines (54 loc) · 2.63 KB

CHANGELOG.md

File metadata and controls

100 lines (54 loc) · 2.63 KB

CHANGELOG

1.7.1

Patch Changes

  • ⚠️ Fix case where due to concurrent mode running effects twice our currentIndex would get wonky, we need to decrement the currentIndex when we remove the top of the stack during a process iteration Submitted by @JoviDeCroock (See #95)

1.7.0

Minor Changes

  • Escape single quotes via x27 instead of 39 Submitted by @tazsingh (See #88)

1.6.0

Minor Changes

  • Make useLink concurrent safe by only re-using link tags carrying data-hoofd="1", these would come from hydration as hoofd will add these to the static export Submitted by @JoviDeCroock (See #79)

1.5.4

  • Escape the content property in meta tags #76

1.5.3

  • Guard against no meta tags being returned in React Concurrent Mode #76

1.4.1

  • Add dns-prefetch to rel type #62

1.4.0

  • Add specialized types for hoofd/preact #54

1.3.0

  • Add support for id and text in useScript #44

1.2.2

  • fix Preact #40

1.2.1

  • Adjust useScript to use context API #37

1.2.0

  • Support context API #35
  • Add useScript #31

1.1.0

  • useTitleTemplate will fallback to removing the %s rather than inserting it when no title has been provided #33

1.0.2

  • fix: useTitle now correctly detects the template argument changing #27
  • fix: Preact types are now picked up correctly

1.0.1

  • Detect already injected links correctly and reuse them when possible.

1.0.0

  • add useHead

0.4.1

  • Make types less strict
  • Add type to linkOptions #11

0.4.0

BREAKING

  • Renamed toString to toStatic
  • Stopped returning a stringified head and moved to { title, lang, metas, links } Read more

0.3.0

  • Add useTitleTemplate hook

0.2.1

  • Bundle size savings -100 bytes

0.2.0

  • SSR Support

0.1.0

  • Initial release