Skip to content

Commit 0516c42

Browse files
committed
Updating changelog
1 parent 5cc561b commit 0516c42

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

CHANGELOG.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
# React Responsive Carousel
22

33

4+
## 3.1.23 - Tue Jul 04 2017
5+
* Types author header added.
6+
7+
8+
## 3.1.22 - Mon Jul 03 2017
9+
* `children` prop added.
10+
* TypeScript types definitions file added.
11+
12+
413
## 3.1.21 - Sun Jun 25 2017
14+
* #134: Using move to on componentWillReceiveProps so the carousel respects its boundaries when changed through external controls
515

616

717
## 3.1.20 - Sat Jun 24 2017
18+
* #140: Revert to initial position when movement is less than tolerance
819
* Adding license
920
* Update README.md
1021

@@ -46,20 +57,28 @@ Removes duplicate option from the documentation
4657
## 3.1.12 - Sat Apr 29 2017
4758
* Adding links for changelog and troubleshooting in the readme
4859
* #98: Fixing bug where the Thumbs component would throw an error if a custom component was rendered inside it
60+
* #112: Converting source to es6
61+
* #112: Setup for es6
62+
* Changing publish task
63+
* Creating changelog
4964

5065

5166
## 3.1.11 - Wed Apr 26 2017
67+
* #98: Delay rendering of thumbs when children is not provided
5268
* #98: Adding snapshot tests
69+
* #98: Testing only component source, not storybook
5370

5471

5572
## 3.1.10 - Tue Apr 25 2017
73+
* #109: Move create-react-class to dependencies instead of devDependencies
5674

5775

5876
## 3.1.9 - Mon Apr 24 2017
5977
* #98: Allow carousel slides to be lazy loaded
6078

6179

6280
## 3.1.8 - Mon Apr 24 2017
81+
* Simplify demos
6382
* Updating versions and setup for tests
6483
* Updating storybook + filling in stories
6584
* Updating react and tests
@@ -69,12 +88,9 @@ Removes duplicate option from the documentation
6988
## 3.1.7 - Mon Apr 24 2017
7089
* #104 - Fixes problem where arrows were not appearing after carousel was loaded
7190
* Fix issue when selected image is other than zero index
72-
* Fix #102
7391

7492

7593
## 3.1.6 - Wed Apr 19 2017
76-
* #99: Removing node 4 for incompatibility problems with yarn
77-
* #99: Fixing bug with infinite loop and showArrows=false
7894

7995

8096
## 3.1.5 - Sun Mar 26 2017

generate-changelog.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ var allowedMessages = [
1717
];
1818

1919
var notAllowedMessages = [
20-
'Merge pull request',
21-
'Merge branch',
22-
'Updating changelog'
20+
/^[0-9.]+$/,
21+
/Merge pull request/,
22+
/Merge branch/,
23+
/Updating changelog/,
24+
/Prepare for publishing/
2325
];
2426

2527
function any(list, message) {
26-
return list.filter((item) => message.indexOf(item) !== -1).length > 0;
28+
return list.filter(regexp => regexp.test(message)).length > 0;
2729
};
2830

2931
var log = [];
@@ -52,7 +54,7 @@ function showChanges(data) {
5254
if (version.changes) {
5355
//version.changes is an array of commit messages for that version
5456
version.changes.forEach(function(change) {
55-
if (any(allowedMessages, change.message) && !any(notAllowedMessages, change.message)) {
57+
if (!any(notAllowedMessages, change.message)) {
5658
agreggate(' * ' + change.message);
5759
}
5860
});

0 commit comments

Comments
 (0)