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 #2920

Merged
merged 4 commits into from
Aug 12, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 3, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@mantine/core (source) 7.11.2 -> 7.12.0 age adoption passing confidence
@mantine/hooks (source) 7.11.2 -> 7.12.0 age adoption passing confidence
@types/node (source) 22.0.0 -> 22.1.0 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) 7.17.0 -> 7.18.0 age adoption passing confidence
@typescript-eslint/parser (source) 7.17.0 -> 7.18.0 age adoption passing confidence
@wdio/browserstack-service (source) 8.39.1 -> 8.40.0 age adoption passing confidence
@wdio/cli (source) 8.39.1 -> 8.40.0 age adoption passing confidence
@wdio/jasmine-framework (source) 8.39.1 -> 8.40.0 age adoption passing confidence
@wdio/junit-reporter (source) 8.39.0 -> 8.40.0 age adoption passing confidence
@wdio/local-runner (source) 8.39.1 -> 8.40.0 age adoption passing confidence
eslint-plugin-jsdoc 48.9.2 -> 48.11.0 age adoption passing confidence
karma (source) 6.4.3 -> 6.4.4 age adoption passing confidence
lerna (source) 8.1.7 -> 8.1.8 age adoption passing confidence
puppeteer (source) 22.14.0 -> 22.15.0 age adoption passing confidence
react-router-dom (source) 6.25.1 -> 6.26.0 age adoption passing confidence
webdriverio (source) 8.39.1 -> 8.40.0 age adoption passing confidence
yarn (source) 4.3.1 -> 4.4.0 age adoption passing confidence

Release Notes

mantinedev/mantine (@​mantine/core)

v7.12.0: 🌟

Compare Source

View changelog with demos on mantine.dev website

Notifications at any position

It is now possible to display notifications at any position on the screen
with @​mantine/notifications package:

import { Button } from '@​mantine/core';
import { notifications } from '@​mantine/notifications';

const positions = [
  'top-left',
  'top-right',
  'bottom-left',
  'bottom-right',
  'top-center',
  'bottom-center',
] as const;

function Demo() {
  const buttons = positions.map((position) => (
    <Button
      key={position}
      onClick={() =>
        notifications.show({
          title: `Notification at ${position}`,
          message: `Notification at ${position} message`,
          position,
        })
      }
    >
      {position}
    </Button>
  ));

  return <Group>{buttons}</Group>;
}

Subscribe to notifications state

You can now subscribe to notifications state changes with useNotifications hook:

import { Button } from '@&#8203;mantine/core';
import { notifications } from '@&#8203;mantine/notifications';

function Demo() {
  return (
    <Button
      onClick={() =>
        notifications.show({
          title: 'Default notification',
          message: 'Do not forget to star Mantine on GitHub! 🌟',
        })
      }
    >
      Show notification
    </Button>
  );
}

SemiCircleProgress component

New SemiCircleProgress component:

import { SemiCircleProgress } from '@&#8203;mantine/core';

function Demo() {
  return (
    <SemiCircleProgress
      fillDirection="left-to-right"
      orientation="up"
      filledSegmentColor="blue"
      size={200}
      thickness={12}
      value={40}
      label="Label"
    />
  );
}

Tree checked state

Tree component now supports checked state:

import { IconChevronDown } from '@&#8203;tabler/icons-react';
import { Checkbox, Group, RenderTreeNodePayload, Tree } from '@&#8203;mantine/core';
import { data } from './data';

const renderTreeNode = ({
  node,
  expanded,
  hasChildren,
  elementProps,
  tree,
}: RenderTreeNodePayload) => {
  const checked = tree.isNodeChecked(node.value);
  const indeterminate = tree.isNodeIndeterminate(node.value);

  return (
    <Group gap="xs" {...elementProps}>
      <Checkbox.Indicator
        checked={checked}
        indeterminate={indeterminate}
        onClick={() => (!checked ? tree.checkNode(node.value) : tree.uncheckNode(node.value))}
      />

      <Group gap={5} onClick={() => tree.toggleExpanded(node.value)}>
        <span>{node.label}</span>

        {hasChildren && (
          <IconChevronDown
            size={14}
            style={{ transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)' }}
          />
        )}
      </Group>
    </Group>
  );
};

function Demo() {
  return <Tree data={data} levelOffset={23} expandOnClick={false} renderNode={renderTreeNode} />;
}

Disable specific features in postcss-preset-mantine

You can now disable specific features of the postcss-preset-mantine
by setting them to false in the configuration object. This feature is available starting from
postcss-preset-mantine@1.17.0.

module.exports = {
  'postcss-preset-mantine': {
    features: {
      // Turn off `light-dark` function
      lightDarkFunction: false,

      // Turn off `postcss-nested` plugin
      nested: false,

      // Turn off `lighten`, `darken` and `alpha` functions
      colorMixAlpha: false,

      // Turn off `rem` and `em` functions
      remEmFunctions: false,

      // Turn off `postcss-mixins` plugin
      mixins: false,
    },
  },
};

Help Center updates

Other changes

  • use-interval hook now supports autoInvoke option to start the interval automatically when the component mounts.
  • use-form with mode="uncontrolled" now triggers additional rerender when dirty state changes to allow subscribing to form state changes.
  • ScrollArea component now supports onTopReached and onBottomReached props. The functions are called when the user scrolls to the top or bottom of the scroll area.
  • Accordion.Panel component now supports onTransitionEnd prop that is called when the panel animation completes.
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v7.18.0

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib

  • eslint-plugin: [unbound-method] report on destructuring in function parameters

  • eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types

  • eslint-plugin: [strict-boolean-expressions] support branded booleans

❤️ Thank You
  • auvred
  • Oliver Salzburg
  • Vinccool96
  • Yukihiro Hasegawa

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v7.18.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

webdriverio/webdriverio (@​wdio/browserstack-service)

v8.40.0

Compare Source

v8.40.0 (2024-08-05)
🐛 Bug Fix
💅 Polish
Committers: 7
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)

