Skip to content

Releases: hkbertoson/astro-turnstile

[email protected]

11 Dec 18:06
39946f8
Compare
Choose a tag to compare

Minor Changes

  • 31d452f: Updated to use data attribute instead of comment
  • 9a444e1: Updated script to only inject on pages where component is rendered

[email protected]

04 Dec 22:36
6372405
Compare
Choose a tag to compare

Patch Changes

[email protected]

04 Dec 22:31
22747f1
Compare
Choose a tag to compare

Major Changes

[email protected]

22 Oct 21:52
28b5330
Compare
Choose a tag to compare

Minor Changes

  • 9921553: Changeset for Type Updates

  • 508f6ad: Refactored component imports for TurnstileWidget and TurnstileForm:
    BREAKING: Direct package imports from 'astro-turnstile/components/TurnstileWidget' and 'astro-turnstile/components/TurnstileForm'.

    // Previously
    import { TurnstileForm } from "astro-turnstile/components";
    import { TurnstileWidget } from "astro-turnstile/components";
    
    // Virtual modules Before
    import { TurnstileForm } from "astro-turnstile:components";
    import { TurnstileWidget } from "astro-turnstile:components";
    
    // Now
    import TurnstileForm from "astro-turnstile/components/TurnstileForm";
    import TurnstileWidget from "astro-turnstile/components/TurnstileWidget";
    
    // Virtual modules now
    import TurnstileForm from "astro-turnstile:components/TurnstileForm";
    import TurnstileWidget from "astro-turnstile:components/TurnstileWidget";
  • 16ae506: Updated Imports

[email protected]

19 Sep 15:17
1da136e
Compare
Choose a tag to compare

Patch Changes

  • 05537b2: [Fix/Docs]:

    • Update Type AstroTurnstileOptions to reflect the correct default values by switching from z.infer to a typeof Schema._input which properly shows the type as it would be used by the enduser
    // Previously
    type AstroTurnstileOptions = {
      endpointPath: string;
      disableClientScript: boolean;
      disableDevToolbar: boolean;
      verbose: boolean;
    };
    
    // Now
    type AstroTurnstileOptions =
      | {
          endpointPath?: string | undefined;
          disableClientScript?: boolean | undefined;
          disableDevToolbar?: boolean | undefined;
          verbose?: boolean | undefined;
        }
      | undefined;
    • Update readme to include instructions and more information about what is available to users from the integration

[email protected]

18 Sep 21:29
9d60158
Compare
Choose a tag to compare

Patch Changes

[email protected]

15 Sep 23:36
1268f14
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

[email protected]

13 Sep 21:30
e3460e3
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

[email protected]

13 Sep 21:29
269175e
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

[email protected]

23 Jul 19:09
9158d04
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.