Commit Graph

129 Commits

Author SHA1 Message Date
Łukasz Holeczek
42d823d50c chore: update dependencies and devDependencies 2021-10-20 21:45:18 +02:00
Łukasz Holeczek
26cdcf849e chore: update dependencies and devDependencies 2021-10-20 13:53:21 +02:00
Łukasz Holeczek
6428da619a chore: update dependencies and devDependencies 2021-10-18 16:57:04 +02:00
Łukasz Holeczek
d985d04f99 chore: update dependencies and devDependencies 2021-10-16 17:49:19 +02:00
Łukasz Holeczek
31bd2b86d6 release: v4.0.0-rc.4 2021-10-04 18:32:10 +02:00
Łukasz Holeczek
d6764b794c chore: update dependencies and devDependencies 2021-10-04 17:46:57 +02:00
Łukasz Holeczek
ba50130c04 chore: update dependencies and devDependencies 2021-10-04 15:49:27 +02:00
Łukasz Holeczek
7900193866 release: v4.0.0-rc.3 2021-09-23 13:34:55 +02:00
Łukasz Holeczek
877bc0e0a2 fix: react-scripts build ParserError 2021-09-23 13:33:55 +02:00
Łukasz Holeczek
1f619ad15d release: v4.0.0-rc.2 2021-09-22 13:25:58 +02:00
Łukasz Holeczek
3c2bb541be release: v4.0.0-rc.1 2021-09-18 20:19:56 +02:00
Łukasz Holeczek
7b04a6835d release: v4.0.0-rc.0 2021-08-23 16:31:52 +02:00
Łukasz Holeczek
c41bb25b4e refactor: update to @coreui/react@v4.0.0-rc.0 2021-08-23 16:28:36 +02:00
Łukasz Holeczek
e34547654e release: v4.0.0-beta.2 2021-08-16 22:14:32 +02:00
Łukasz Holeczek
fcbf9b804d refactor: update CIcons 2021-08-13 19:59:49 +02:00
Łukasz Holeczek
18e90a48ea release: v4.0.0-beta.1 2021-08-11 20:29:00 +02:00
Łukasz Holeczek
934b70a558 chore: bump version of @coreui/react 2021-08-11 20:11:23 +02:00
Łukasz Holeczek
7c0862a4aa chore: update dependencies and devDependencies 2021-08-11 17:30:42 +02:00
Łukasz Holeczek
ff42ed744b release: v4.0.0-beta.0 2021-07-05 13:00:27 +02:00
Łukasz Holeczek
29984fcbc8 chore: update dependencies and devDependencies 2021-07-05 12:58:53 +02:00
Łukasz Holeczek
04f87defda feat(CSidebarNav): add custom scrollbar 2021-05-29 12:13:32 +02:00
Łukasz Holeczek
dcd090534b build: update scripts to support windows 2021-05-25 23:50:16 +02:00
Łukasz Holeczek
2d448ea7ba build: change node-sass to sass 2021-05-25 23:24:14 +02:00
Łukasz Holeczek
46c9289b6b build: add @coreui/react library version 2021-05-24 17:16:40 +02:00
Łukasz Holeczek
bccae41f9b build: update build tools 2021-05-24 14:07:16 +02:00
Łukasz Holeczek
c721407e30 chore: update dependencies 2021-05-21 12:32:19 +02:00
Łukasz Holeczek
f6c6e15656 chore: update dependencies and devDependencies 2021-05-18 23:31:51 +02:00
Łukasz Holeczek
0de0637c4d chore: update dependencies and devDependencies
@coreui/icons                       ^2.0.0-rc.0  →   ^2.0.1
 @coreui/icons-react                      ^1.0.2  →   ^1.1.0
 @coreui/react-chartjs                    ^1.0.1  →   ^1.1.0
 @wojtekmaj/enzyme-adapter-react-17       ^0.3.2  →   ^0.6.1
 classnames                               ^2.2.6  →   ^2.3.1
 core-js                                  ^3.8.1  →  ^3.10.1
 node-sass                               ^4.14.1  →   ^5.0.0
 react                                   ^17.0.1  →  ^17.0.2
 react-dom                               ^17.0.1  →  ^17.0.2
 react-redux                              ^7.2.2  →   ^7.2.3
 gatsby-plugin-sitemap                    ^3.2.0  →   ^3.3.0
 react-scripts                            ^4.0.1  →   ^4.0.3
2021-04-14 12:00:10 +02:00
Łukasz Holeczek
d1a87d22f8 refactor: update to v4 2021-04-13 00:38:48 +02:00
Łukasz Holeczek
e484c60e6f refactor: migrate to CoreUI v4 2021-02-16 01:32:28 +01:00
xidedix
9d5ba97b4d chore: 3.2.0 release for React 17 2020-12-14 18:15:33 +01:00
xidedix
f6a710ffd6 chore: React 17 and dependencies update 2020-12-14 18:04:35 +01:00
xidedix
081b957291 chore: 3.1.1 release 2020-11-26 22:36:55 +01:00
xidedix
5b70904d8f chore: dependencies update
"@coreui/coreui": "^3.4.0",
    "@coreui/icons": "^2.0.0-rc.0",
    "@coreui/react": "^3.3.4",
    "core-js": "^3.8.0",
    "enzyme-adapter-react-16": "^1.15.5",
    "react": "^16.14.0",
    "react-app-polyfill": "^2.0.0",
    "react-dom": "^16.14.0",
    "react-redux": "^7.2.2",
    "auto-changelog": "~2.2.1",
    "react-scripts": "~4.0.1"
