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

Version Packages #1778

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Version Packages #1778

merged 1 commit into from
Jan 2, 2025

Conversation

atlas-dst-bot
Copy link
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@compiled/[email protected]

Minor Changes

  • 34e5339: Fix @compiled/babel-plugin to not require cssMap() to be called prior to use.

    Example, this failed before for no reason other than the fact that our state.cssMap was generated after JSXElement and JSXOpeningElement were ran.

    import { cssMap } from '@compiled/react';
    export default () => <div css={styles.root} />;
    const styles = cssMap({ root: { padding: 8 } });
  • 34e5339: Throw an error when compiling a cssMap object where we expect a css or nested cssMap object.

    Example of code that silently fails today, using styles directly:

    import { cssMap } from '@compiled/react';
    const styles = cssMap({ root: { padding: 8 } });
    export default () => <div css={styles} />;

    What we expect to see instead, using styles.root instead:

    import { cssMap } from '@compiled/react';
    const styles = cssMap({ root: { padding: 8 } });
    export default () => <div css={styles.root} />;

@compiled/[email protected]

Patch Changes

@compiled/[email protected]

Patch Changes

Copy link

netlify bot commented Dec 31, 2024

Deploy Preview for compiled-css-in-js canceled.

Name Link
🔨 Latest commit 2b25ad4
🔍 Latest deploy log https://app.netlify.com/sites/compiled-css-in-js/deploys/67749f943199830008f1abaa

@atlas-dst-bot atlas-dst-bot force-pushed the changeset-release/master branch from 7f32e56 to 2b25ad4 Compare January 1, 2025 01:51
Copy link
Collaborator

@kylorhall-atlassian kylorhall-atlassian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Landing #1773 which fixes #1642

@kylorhall-atlassian kylorhall-atlassian merged commit a2eb963 into master Jan 2, 2025
14 checks passed
@kylorhall-atlassian kylorhall-atlassian deleted the changeset-release/master branch January 2, 2025 23:53
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.

2 participants