Skip to content

Commit ca216d3

Browse files
authored
Merge pull request #423 from serverless-heaven/release-5.2.0
Release 5.2.0
2 parents 1f9ef6d + 67978d0 commit ca216d3

14 files changed

+813
-1088
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ language: node_js
22

33
matrix:
44
include:
5-
- node_js: '4.8.7'
65
- node_js: '6.10.1'
6+
- node_js: '8.11.3'
77

88
sudo: false
99

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ WebPack's [Tree-Shaking][link-webpack-tree] optimization.
2828
* Support NPM and Yarn for packaging
2929
* Support asynchronous webpack configuration
3030

31-
## Recent improvements and important changes
31+
## Recent improvements and important changes for 5.x
3232

3333
* Support Yarn
3434
* Support Webpack 4
35-
* Drop Webpack 2 support
3635
* Cleaned up configuration. You should now use a `custom.webpack` object to configure everything relevant for the plugin. The old configuration still works but will be removed in the next major release. For details see below.
3736
* Added support for asynchronous webpack configuration
3837

@@ -719,7 +718,9 @@ me to take it over and continue working on the project. That helped to revive it
719718
## Release Notes
720719

721720
* 5.2.0
722-
* Added support for asynchronous webpack configuration
721+
* Show info message in verbose mode if aws-sdk has been excluded automatically [#393][link-393]
722+
* Added support for asynchronous webpack configuration [#412][link-412]
723+
* Better error message if handlers are not found [#418][link-418]
723724

724725
* 5.1.5
725726
* Re-publish of 5.1.4 without yarn.lock
@@ -965,3 +966,7 @@ me to take it over and continue working on the project. That helped to revive it
965966
[link-379]: https://github.com/serverless-heaven/serverless-webpack/issues/379
966967
[link-382]: https://github.com/serverless-heaven/serverless-webpack/pull/382
967968
[link-384]: https://github.com/serverless-heaven/serverless-webpack/pull/384
969+
970+
[link-393]: https://github.com/serverless-heaven/serverless-webpack/issues/393
971+
[link-412]: https://github.com/serverless-heaven/serverless-webpack/issues/412
972+
[link-418]: https://github.com/serverless-heaven/serverless-webpack/issues/418

lib/packagers/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('packagers factory', () => {
2222
let module;
2323

2424
before(() => {
25-
sandbox = sinon.sandbox.create();
25+
sandbox = sinon.createSandbox();
2626
npmMock = {
2727
hello: 'I am NPM'
2828
};

lib/packagers/npm.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('npm', () => {
1919
let npmModule;
2020

2121
before(() => {
22-
sandbox = sinon.sandbox.create();
22+
sandbox = sinon.createSandbox();
2323
sandbox.usingPromise(BbPromise.Promise);
2424

2525
sandbox.stub(Utils, 'spawnProcess');

lib/packagers/yarn.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('yarn', () => {
1818
let yarnModule;
1919

2020
before(() => {
21-
sandbox = sinon.sandbox.create();
21+
sandbox = sinon.createSandbox();
2222
sandbox.usingPromise(BbPromise.Promise);
2323

2424
sandbox.stub(Utils, 'spawnProcess');

lib/utils.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('Utils', () => {
1818
let sandbox;
1919

2020
before(() => {
21-
sandbox = sinon.sandbox.create();
21+
sandbox = sinon.createSandbox();
2222
});
2323

2424
after(() => {

0 commit comments

Comments
 (0)