You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update travis for new node version testing
Version 7.0.0 setup
* Added package-lock
Updated some npm modules due to npm audit report
Removed msngr.safe()
Removed msngr.asyncify()
* Build updates
* Reverted grunt minor update as the minor update updates many dependencies that are major and breaking in super old versions of node.
Revert npm audit fixes; they are just build dependencies and I went through them they are of no concern in our usage.
* Cleaned up tiny bit more code
Increased timeout on one weird test case (long explanation but it's fine for now)
Added clean option to grunt / npm scripts
* Minor tweaks
* Update changelog notes
Copy file name to clipboardexpand all lines: CHANGELOG.md
+14
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,20 @@
1
1
# Changelog
2
2
This is a roll-up of all release notes in order of release
3
3
4
+
## [Release 7.0.0 - January 11, 2019](https://github.com/KrisSiegel/msngr.js/releases/tag/7.0.0)
5
+
This release is a new major version due to some API deprecation / removal. Beyond that the API is effectively unchanged and should continue to work unless you used undocumented features that were just removed :)
6
+
7
+
***Breaking changes***
8
+
- Removed `msngr.asyncify`
9
+
- Removed `msngr.safe`
10
+
11
+
***Misc changes***
12
+
- Cleaned up dead code in build and testing scripts
13
+
-`msngr.min.js` size decrease from 11.7kb to 11.1kb
14
+
- Changed `npm test` behavior to no longer rebuild (only runs tests)
15
+
- Added `npm run clean` to clean the current build
16
+
- Added `package-lock.json` for better, reproducible builds
17
+
4
18
## [Release 6.0.0 - July 28, 2017](https://github.com/KrisSiegel/msngr.js/releases/tag/6.0.0)
5
19
This release is a re-focusing on what makes msngr.js great. It removes the mache cache, the global configuration object and the universal networking to focus only on messaging and processing of messages. Additional, internal refactoring was also done to further shrink the filesize to a gzipped size of roughly 3kb.
// Couldn't care less as opposed to the commonly misused "could care less"
251
-
// in which you actually do care a little. No, I couldn't care less because
252
-
// this error just means there are no commands to reflect :)
253
-
}
254
-
255
-
if(headers["content-type"]===undefined){
256
-
headers["content-type"]="application/json";
257
-
}
258
-
259
-
response.writeHead(200,headers);
260
-
response.end(JSON.stringify(result,null,2));
261
-
});
262
-
});
263
-
264
-
server.listen("8009","127.0.0.1",function(e){
265
-
console.log("Reflective http server started");
266
-
});
267
-
});
268
-
269
-
/*
270
-
'build' and 'test' are roll-up tasks; they have specific descriptions and execute
217
+
'build' and 'test' are rolled-up tasks; they have specific descriptions and execute
271
218
multiple tasks each to accomplish their goals. These are the only intended tasks
272
-
to be run by the developer.
219
+
to be run by the developer.
220
+
221
+
build -> cleans then builds a new copy of `msngr.js` and `msngr.min.js`.
222
+
test -> executes tests against the `msngr.js` and `msngr.min.js` rolled-up builds.
273
223
*/
274
224
grunt.registerTask("build","Cleans, sets version and builds msngr.js",["header:building","clean","verisionify","concat","uglify:minify","setRunner"]);
275
225
276
-
grunt.registerTask("test","Cleans, sets version, builds and runs mocha unit tests through node.js and phantom.js",["build","header:nodeTesting","start-reflective-server","mochaTest","header:clientTesting","mocha_phantomjs"]);
226
+
grunt.registerTask("test","Cleans, sets version, builds and runs mocha unit tests through node.js and phantom.js",["header:nodeTesting","mochaTest","header:clientTesting","mocha_phantomjs"]);
0 commit comments