2020-11-26 22:29:17 +01:00
woothu
6ac9a1d094 chore: limit changelog to version 3 2020-08-12 17:11:10 +02:00
woothu
de605cc1aa chore: add changelog 2020-08-12 17:08:24 +02:00
woothu
92f55b8cdf chore: 3.1.0 release - update dependencies 2020-08-12 17:03:43 +02:00
woothu
68ce41db68 fix: fix template testing 2020-07-30 12:32:59 +02:00
woothu
fd5236d473 chore: 3.0.0 version release - update dependencies 2020-06-17 15:45:12 +02:00
woothu
8e4fbc2aa8 refactor: update icons to version 2, rtl fixes 2020-06-08 13:58:51 +02:00
woothu
1df8c15030 refacotor: template updates 2020-06-01 18:34:07 +02:00
woothu
d940f92ef7 chore: 3.0.0-beta.1 release 2020-05-26 13:16:49 +02:00
woothu
e236aad4ab chore: clear packages 2020-05-22 12:56:45 +02:00
woothu
cc795425bb feat: update template to version 3 2020-05-22 11:23:29 +02:00
xidedix
0350bfdb42 Ship: v2.6.1 2020-05-19 00:13:49 +02:00
xidedix
01f3555385 chore: dependencies update
- update: `@coreui/coreui` to `^2.1.16`
- update: `@coreui/react` to `^2.5.7`
- update: `bootstrap` to `^4.5.0`
- update: `chart.js` to `^2.9.3`
- update: `core-js` to `^3.6.5`
- update: `enzyme` to `^3.11.0`
- update: `enzyme-adapter-react-16` to `^1.15.2`
- update: `flag-icon-css` to `^3.4.6`
- update: `node-sass` to `^4.14.1`
- update: `react` to `^16.13.1`
- update: `react-app-polyfill` to `^1.0.6`
- update: `react-chartjs-2` to `^2.9.0`
- update: `react-dom` to `^16.13.1`
- update: `react-router-config` to `^5.1.1`
- update: `react-router-dom` to `^5.2.0`
- update: `react-test-renderer` to `^16.13.1`
- update: `reactstrap` to `^8.4.1`
- update: `react-scripts` to `^3.4.1`
2020-05-19 00:12:29 +02:00
xidedix
b9626a8ae6 v2.6.0 version bump 2019-06-17 21:24:55 +02:00
xidedix
f99dfd7ce7 chore: dependencies update
- update: `@coreui/coreui` to `^2.1.12`
- update: `@coreui/coreui-plugin-chartjs-custom-tooltips` to `^1.3.1`
- update: `@coreui/react` to `^2.5.1`
- update: `core-js` to `^3.1.4`
- update: `enzyme` to `^3.10.0`
- update: `enzyme-adapter-react-16` to `^1.14.0`
- update: `react-router-config` to `^5.0.1`
- update: `react-router-dom` to `^5.0.1`
- update: `reactstrap` to `^8.0.0`
2019-06-17 20:51:24 +02:00
xidedix
25c8f9f84e Ship: v2.5.0 2019-05-16 17:58:39 +02:00
xidedix
349393e60b refactor: update to react router v5
###### dependencies update
- update: `@coreui/react` to `~2.5.0`
- update: `react-router-config` to `^5.0.0`
- update: `react-router-dom` to `^5.0.0`

__BREAKING CHANGES__
- drop 'Breadcrumb' in favour of `Breadcrumb2`
- drop 'SidebarNav' in favour of `SidebarNav2`
- __Breadcrumb2__: **mandatory** prop `router` see > [Breadcrumb](./src/Breadcrumb.md)
- __SidebarNav2__: **mandatory** prop `router`  see > [SidebarNav](./src/SidebarNav.md)

React Router v5 uses the new React Context API, which is incompatible with version used in 4.3.
That's a breaking change. With raw upgrade to v5, you can encounter an error message: `You should not render a <Route> outside a <Router>` or `You should not use <Link> outside a <Router>` etc... It means that Route, Link etc, can't find the correct context object because `Breadcrumb` and `SidebarNav` components have their own context object.

It's important to use the same instance of the `react-router-dom v5` library with template and coreui components. `@coreui/react` version `2.5.0` moves react-router-dom form dependencies to peerDependecies and takes the same library/module from the template/app instead. We have to pass router module object as a prop to `<AppSidebarNav>` and `<AppBreadcrumb>`

#####_migration guide v2.1 -> v2.5_ 💥
1. update `dependencies` in `package.json`
   - [ ] `@coreui/react` to `~2.5.0`
   - [ ] `react-router-dom` to `^5.0.0`
   - [ ] `react-router-config` to `^5.0.0`

2. modify `DefaultLayout.js`
   - [ ] import react-router-dom module as an object
     ```
     import * as router from 'react-router-dom';
     ```
   - [ ] import new versions of components `AppBreadcrumb2` and `AppSidebarNav2` (alias is optional, just keep consistency with markup)
     ```jsx
     import {
       ...
       AppBreadcrumb2 as AppBreadcrumb,
       AppSidebarNav2 as AppSidebarNav
       ...
     } from '@coreui/react';
     ```
   - [ ] inject `router` object as a prop to `<AppSidebarNav>` and `<AppBreadcrumb>`
     ```html
     <AppSidebarNav navConfig={navigation} {...this.props} router={router}/>
     ```

     ```html
     <AppBreadcrumb appRoutes={routes} router={router}/>
     ```

---
2019-05-16 17:51:38 +02:00