Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all non-major dependencies - autoclosed #39

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/markdoc (source) 0.5.0 -> 0.11.3 age adoption passing confidence
@astrojs/react (source) 3.0.2 -> 3.6.2 age adoption passing confidence
@astrojs/sitemap (source) 3.0.0 -> 3.1.6 age adoption passing confidence
@fontsource-variable/inter (source) 5.0.8 -> 5.0.20 age adoption passing confidence
@fontsource-variable/red-hat-display (source) 5.0.14 -> 5.0.21 age adoption passing confidence
@iconify/json (source) 2.2.122 -> 2.2.237 age adoption passing confidence
@radix-ui/react-avatar (source) 1.0.4 -> 1.1.0 age adoption passing confidence
@radix-ui/react-navigation-menu (source) 1.1.4 -> 1.2.0 age adoption passing confidence
@tailwindcss/typography 0.5.10 -> 0.5.14 age adoption passing confidence
@types/react (source) 18.2.24 -> 18.3.3 age adoption passing confidence
@types/react-dom (source) 18.2.8 -> 18.3.0 age adoption passing confidence
@vite-pwa/astro 0.1.3 -> 0.4.0 age adoption passing confidence
astro-seo 0.8.0 -> 0.8.4 age adoption passing confidence
autoprefixer 10.4.16 -> 10.4.20 age adoption passing confidence
daisyui (source) 3.8.2 -> 3.9.4 age adoption passing confidence
html-react-parser 4.2.2 -> 4.2.10 age adoption passing confidence
postcss (source) 8.4.31 -> 8.4.41 age adoption passing confidence
postcss-preset-env (source) 9.1.4 -> 9.6.0 age adoption passing confidence
react (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-dom (source) 18.2.0 -> 18.3.1 age adoption passing confidence
sass 1.68.0 -> 1.77.8 age adoption passing confidence
sharp (source, changelog) 0.32.6 -> 0.33.4 age adoption passing confidence
tailwindcss (source) 3.3.3 -> 3.4.10 age adoption passing confidence
typescript (source) 5.2.2 -> 5.5.4 age adoption passing confidence
unplugin-icons 0.17.0 -> 0.19.2 age adoption passing confidence
vite-plugin-pwa 0.16.5 -> 0.20.1 age adoption passing confidence
workbox-cacheable-response (source) 7.0.0 -> 7.1.0 age adoption passing confidence
workbox-core (source) 7.0.0 -> 7.1.0 age adoption passing confidence
workbox-expiration (source) 7.0.0 -> 7.1.0 age adoption passing confidence
workbox-precaching (source) 7.0.0 -> 7.1.0 age adoption passing confidence
workbox-recipes (source) 7.0.0 -> 7.1.0 age adoption passing confidence
workbox-routing (source) 7.0.0 -> 7.1.0 age adoption passing confidence
workbox-strategies (source) 7.0.0 -> 7.1.0 age adoption passing confidence
workbox-window (source) 7.0.0 -> 7.1.0 age adoption passing confidence

Release Notes

withastro/astro (@​astrojs/markdoc)

v0.11.3

Compare Source

Patch Changes

v0.11.2

Compare Source

Patch Changes

v0.11.1

Compare Source

Patch Changes

v0.11.0

Compare Source

Minor Changes
Patch Changes

v0.10.0

Compare Source

Minor Changes
Patch Changes

v0.9.5

Compare Source

Patch Changes
  • #​10649 90cfade88c2b9a34d8a5fe711ce329732d690409 Thanks @​bholmesdev! - Add automatic resolution for Markdoc partials. This allows you to render other Markdoc files inside of a given entry. Reference files using the partial tag with a file attribute for the relative file path:

    <!--src/content/blog/post.mdoc-->
    
    {% partial file="my-partials/_diagram.mdoc" /%}
    
    <!--src/content/blog/my-partials/_diagram.mdoc-->

v0.9.4

Compare Source

Patch Changes

v0.9.3

Compare Source

Patch Changes

v0.9.2

Compare Source

Patch Changes

v0.9.1

Compare Source

Patch Changes

v0.9.0

Compare Source

Minor Changes
  • #​9958 14ce8a6ebfc9daf951d2dca54737d857c229667c Thanks @​Princesseuh! - Adds support for using a custom tag (component) for optimized images

    Starting from this version, when a tag called image is used, its src attribute will automatically be resolved if it's a local image. Astro will pass the result ImageMetadata object to the underlying component as the src prop. For non-local images (i.e. images using URLs or absolute paths), Astro will continue to pass the src as a string.

    // markdoc.config.mjs
    import { component, defineMarkdocConfig, nodes } from '@&#8203;astrojs/markdoc/config';
    
    export default defineMarkdocConfig({
      tags: {
        image: {
          attributes: nodes.image.attributes,
          render: component('./src/components/MarkdocImage.astro'),
        },
      },
    });

v0.8.3

Compare Source

Patch Changes

v0.8.2

Compare Source

Patch Changes

v0.8.1

Compare Source

Patch Changes

v0.8.0

Compare Source

Minor Changes

v0.7.2

Compare Source

Patch Changes
  • #​9083 4537ecf0d Thanks @​bluwy! - Uses new createShikiHighlighter API from @astrojs/markdown-remark to avoid code duplication

v0.7.1

Compare Source

Patch Changes

v0.7.0

Compare Source

Minor Changes
Patch Changes

v0.6.0

Compare Source

Minor Changes
  • #​8502 c4270e476 Thanks @​bluwy! - Updates the internal shiki syntax highlighter to shikiji, an ESM-focused alternative that simplifies bundling and maintenance.

    There are no new options and no changes to how you author code blocks and syntax highlighting.

    Potentially breaking change: While this refactor should be transparent for most projects, the transition to shikiji now produces a smaller HTML markup by attaching a fallback color style to the pre or code element, instead of to the line span directly. For example:

    Before:

    <code class="astro-code" style="background-color: #&#8203;24292e">
      <pre>
        <span class="line" style="color: #e1e4e8">my code</span>
      </pre>
    </code>

    After:

    <code class="astro-code" style="background-color: #&#8203;24292e; color: #e1e4e8">
      <pre>
        <span class="line">my code<span>
      </pre>
    </code>

    This does not affect the colors as the span will inherit the color from the parent, but if you're relying on a specific HTML markup, please check your site carefully after upgrading to verify the styles.

Patch Changes

v0.5.2

Compare Source

Patch Changes

v0.5.1

Compare Source

Patch Changes
withastro/astro (@​astrojs/react)

v3.6.2

Compare Source

Patch Changes
  • #​11624 7adb350 Thanks @​bluwy! - Prevents throwing errors when checking if a component is a React component in runtime

v3.6.1

Compare Source

Patch Changes
  • #​11571 1c3265a Thanks @​bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest @astrojs/react integration as well if you're using React 19 features.

    Make .safe() the default return value for actions. This means { data, error } will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the .orThrow() modifier.

    import { actions } from 'astro:actions';
    
    // Before
    const { data, error } = await actions.like.safe();
    // After
    const { data, error } = await actions.like();
    
    // Before
    const newLikes = await actions.like();
    // After
    const newLikes = await actions.like.orThrow();

v3.6.0

Compare Source

Minor Changes
  • #​11234 4385bf7 Thanks @​ematipico! - Adds a new function called addServerRenderer to the Container API. Use this function to manually store renderers inside the instance of your container.

    This new function should be preferred when using the Container API in environments like on-demand pages:

    import type { APIRoute } from 'astro';
    import { experimental_AstroContainer } from 'astro/container';
    import reactRenderer from '@&#8203;astrojs/react/server.js';
    import vueRenderer from '@&#8203;astrojs/vue/server.js';
    import ReactComponent from '../components/button.jsx';
    import VueComponent from '../components/button.vue';
    
    // MDX runtime is contained inside the Astro core
    import mdxRenderer from 'astro/jsx/server.js';
    
    // In case you need to import a custom renderer
    import customRenderer from '../renderers/customRenderer.js';
    
    export const GET: APIRoute = async (ctx) => {
      const container = await experimental_AstroContainer.create();
      container.addServerRenderer({ renderer: reactRenderer });
      container.addServerRenderer({ renderer: vueRenderer });
      container.addServerRenderer({ renderer: customRenderer });
      // You can pass a custom name too
      container.addServerRenderer({
        name: 'customRenderer',
        renderer: customRenderer,
      });
      const vueComponent = await container.renderToString(VueComponent);
      return await container.renderToResponse(Component);
    };

v3.5.0

Compare Source

Minor Changes
  • #​11144 803dd80 Thanks @​ematipico! - The integration now exposes a function called getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.

    import { experimental_AstroContainer as AstroContainer } from 'astro/container';
    import ReactWrapper from '../src/components/ReactWrapper.astro';
    import { loadRenderers } from 'astro:container';
    import { getContainerRenderer } from '@&#8203;astrojs/react';
    
    test('ReactWrapper with react renderer', async () => {
      const renderers = await loadRenderers([getContainerRenderer()]);
      const container = await AstroContainer.create({
        renderers,
      });
      const result = await container.renderToString(ReactWrapper);
    
      expect(result).toContain('Counter');
      expect(result).toContain('Count: <!-- -->5');
    });

v3.4.0

Compare Source

Minor Changes
  • #​11071 8ca7c73 Thanks @​bholmesdev! - Adds two new functions experimental_getActionState() and experimental_withState() to support the React 19 useActionState() hook when using Astro Actions. This introduces progressive enhancement when calling an Action with the withState() utility.

    This example calls a like action that accepts a postId and returns the number of likes. Pass this action to the experimental_withState() function to apply progressive enhancement info, and apply to useActionState() to track the result:

    import { actions } from 'astro:actions';
    import { experimental_withState } from '@&#8203;astrojs/react/actions';
    
    export function Like({ postId }: { postId: string }) {
      const [state, action, pending] = useActionState(
        experimental_withState(actions.like),
        0 // initial likes
      );
    
      return (
        <form action={action}>
          <input type="hidden" name="postId" value={postId} />
          <button disabled={pending}>{state} ❤️</button>
        </form>
      );
    }

    You can also access the state stored by useActionState() from your action handler. Call experimental_getActionState() with the API context, and optionally apply a type to the result:

    import { defineAction, z } from 'astro:actions';
    import { experimental_getActionState } from '@&#8203;astrojs/react/actions';
    
    export const server = {
      like: defineAction({
        input: z.object({
          postId: z.string(),
        }),
        handler: async ({ postId }, ctx) => {
          const currentLikes = experimental_getActionState<number>(ctx);
          // write to database
          return currentLikes + 1;
        },
      }),
    };

v3.3.4

Compare Source

Patch Changes

v3.3.3

Compare Source

Patch Changes

v3.3.2

Compare Source

Patch Changes

v3.3.1

Compare Source

Patch Changes

v3.3.0

Compare Source

Minor Changes

v3.2.0

Compare Source

Minor Changes

v3.1.1

Compare Source

Patch Changes

v3.1.0

Compare Source

Minor Changes
  • #​10136 9cd84bd19b92fb43ae48809f575ee12ebd43ea8f Thanks @​matthewp! - Changes the default behavior of transition:persist to update the props of persisted islands upon navigation. Also adds a new view transitions option transition:persist-props (default: false) to prevent props from updating as needed.

    Islands which have the transition:persist property to keep their state when using the <ViewTransitions /> router will now have their props updated upon navigation. This is useful in cases where the component relies on page-specific props, such as the current page title, which should update upon navigation.

    For example, the component below is set to persist across navigation. This component receives a products props and might have some internal state, such as which filters are applied:

    <ProductListing transition:persist products={products} />

    Upon navigation, this component persists, but the desired products might change, for example if you are visiting a category of products, or you are performing a search.

    Previously the props would not change on navigation, and your island would have to handle updating them externally, such as with API calls.

    With this change the props are now updat


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from 125ad7b to 3c9da3e Compare November 7, 2023 21:59
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 286091f to 7c9d6cc Compare November 14, 2023 18:50
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 644f9c5 to 2670580 Compare November 22, 2023 09:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 725da21 to 75db784 Compare November 26, 2023 10:18
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 4d8c708 to d7a10c2 Compare July 21, 2024 17:17
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 7dcf98b to 9cfc1d2 Compare July 29, 2024 13:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 25bc606 to 980bcfc Compare August 6, 2024 01:55
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from adef588 to 9c3bf2e Compare August 13, 2024 19:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 9c3bf2e to 7b33949 Compare August 13, 2024 21:45
@renovate renovate bot changed the title Update all non-major dependencies Update all non-major dependencies - autoclosed Aug 15, 2024
@renovate renovate bot closed this Aug 15, 2024
@renovate renovate bot deleted the renovate/all-minor-patch branch August 15, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants