Skip to content

Commit

Permalink
Merge pull request #428 from icflorescu/next
Browse files Browse the repository at this point in the history
Bump version, update changelog & docs website
  • Loading branch information
icflorescu authored Oct 1, 2023
2 parents c82d5d5 + 9e5d8e5 commit 0b97b0e
Show file tree
Hide file tree
Showing 7 changed files with 263 additions and 173 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
The following is a list of notable changes to the Mantine DataTable component.
Minor versions that are not listed in the changelog are bug fixes and small improvements.

## 6.0.0 (2023-10-01)

- Bump version to 6.0.0 to match the compatible versions of `@mantine/hooks` and `@mantine/core`. From now on, let's keep the major version of `mantine-datatable` in sync with the major version of Mantine core

## 2.9.11 (2023-08-11)

- The internal `useElementOuterSize` hook now return floats instead of integers, for better shadow rendering
Expand Down
9 changes: 9 additions & 0 deletions docs/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { MantineColor } from '@mantine/core';
import {
IconAdjustments,
IconBellFilled,
IconHeartHandshake,
IconHome,
IconLifebuoy,
Expand Down Expand Up @@ -245,6 +246,14 @@ export const PAGES: ({ external?: true; title: string; color?: MantineColor; des
color: 'red',
icon: IconHeartHandshake,
},
{
path: 'mantine-v7-support',
title: 'Mantine V7 support',
description:
'Mantine DataTable v6.x supports Mantine v6.x. Mantine v7.x support is on the roadmap. You can speed up the process by sponsoring me on GitHub.',
color: 'pink',
icon: IconBellFilled,
},
{
external: true,
path: `${REPO_LINK}/blob/main/CHANGELOG.md`,
Expand Down
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mantine-datatable-docs",
"version": "2.9.14",
"version": "6.0.0",
"description": "Docs website for mantine-datatable; see ../package/package.json for more info",
"private": true,
"scripts": {
Expand All @@ -21,8 +21,8 @@
"@mantine/next": "^6.0.21",
"@mantine/notifications": "^6.0.21",
"@mantine/prism": "^6.0.21",
"@tabler/icons-react": "^2.35.0",
"@tanstack/react-query": "^4.35.3",
"@tabler/icons-react": "^2.38.0",
"@tanstack/react-query": "^4.35.7",
"dayjs": "^1.11.10",
"lodash": "^4.17.21",
"mantine-datatable": "*",
Expand All @@ -34,8 +34,8 @@
},
"devDependencies": {
"@types/lodash": "^4.14.199",
"@types/node": "^20.7.0",
"@types/react": "^18.2.23",
"@types/node": "^20.8.0",
"@types/react": "^18.2.24",
"typescript": "^5.2.2",
"webpack": "^5.88.2"
}
Expand Down
70 changes: 70 additions & 0 deletions docs/pages/mantine-v7-support.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import { Code, Container } from '@mantine/core';
import ExternalLink from '~/components/ExternalLink';
import InternalLink from '~/components/InternalLink';
import PageNavigation from '~/components/PageNavigation';
import PageText from '~/components/PageText';
import PageTitle from '~/components/PageTitle';
import { AUTHOR_LINK, MANTINE_LINK, SPONSOR_LINK } from '~/config';

const PATH = 'mantine-v7-support';

export default function Page() {
return (
<Container>
<PageTitle of={PATH} />
<PageText idea>
Mantine DataTable v6.x supports <ExternalLink to="https://v6.mantine.dev/">Mantine v6.x</ExternalLink>.
<br />
<ExternalLink to={MANTINE_LINK}>Mantine v7.x</ExternalLink> support is on the roadmap. You can help speed up the
process by <ExternalLink to={SPONSOR_LINK}>sponsoring me on GitHub</ExternalLink>.
</PageText>
<PageText>
As most of you already know, Mantine v7 came up with{' '}
<ExternalLink to="https://mantine.dev/changelog/7-0-0/">
a significant number of breaking changes, most of them referring to how styling is implemented
</ExternalLink>
.
</PageText>
<PageText>
As some of you know, Mantine-DataTable is one of my dearest open-source projects. I’ve dedicated a sizeable
amount of my own free time to build it and I’m doing my best to maintain it.
</PageText>
<PageText>
While this library has over 650 GitHub stars and 35k <Code>npm</Code> downloads per month (as of October 1st
2023) and is being used by lots of startups and developers worldwide, I’m still struggling with raising enough
funds to be able to dedicate as much time as I’d like to the project.
</PageText>
<PageText>
To put it bluntly, building and maintaining successful open-source projects doesn’t pay my bills, or maybe I’m
simply not yet good enough at raising awareness and converting it into sponsorship income.
</PageText>
<PageText>
Also, I’d like to mention that this is not the only open-source project I’m working on. I’m also the author of{' '}
<ExternalLink to="https://icflorescu.github.io/mantine-contextmenu">Mantine-ContextMenu</ExternalLink>,{' '}
<ExternalLink to="https://pocketbase-uml.github.io/">PocketBaseUML</ExternalLink>,{' '}
<ExternalLink to="https://icflorescu.github.io/trpc-sveltekit">tRPC-SvelteKit</ExternalLink>,{' '}
<ExternalLink to="https://github.com/icflorescu/expose-wsl">Expose-WSL</ExternalLink> and{' '}
<ExternalLink to={AUTHOR_LINK}>others</ExternalLink>. But I can’t be a full-time open-source developer; I wasn’t
born rich (on the contrary). Therefore, I have to make a living, so I have to spend most of my time working on
commercial projects as a <InternalLink to="/hire-the-author">freelancer or contractor</InternalLink>.
</PageText>
<PageText>
Please understand that this is not a rant, but a simple explanation of why I can’t dedicate as much time as I
(and you) would like to this project.
</PageText>
<PageText warning>
To sum it up, Mantine V7 support is on the roadmap, but it will take a while to get there.
<br />
I’m doing my best to keep this project alive, but I can’t do it alone.
<br />
I need <ExternalLink to={SPONSOR_LINK}>your help</ExternalLink>.
</PageText>
<PageText>
Thank you for your support and understanding,
<br />
<ExternalLink to={AUTHOR_LINK}>Ionut-Cristian Florescu</ExternalLink>
</PageText>
<PageNavigation of={PATH} />
</Container>
);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mantine-datatable-turborepo",
"version": "2.9.14",
"version": "6.0.0",
"description": "Monorepo for mantine-datatable; see package/package.json for more info",
"private": true,
"workspaces": [
Expand Down
10 changes: 5 additions & 5 deletions package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mantine-datatable",
"version": "2.9.14",
"version": "6.0.0",
"description": "The dependency-free datatable component for Mantine UI, featuring asynchronous data loading support, pagination, multple rows selection, column sorting, custom cell data rendering, row context menu, row expansion and more",
"keywords": [
"mantine",
Expand Down Expand Up @@ -58,10 +58,10 @@
"devDependencies": {
"@mantine/core": "^6.0.21",
"@mantine/hooks": "^6.0.21",
"@tabler/icons-react": "^2.35.0",
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.7",
"esbuild": "^0.19.3",
"@tabler/icons-react": "^2.38.0",
"@types/react": "^18.2.24",
"@types/react-dom": "^18.2.8",
"esbuild": "^0.19.4",
"react": "^18.2.0",
"typescript": "^5.2.2"
},
Expand Down
Loading

0 comments on commit 0b97b0e

Please sign in to comment.