v48.11.0

Compare Source

v48.10.2

Compare Source

Bug Fixes
  • check-template-names: check for param and returns tags; fixes #​1286 (12fca71)

v48.10.1

Compare Source

Bug Fixes

v48.10.0

Compare Source

Features
  • require-template, check-template-names: add support ClassDeclaration (31d3255)
  • require-template, check-template-names: add support FunctionDeclaration (28bc1cb)
  • require-template, check-template-names: add support TSInterfaceDeclaration (320a1eb)

v48.9.3

Compare Source

Bug Fixes
  • getJsdocProcessorPlugin: ensure package.json file is consistently located (87a1270)
karma-runner/karma (karma)

v6.4.4

Compare Source

lerna/lerna (lerna)

v8.1.8

Compare Source

Bug Fixes
puppeteer/puppeteer (puppeteer)

v22.15.0

Compare Source

remix-run/react-router (react-router-dom)

v6.26.0

Compare Source

Minor Changes
  • Add a new replace(url, init?) alternative to redirect(url, init?) that performs a history.replaceState instead of a history.pushState on client-side navigation redirects (#​11811)
Patch Changes
  • Fix initial hydration behavior when using future.v7_partialHydration along with unstable_patchRoutesOnMiss (#​11838)
    • During initial hydration, router.state.matches will now include any partial matches so that we can render ancestor HydrateFallback components
  • Updated dependencies:
    • @remix-run/router@1.19.0
    • react-router@6.26.0
yarnpkg/berry (yarn)

v4.4.0

Compare Source


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 requested a review from a team as a code owner August 3, 2024 01:33
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Aug 3, 2024
Copy link

cit-pr-commenter bot commented Aug 3, 2024

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 158.91 KiB 158.91 KiB 0 B 0.00%
Logs 55.93 KiB 55.93 KiB 0 B 0.00%
Rum Slim 107.52 KiB 107.52 KiB 0 B 0.00%
Worker 25.21 KiB 25.21 KiB 0 B 0.00%
🚀 CPU Performance
Action Name Base Average Cpu Time (ms) Local Average Cpu Time (ms) 𝚫
addglobalcontext 0.002 0.001 -0.001
addaction 0.040 0.041 0.001
addtiming 0.001 0.001 -0.000
adderror 0.043 0.042 -0.001
startstopsessionreplayrecording 1.145 0.991 -0.154
startview 1.068 0.990 -0.078
logmessage 0.027 0.021 -0.006
🧠 Memory Performance
Action Name Base Consumption Memory (bytes) Local Consumption Memory (bytes) 𝚫 (bytes)
addglobalcontext 19.63 KiB 17.57 KiB -2107 B
addaction 70.87 KiB 65.80 KiB -5196 B
addtiming 16.39 KiB 15.22 KiB -1199 B
adderror 85.83 KiB 82.97 KiB -2937 B
startstopsessionreplayrecording 13.91 KiB 10.60 KiB -3389 B
startview 345.90 KiB 349.05 KiB 3.15 KiB
logmessage 69.89 KiB 67.46 KiB -2487 B

🔗 RealWorld

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ad6432d to 0a2e3d1 Compare August 5, 2024 18:33
- Use relative import in specs
- Avoid calling unbound-method
@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.49%. Comparing base (7d77b57) to head (0742450).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2920      +/-   ##
==========================================
- Coverage   93.50%   93.49%   -0.02%     
==========================================
  Files         270      270              
  Lines        7594     7594              
  Branches     1692     1692              
==========================================
- Hits         7101     7100       -1     
- Misses        493      494       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor Author

renovate bot commented Aug 6, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@@ -246,7 +246,7 @@ describe('listenActionEvents', () => {
beforeMouseUp,
target = document.body,
clickEventIsPrimary = undefined,
}: { beforeMouseUp?(): void; target?: Node; clickEventIsPrimary?: boolean } = {}) {
}: { beforeMouseUp?(this: void): void; target?: Node; clickEventIsPrimary?: boolean } = {}) {
Copy link
Member

Choose a reason for hiding this comment

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

👏 praise: ‏TIL! We usually solve this by changing the type to beforeMouseUp?: (...) => void but this:void sounds nice too

@cy-moi cy-moi merged commit 2843c96 into main Aug 12, 2024
20 checks passed
@cy-moi cy-moi deleted the renovate/all-minor-patch branch August 12, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants