Skip to content

Commit 18147e1

Browse files
authored
Changelog: New API
Introducing a simpler two argument API. Check the updated README.md for instructions!
1 parent 7044713 commit 18147e1

File tree

10 files changed

+347
-140
lines changed

10 files changed

+347
-140
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ dist
22
docs/**/*
33
!docs/.nojekyll
44
node_modules
5+
cypress/videos
6+
cypress/screenshots
57

68
test/bundle.js

CHANGELOG.md

Lines changed: 61 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,152 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5-
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
and this project adheres to
7+
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
68

79
## [Unreleased]
810

11+
## [1.3.0] - 2017-11-12
12+
13+
### Added
14+
15+
* New API interface (#148 @tonybdesign)
16+
917
## [1.2.8] - 2017-11-05
18+
1019
### Fixed
11-
* Missing TypeScript definitions and rollup/webpack pkg.module files from published package (#145)
20+
21+
* Missing TypeScript definitions and rollup/webpack pkg.module files from
22+
published package (#145)
1223

1324
## [1.2.7] - 2017-11-05
25+
1426
### Fixed
15-
* Package published on npm contained unnecessary files bloating the package (#144)
27+
28+
* Package published on npm contained unnecessary files bloating the package
29+
(#144)
1630

1731
## [1.2.6] - 2017-11-05
32+
1833
### Fixed
34+
1935
* Don't use postinstall as it runs in userland (#143)
2036

2137
## [1.2.5] - 2017-11-05
38+
2239
### Fixed
23-
* Migrate tests to [new page](https://stipsan.github.io/scroll-into-view-if-needed/) that showcases how it works (#141)
40+
41+
* Migrate tests to
42+
[new page](https://stipsan.github.io/scroll-into-view-if-needed/) that
43+
showcases how it works (#141)
2444

2545
## [1.2.4] - 2017-11-05
46+
2647
### Fixed
48+
2749
* TypeScript requires HTMLElement when it should accept Element (#140)
2850

2951
## [1.2.3] - 2017-11-04
52+
3053
### Fixed
54+
3155
* Incorrect TypeScript declarations and export format (#136)
3256

3357
## [1.2.2] - 2017-10-29
58+
3459
### Fixed
60+
3561
* Incorrect export declaration in TS typings (#132)
3662

3763
## [1.2.1] - 2017-10-02
64+
3865
### Fixed
66+
3967
* Fifth option should be optional (#129)
4068

4169
## [1.2.0] - 2017-10-01
70+
4271
### Added
72+
4373
* Set offset feature (#127 @iwangulenko)
4474

4575
## [1.1.1] - 2017-10-01
76+
4677
### Fixed
47-
* Windows compatibility and CommonJS interop change back to Babel 5 functionality (#121 @khell)
78+
79+
* Windows compatibility and CommonJS interop change back to Babel 5
80+
functionality (#121 @khell)
4881

4982
## [1.1.0] - 2017-03-29
83+
5084
### Added
51-
* An optional argument finalElement was added to limit the scope of the function (#108 @hemnstill)
85+
86+
* An optional argument finalElement was added to limit the scope of the function
87+
(#108 @hemnstill)
5288

5389
## [1.0.7] - 2017-03-14
90+
5491
### Added
92+
5593
* MIT License (#107 @JKillian)
5694

5795
### Changed
96+
5897
* Reduced size of dist build by switching from rollup to babel (#106 @JKillian)
5998

6099
## [1.0.6] - 2016-11-17
100+
61101
### Changed
102+
62103
* Updated typescript definition making options optional (#75 @pelotom)
63104

64105
## [1.0.5] - 2016-11-12
106+
65107
### Fixed
108+
66109
* Fix TypeScript definition file issues (#74 @forabi)
67110

68111
### Documentation
112+
69113
* React example snippet in readme.
70114

71115
## [1.0.4] - 2016-10-31
116+
72117
### Added
118+
73119
* Changelog readme.
74120
* TypeScript definition file (#73 @forabi)
75121

76122
## 1.0.3 - 2016-09-30
123+
77124
### Documentation
125+
78126
* link to official ponyfill page (#68 @sindresorhus)
79127

80128
## 1.0.2 - 2016-04-18
129+
81130
### Added
131+
82132
* Greenkeeper
83133

84134
### Fixes
135+
85136
* Incomatibility with default webpack config.
86137

87138
## 1.0.1 - 2016-04-18
88139

89140
* PULLED: accidentally pushed incomplete build to npm!
90141

91142
## 1.0.0 - 2016-04-18
143+
92144
### Added
145+
93146
* Initial release.
94147

95-
[Unreleased]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.8...HEAD
148+
[unreleased]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.3.0...HEAD
149+
[1.3.0]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.8...v1.3.0
96150
[1.2.8]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.7...v1.2.8
97151
[1.2.7]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.6...v1.2.7
98152
[1.2.6]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.5...v1.2.6

0 commit comments

Comments
 (0)