Skip to content

Commit be535e9

Browse files
committed
docs(changelog): Rewrite changelog
1 parent 6a47db9 commit be535e9

File tree

1 file changed

+184
-119
lines changed

1 file changed

+184
-119
lines changed

CHANGELOG.md

Lines changed: 184 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
# Changelog
1+
# Change Log
22

3-
### 1.1.0 (June 13, 2017)
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5-
#### New Features
5+
<a name="1.1.0"></a>
6+
## [1.1.0](https://github.com/researchgate/node-package-blueprint/compare/v1.0.0...v1.1.0) (2017-06-13)
67

7-
- Add nested TabList and TabPanel support ([#184](https://github.com/reactjs/react-tabs/pull/184)) (Emmet McPoland)
8+
### Features
9+
10+
* Add nested TabList and TabPanel support ([#184](https://github.com/reactjs/react-tabs/pull/184)) (Emmet McPoland)
811

912
This allows random elements as children for the `<Tabs />` component, for example:
10-
13+
1114
```jsx
1215
<Tabs>
1316
<div id="tabs-nav-wrapper">
@@ -23,14 +26,52 @@ This allows random elements as children for the `<Tabs />` component, for exampl
2326
</Tabs>
2427
```
2528

26-
### 1.0.0 (May 10, 2017)
29+
<a name="1.0.0"></a>
30+
## [1.0.0](https://github.com/researchgate/node-package-blueprint/compare/v0.8.3...v1.0.0) (2017-05-10)
31+
32+
### Features
33+
34+
* New static method to reset the id counter for isomorphic apps. Call this before rendering your application on the server. ([#129](https://github.com/reactjs/react-tabs/pull/129)) (Neehar Venugopal)
35+
36+
```js
37+
import { resetIdCounter } from 'react-tabs';
38+
39+
resetIdCounter();
40+
```
41+
42+
* Allows arbitrary components anywhere inside `<TabList>` ([#139](https://github.com/reactjs/react-tabs/pull/139)) (Alexander Wallin)
43+
* Allow random order of `<TabList />`, `<TabPanel />` and other arbitrary components. The `<TabPanel />` components are matched to the `<Tab />` components in order from top to bottom.
44+
45+
```js
46+
<Tabs>
47+
<TabPanel />
48+
<div />
49+
<TabList>
50+
<Tab />
51+
<Tab />
52+
</TabList>
53+
<span />
54+
<TabPanel />
55+
</Tabs>
56+
```
57+
58+
* Introduce controlled and uncontrolled mode. This two modes allow either to control the tabs from your component from the outside or leave the control to the tabs within react-tabs components. (see [README.md](https://github.com/reactjs/react-tabs#controlled-vs-uncontrolled-mode) for more information)
59+
* New prop `selectedTabPanelClassName` on `<Tabs />` to change the class name of the current selected tab panel.
60+
* New prop `defaultIndex` on `<Tabs />` to allow setting the initial displayed tab.
61+
* New prop `forceRender` on `<TabPanel />` to allow force rendering of individual tab panels.
62+
* New prop `selectedClassName` on `<TabPanel />` to allow changing selected class name of individual tab panels.
63+
* New prop `selectedClassName` on `<Tab />` to allow changing selected class name of individual tabs.
64+
* New prop `disabledClassName` on `<Tab />` to allow changing disabled class name of individual tabs.
65+
* Property `className` on all components can now officially take an array as argument.
66+
* PropTypes are now wrapped in `if(process.env.NODE_ENV === 'production') Component.propTypes = { ... }` in order to allow removing of proptypes in production builds.
2767

28-
#### Breaking Changes
68+
### BREAKING CHANGES
2969

30-
- Peer dependency for react requires now `^0.14.9` or `^15.3.0`
31-
- `activeTabClassName` moved from `<TabList />` to `<Tabs />` and renamed to `selectedTabClassName`
32-
- `disabledTabClassName` moved from `<TabList />` to `<Tabs />`
33-
- `className` property on all components now overwrites the default classes instead of adding a second class name
70+
71+
* Peer dependency for react requires now `^0.14.9` or `^15.3.0`
72+
* `activeTabClassName` moved from `<TabList />` to `<Tabs />` and renamed to `selectedTabClassName`
73+
* `disabledTabClassName` moved from `<TabList />` to `<Tabs />`
74+
* `className` property on all components now overwrites the default classes instead of adding a second class name
3475

3576
```js
3677
// 0.8
@@ -50,10 +91,10 @@ This allows random elements as children for the `<Tabs />` component, for exampl
5091
</Tabs>
5192
```
5293

53-
- `selectedIndex` now enables controlled mode, which disables internal management of the active tab. If you were using `selectedIndex` before to set the initial displayed tab use `defaultIndex` now.
54-
- The value `-1` for `selectedIndex` and `defaultIndex` do not activate the first tab anymore, but instead display no tab panel at all. Use `-1` if you want to display only the tabs but have non of them being selected. If you want to have the first tab selected us `0`.
55-
- Support for bower package manager was removed.
56-
- Removed deprecated default export of tabs:
94+
* `selectedIndex` now enables controlled mode, which disables internal management of the active tab. If you were using `selectedIndex` before to set the initial displayed tab use `defaultIndex` now.
95+
* The value `-1` for `selectedIndex` and `defaultIndex` do not activate the first tab anymore, but instead display no tab panel at all. Use `-1` if you want to display only the tabs but have non of them being selected. If you want to have the first tab selected us `0`.
96+
* Support for bower package manager was removed.
97+
* Removed deprecated default export of tabs:
5798

5899
```js
59100
// 0.8
@@ -67,9 +108,9 @@ import { Tabs } from 'react-tabs';
67108
<Tabs></Tabs>
68109
```
69110

70-
- Removed jsstylesheet dependency and removed default style from javascript. If you want to use the default styles you can use one of the supported methods (see [README.md](https://github.com/reactjs/react-tabs#styling))
71-
- The default class names were all lowercased and separated by hyphen, but still follow BEM methodology. E.g. `ReactTabs` -> `react-tabs`, `ReactTabs__TabPanel--selected` -> `react-tabs__tab-panel--selected`
72-
- `<TabPanel />` components do not set the inline style `display: none` anymore. Hidding and showing a tab panel is now completely done via css and classnames. If you have your own style for the tabs make sure to add the following rules:
111+
* Removed jsstylesheet dependency and removed default style from javascript. If you want to use the default styles you can use one of the supported methods (see [README.md](https://github.com/reactjs/react-tabs#styling))
112+
* The default class names were all lowercased and separated by hyphen, but still follow BEM methodology. E.g. `ReactTabs` -> `react-tabs`, `ReactTabs__TabPanel--selected` -> `react-tabs__tab-panel--selected`
113+
* `<TabPanel />` components do not set the inline style `display: none` anymore. Hidding and showing a tab panel is now completely done via css and classnames. If you have your own style for the tabs make sure to add the following rules:
73114

74115
```css
75116
.react-tabs__tab-panel {
@@ -82,156 +123,180 @@ import { Tabs } from 'react-tabs';
82123
/* If you use custom class names obviously use the class names you set for the tab panels and selected tab panels */
83124
```
84125

85-
#### New Features
126+
<a name="0.8.3"></a>
127+
## [0.8.3](https://github.com/researchgate/node-package-blueprint/compare/v0.8.2...v0.8.3) (2017-04-19)
86128

87-
- New static method to reset the id counter for isomorphic apps. Call this before rendering your application on the server. (#129) (Neehar Venugopal)
129+
### Bug Fixes
88130

89-
```js
90-
import { resetIdCounter } from 'react-tabs';
131+
* Fix deprecation warnings with react 15.5
91132

92-
resetIdCounter();
93-
```
133+
<a name="0.8.2"></a>
134+
## [0.8.2](https://github.com/researchgate/node-package-blueprint/compare/v0.8.1...v0.8.2) (2016-10-19)
94135

95-
- Allows arbitrary components anywhere inside `<TabList>` (#139) (Alexander Wallin)
96-
- Allow random order of `<TabList />`, `<TabPanel />` and other arbitrary components. The `<TabPanel />` components are matched to the `<Tab />` components in order from top to bottom.
136+
### Bug Fixes
97137

98-
```js
99-
<Tabs>
100-
<TabPanel />
101-
<div />
102-
<TabList>
103-
<Tab />
104-
<Tab />
105-
</TabList>
106-
<span />
107-
<TabPanel />
108-
</Tabs>
109-
```
138+
* Fix UMD build ([#143](https://github.com/reactjs/react-tabs/pull/143))
139+
140+
<a name="0.8.0"></a>
141+
## [0.8.0](https://github.com/researchgate/node-package-blueprint/compare/v0.7.0...v0.8.0) (2016-09-14)
142+
143+
### Features
144+
145+
* Allow other components inside TabList ([#123](https://github.com/reactjs/react-tabs/pull/123))
146+
147+
<a name="0.7.0"></a>
148+
## [0.7.0](https://github.com/researchgate/node-package-blueprint/compare/v0.6.2...v0.7.0) (2016-07-05)
149+
150+
### Features
151+
152+
* Feature/add custom active and disabled class ([#108](https://github.com/reactjs/react-tabs/pull/108))
153+
* Remove aria-expanded attribute ([#71](https://github.com/reactjs/react-tabs/pull/71))
154+
155+
### Bug Fixes
156+
157+
* Fix warning with react 15.2
158+
159+
<a name="0.6.2"></a>
160+
## [0.6.2](https://github.com/researchgate/node-package-blueprint/compare/v0.6.1...v0.6.2) (2016-06-24)
161+
162+
### Bug Fixes
163+
164+
* Fix bower bundling ([#111](https://github.com/reactjs/react-tabs/pull/111), [#112](https://github.com/reactjs/react-tabs/pull/112))
165+
166+
<a name="0.6.1"></a>
167+
## [0.6.1](https://github.com/researchgate/node-package-blueprint/compare/v0.6.0...v0.6.1) (2016-06-23)
168+
169+
### Bug Fixes
170+
171+
* Allow setState in onSelect ([#51](https://github.com/reactjs/react-tabs/pull/51), [#110](https://github.com/reactjs/react-tabs/pull/110))
172+
173+
<a name="0.6.0"></a>
174+
## [0.6.0](https://github.com/researchgate/node-package-blueprint/compare/v0.5.5...v0.6.0) (2016-06-20)
175+
176+
### Features
177+
178+
* Add a cancel option to tab change event handler ([#73](https://github.com/reactjs/react-tabs/pull/73))
179+
* Allow passing through custom attributes ([#93](https://github.com/reactjs/react-tabs/pull/93))
180+
181+
### Bug Fixes
110182

111-
- Introduce controlled and uncontrolled mode. This two modes allow either to control the tabs from your component from the outside or leave the control to the tabs within react-tabs components. (see [README.md](https://github.com/reactjs/react-tabs#controlled-vs-uncontrolled-mode) for more information)
112-
- New prop `selectedTabPanelClassName` on `<Tabs />` to change the class name of the current selected tab panel.
113-
- New prop `defaultIndex` on `<Tabs />` to allow setting the initial displayed tab.
114-
- New prop `forceRender` on `<TabPanel />` to allow force rendering of individual tab panels.
115-
- New prop `selectedClassName` on `<TabPanel />` to allow changing selected class name of individual tab panels.
116-
- New prop `selectedClassName` on `<Tab />` to allow changing selected class name of individual tabs.
117-
- New prop `disabledClassName` on `<Tab />` to allow changing disabled class name of individual tabs.
118-
- Property `className` on all components can now officially take an array as argument.
119-
- PropTypes are now wrapped in `if(process.env.NODE_ENV === 'production') Component.propTypes = { ... }` in order to allow removing of proptypes in production builds.
183+
* DOMNode.setAttribute() expects the second param to be string ([#75](https://github.com/reactjs/react-tabs/pull/75), [#76](https://github.com/reactjs/react-tabs/pull/76))
184+
* Fix nesting of multiple instances of react-tabs ([#103](https://github.com/reactjs/react-tabs/pull/103))
120185

121-
#### Documentation
186+
<a name="0.5.5"></a>
187+
## [0.5.5](https://github.com/researchgate/node-package-blueprint/compare/v0.5.4...v0.5.5) (2016-06-13)
122188

123-
- Rewrite README.md
124-
- Change ReactDOM.render to render (#163) (Gerard Banasig)
125-
- Add NPM package badge (#164) (Hum4n01d)
189+
### Bug Fixes
126190

127-
#### Internal
191+
* Fix main exports of react tabs which were broken in 0.5.4
128192

129-
- Refactor components to use native classes (#134) (LeoAJ)
130-
- Refactor to not use react-dom and remove dependency on it
131-
- Update dependencies
132-
- Rename main.js to index.js
133-
- Update travis versions
134-
- Use prettier (#169)
193+
<a name="0.5.4"></a>
194+
## [0.5.4](https://github.com/researchgate/node-package-blueprint/compare/v0.5.4...v0.5.4) (2016-06-10)
135195

136-
### 0.8.3 (Apr 19, 2017)
196+
### Bug Fixes
137197

138-
- Fix deprecation warnings with react 15.5
198+
* Update to support react 15 ([#94](https://github.com/reactjs/react-tabs/pull/94))
139199

140-
### 0.8.2 (Oct 19, 2016)
200+
<a name="0.5.3"></a>
201+
## [0.5.3](https://github.com/researchgate/node-package-blueprint/compare/v0.5.2...v0.5.3) (2016-02-01)
141202

142-
- Fix UMD build (#143)
203+
### Bug Fixes
143204

144-
### 0.8.0 (Sep 14, 2016)
205+
* use correct spelling of aria-labelledby ([#67](https://github.com/reactjs/react-tabs/pull/67))
145206

146-
- Allow other components inside TabList (#123)
207+
<a name="0.5.2"></a>
208+
## [0.5.2](https://github.com/researchgate/node-package-blueprint/compare/v0.5.1...v0.5.2) (2016-01-29)
147209

148-
### 0.7.0 (Jul 05, 2016)
210+
### Bug Fixes
149211

150-
- Feature/add custom active and disabled class (#108)
151-
- Remove aria-expanded attribute (#71)
152-
- Fix warning with react 15.2
212+
* Server Side Rendering won't work with default styles ([#45](https://github.com/reactjs/react-tabs/pull/45))
153213

154-
### 0.6.2 (Jun 24, 2016)
214+
<a name="0.5.1"></a>
215+
## [0.5.1](https://github.com/researchgate/node-package-blueprint/compare/v0.5.0...v0.5.1) (2015-10-22)
155216

156-
- Fix bower bundling (#111, #112)
217+
### Bug Fixes
157218

158-
### 0.6.1 (Jun 23, 2016)
219+
* Removing ReactDOM from bundle
159220

160-
- Allow setState in onSelect (#51, #110)
221+
<a name="0.5.0"></a>
222+
## [0.5.0](https://github.com/researchgate/node-package-blueprint/compare/v0.4.1...v0.5.0) (2015-10-22)
161223

162-
### 0.6.0 (Jun 20, 2016)
224+
### Features
163225

164-
- Add a cancel option to tab change event handler (#73)
165-
- DOMNode.setAttribute() expects the second param to be string (#75, #76)
166-
- Allow passing through custom attributes (#93)
167-
- Fix nesting of multiple instances of react-tabs (#103)
226+
* New configuration to disable styling via jss ([#25](https://github.com/reactjs/react-tabs/pull/25))
227+
* Avoid white on white Tab labels ([#40](https://github.com/reactjs/react-tabs/pull/40))
228+
* Support react 0.14 ([#43](https://github.com/reactjs/react-tabs/pull/43))
168229

169-
### 0.5.5 (Jun 13, 2016)
230+
### Bug Fixes
170231

171-
- Fix main exports of react tabs which were broken in 0.5.4
232+
* Fix conditional rendering of tabs ([#37](https://github.com/reactjs/react-tabs/pull/37))
233+
* Issue when conditionally rendering Tab/TabPanel ([#37](https://github.com/reactjs/react-tabs/pull/37))
172234

173-
### 0.5.4 (Jun 10, 2016)
235+
<a name="0.4.1"></a>
236+
## [0.4.1](https://github.com/researchgate/node-package-blueprint/compare/v0.4.0...v0.4.1) (2015-09-22)
174237

175-
- Update to support react 15 (#94)
238+
### Bug Fixes
176239

177-
### 0.5.3 (Feb 01, 2016)
240+
* Do not bundle react into dist ([#26](https://github.com/reactjs/react-tabs/pull/26))
178241

179-
- use correct spelling of aria-labelledby (#67)
242+
<a name="0.4.0"></a>
243+
## [0.4.0](https://github.com/researchgate/node-package-blueprint/compare/v0.3.0...v0.4.0) (2015-08-18)
180244

181-
### 0.5.2 (Jan 29, 2016)
245+
### Features
182246

183-
- Server Side Rendering won't work with default styles (#45)
247+
* Support rendering of hidden Tabs ([#28](https://github.com/reactjs/react-tabs/pull/28))
248+
* Support supplying array of child nodes to Tab ([#27](https://github.com/reactjs/react-tabs/pull/27))
184249

185-
### 0.5.1 (Oct 22, 2015)
250+
<a name="0.3.0"></a>
251+
## [0.3.0](https://github.com/researchgate/node-package-blueprint/compare/v0.2.1...v0.3.0) (2015-08-11)
186252

187-
- Removing ReactDOM from bundle
253+
### Features
188254

189-
### 0.5.0 (Oct 22, 2015)
255+
* Support for disabling tabs
190256

191-
- Fix conditional rendering of tabs (#37)
192-
- New configuration to disable styling via jss (#25)
193-
- Avoid white on white Tab labels (#40)
194-
- Support react 0.14 (#43)
195-
- Issue when conditionally rendering Tab/TabPanel (#37)
257+
<a name="0.2.1"></a>
258+
## [0.2.1](https://github.com/researchgate/node-package-blueprint/compare/v0.2.0...v0.2.1) (2015-01-26)
196259

197-
### 0.4.1 (Sep 09, 2015)
260+
### Bug Fixes
198261

199-
- Do not bundle react into dist (#26)
262+
* Bower support ([#22](https://github.com/reactjs/react-tabs/pull/22))
263+
* Issue with React being included twice ([#23](https://github.com/reactjs/react-tabs/pull/23))
200264

201-
### 0.4.0 (Aug 18, 2015)
265+
<a name="0.2.0"></a>
266+
## [0.2.0](https://github.com/researchgate/node-package-blueprint/compare/v0.1.2...v0.2.0) (2015-01-07)
202267

203-
- Support rendering of hidden Tabs (#28)
204-
- Support supplying array of child nodes to Tab (#27)
268+
### Features
205269

206-
### 0.3.0 (Aug 11, 2015)
270+
* Allowing children of Tab to select Tab ([#9](https://github.com/reactjs/react-tabs/pull/9))
271+
* Only render the selected TabPanel
272+
* Upgrading to React 0.13
273+
* Removing JSX
207274

208-
- Support for disabling tabs
275+
### Bug Fixes
209276

210-
### 0.2.1 (Jun 26, 2015)
277+
* Fixing issue with focus management ([#7](https://github.com/reactjs/react-tabs/pull/7))
278+
* Fixing issue caused by no children being provided ([#6](https://github.com/reactjs/react-tabs/pull/6))
279+
* Fixing issue that made dynamic Tabs difficult
211280

212-
- Bower support (#22)
213-
- Issue with React being included twice (#23)
281+
<a name="0.1.2"></a>
282+
## [0.1.2](https://github.com/researchgate/node-package-blueprint/compare/v0.1.1...v0.1.2) (2014-07-23)
214283

215-
### 0.2.0 (Jun 07, 2015)
284+
### Bug Fixes
216285

217-
- Allowing children of Tab to select Tab (#9)
218-
- Only render the selected TabPanel
219-
- Upgrading to React 0.13
220-
- Removing JSX
221-
- Fixing issue with focus management (#7)
222-
- Fixing issue caused by no children being provided (#6)
223-
- Fixing issue that made dynamic Tabs difficult
286+
* Making Tab and TabPanel to be stateless
287+
* Throwing Error when Tab count and TabPanel count aren't equal
224288

225-
### 0.1.2 (Jul 23, 2014)
289+
<a name="0.1.1"></a>
290+
## [0.1.1](https://github.com/researchgate/node-package-blueprint/compare/v0.1.0...v0.1.1) (2014-07-19)
226291

227-
- Making Tab and TabPanel to be stateless
228-
- Throwing Error when Tab count and TabPanel count aren't equal
292+
### Bug Fixes
229293

230-
### 0.1.1 (Jul 19, 2014)
294+
* Fixing warning: Invalid access to component property
295+
* Fixing style weirdness in Firefox
231296

232-
- Fixing warning: Invalid access to component property
233-
- Fixing style weirdness in Firefox
297+
<a name="0.1.0"></a>
298+
## 0.1.0 (2014-07-18)
234299

235-
### 0.1.0 (Jul 18, 2014)
300+
### Features
236301

237-
- Initial release
302+
* Initial release

0 commit comments

Comments
 (0)