Skip to content

Commit

Permalink
early draft of v4
Browse files Browse the repository at this point in the history
  • Loading branch information
fed135 committed Mar 18, 2020
1 parent 3fc01d8 commit e6191a5
Show file tree
Hide file tree
Showing 32 changed files with 1,164 additions and 147 deletions.
127 changes: 126 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,127 @@
#### 3.3.0 (2020-03-17)
# Changelog

## [v3.3.0] - 2020-01-30

commit: [af46059](https://github.com/kalm/kalm.js/commit/af4605958c567b5243887f911850a3c0eb6c6659)

### Added
- Adds webrtc package and examples
- Adds the getChannels method on Client

### Removed
- Removed home implementation of EventEmitter in favor of Node's

## [v3.2.3] - 2020-01-14

commit: [c188225](https://github.com/kalm/kalm.js/commit/c18822532a49f2026eddf44cfbe3cfc1521110f8)

### Added
- Added pre-hook for lint on commit

### Changed
- Cleaned up Types management and typings file accessibility
- Migrated test suite to Jest and centralized test tooling
- Removed output rollup, and using only tsc with none modules
- Fixed linting (was not targeting .ts files properly)
- Fixed stats events (were previously unreachable, now exposed through client emitter as .*)
- Fixed timeout behavior (only logged, now actually disconnects)

## [v3.1.2] - 2019-07-01

commit: [fac8047](https://github.com/kalm/kalm.js/commit/fac8047d4b7048d56803505103159e16d8f518a8)

### Changed
- Changed dev tooling from lerna to yarn workspaces
- Changed dev tooling from tslint to eslint + @typescript-eslint
- Housekeeping

## [v3.0.0] - 2019-01-18

commit: [a4c687d](https://github.com/kalm/kalm.js/commit/a4c687dd5786a70723d9d0964a9d189220d58418)

### Added
- New monorepo structure
- Massive new changes to the interface

### Changed
- Serialization is now a toggle for json/binary
- Re-written the entire codebase in Typescript

### Removed
- Transports are no longer bundled and must be installed separately and must be instantiated with options.
- [ipc](https://www.npmjs.com/package/@kalm/ipc)
- [tcp](https://www.npmjs.com/package/@kalm/tcp)
- [udp](https://www.npmjs.com/package/@kalm/udp)
- [ws](https://www.npmjs.com/package/@kalm/ws)
- Profiles become routines and must be instantiated with options.
- No more session stores
- No more encryption

## [v2.6.1] - 2018-01-27

commit: [7393d17](https://github.com/kalm/kalm.js/commit/7393d17efb02088d7283ba83108fd7ab15e3d39e)

### Added
- Added package-lock.json file
- Added server reference in the client object

## [v2.5.0] - 2017-09-21

commit: [2c687f6](https://github.com/kalm/kalm.js/commit/2c687f6074787af6b39c10abe19669fe20e7b02d)

### Added
- Added engines reqs

### Changed
- Some minor performance tuning

## [v2.4.0] - 2017-09-01

commit: [a7b8f95](https://github.com/kalm/kalm.js/commit/a7b8f950da56cbe35c538dc02e3dcc0e6d3a3db3)

### Changed
- Tuned performances
- Added build targets for Node 8.x and 6.x
- UDP client cache (tied with socketTimeout)
- Bumped dependencies
- Proper callback on disconnect

### Removed
- Dropped support for Node 4.x

## [v2.3.0] - 2017-07-25

commit: [f323bcd](https://github.com/kalm/kalm.js/commit/f323bcdc163faa40b0f8515fd4a8759e5180f516)

### Added
- Added realtime profile
- Added JSDoc
- Added parameter validation and error messages

### Changed
- Better performances (3x with default congestion)

## [v2.2.0] - 2017-06-21

commit: [b9f3bdd](https://github.com/kalm/kalm.js/commit/b9f3bdd50de8dae2b92a0866d234a0cb2e72f22b)

### Added
- Added support for node 8

## [v2.1.0] - 2017-06-20

commit: [129146f](https://github.com/kalm/kalm.js/commit/129146feeab14e94a540a4d9c54e05a4614fdb39)

### Changed
- Simplified and optimized queue system logic
- Now allowing 0 to be passed as tick value in profiles
- Added warning when non-serialized message are sent and serial config is `null`
- Fixed hanging packets on maxBytes just reached

## [v2.0.0] - 2017-03-02

commit: [b5209ec](https://github.com/kalm/kalm.js/commit/b5209ec4d3ab86000b72b502d120f0a5b4da85af)

### Added
- Migrated the codebase from the [original repo](https://github.com/fed135/kalm)
- Implemeted new interface
24 changes: 10 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,18 @@
}
},
"devDependencies": {
"@types/jest": "^24.0.17",
"@types/node": "^13.1.0",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"@types/jest": "^25.1.0",
"@types/node": "^13.9.0",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.19.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.0",
"husky": "^4.2.0",
"jest": "^25.1.0",
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.0",
"ts-jest": "^24.2.0",
"typescript": "^3.7.4"
},
"dependencies": {
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
"ts-jest": "^25.2.0",
"typescript": "^3.8.0"
}
}
127 changes: 127 additions & 0 deletions packages/ipc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# Changelog

## [v3.3.0] - 2020-01-30

commit: [af46059](https://github.com/kalm/kalm.js/commit/af4605958c567b5243887f911850a3c0eb6c6659)

### Added
- Adds webrtc package and examples
- Adds the getChannels method on Client

### Removed
- Removed home implementation of EventEmitter in favor of Node's

## [v3.2.3] - 2020-01-14

commit: [c188225](https://github.com/kalm/kalm.js/commit/c18822532a49f2026eddf44cfbe3cfc1521110f8)

### Added
- Added pre-hook for lint on commit

### Changed
- Cleaned up Types management and typings file accessibility
- Migrated test suite to Jest and centralized test tooling
- Removed output rollup, and using only tsc with none modules
- Fixed linting (was not targeting .ts files properly)
- Fixed stats events (were previously unreachable, now exposed through client emitter as .*)
- Fixed timeout behavior (only logged, now actually disconnects)

## [v3.1.2] - 2019-07-01

commit: [fac8047](https://github.com/kalm/kalm.js/commit/fac8047d4b7048d56803505103159e16d8f518a8)

### Changed
- Changed dev tooling from lerna to yarn workspaces
- Changed dev tooling from tslint to eslint + @typescript-eslint
- Housekeeping

## [v3.0.0] - 2019-01-18

commit: [a4c687d](https://github.com/kalm/kalm.js/commit/a4c687dd5786a70723d9d0964a9d189220d58418)

### Added
- New monorepo structure
- Massive new changes to the interface

### Changed
- Serialization is now a toggle for json/binary
- Re-written the entire codebase in Typescript

### Removed
- Transports are no longer bundled and must be installed separately and must be instantiated with options.
- [ipc](https://www.npmjs.com/package/@kalm/ipc)
- [tcp](https://www.npmjs.com/package/@kalm/tcp)
- [udp](https://www.npmjs.com/package/@kalm/udp)
- [ws](https://www.npmjs.com/package/@kalm/ws)
- Profiles become routines and must be instantiated with options.
- No more session stores
- No more encryption

## [v2.6.1] - 2018-01-27

commit: [7393d17](https://github.com/kalm/kalm.js/commit/7393d17efb02088d7283ba83108fd7ab15e3d39e)

### Added
- Added package-lock.json file
- Added server reference in the client object

## [v2.5.0] - 2017-09-21

commit: [2c687f6](https://github.com/kalm/kalm.js/commit/2c687f6074787af6b39c10abe19669fe20e7b02d)

### Added
- Added engines reqs

### Changed
- Some minor performance tuning

## [v2.4.0] - 2017-09-01

commit: [a7b8f95](https://github.com/kalm/kalm.js/commit/a7b8f950da56cbe35c538dc02e3dcc0e6d3a3db3)

### Changed
- Tuned performances
- Added build targets for Node 8.x and 6.x
- UDP client cache (tied with socketTimeout)
- Bumped dependencies
- Proper callback on disconnect

### Removed
- Dropped support for Node 4.x

## [v2.3.0] - 2017-07-25

commit: [f323bcd](https://github.com/kalm/kalm.js/commit/f323bcdc163faa40b0f8515fd4a8759e5180f516)

### Added
- Added realtime profile
- Added JSDoc
- Added parameter validation and error messages

### Changed
- Better performances (3x with default congestion)

## [v2.2.0] - 2017-06-21

commit: [b9f3bdd](https://github.com/kalm/kalm.js/commit/b9f3bdd50de8dae2b92a0866d234a0cb2e72f22b)

### Added
- Added support for node 8

## [v2.1.0] - 2017-06-20

commit: [129146f](https://github.com/kalm/kalm.js/commit/129146feeab14e94a540a4d9c54e05a4614fdb39)

### Changed
- Simplified and optimized queue system logic
- Now allowing 0 to be passed as tick value in profiles
- Added warning when non-serialized message are sent and serial config is `null`
- Fixed hanging packets on maxBytes just reached

## [v2.0.0] - 2017-03-02

commit: [b5209ec](https://github.com/kalm/kalm.js/commit/b5209ec4d3ab86000b72b502d120f0a5b4da85af)

### Added
- Migrated the codebase from the [original repo](https://github.com/fed135/kalm)
- Implemeted new interface
13 changes: 13 additions & 0 deletions packages/ipc/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2020 Frederic Charette

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
24 changes: 21 additions & 3 deletions packages/ipc/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# Kalm IPC (Inter-process-communication) transport
<h1 align="center">
<a title="The socket optimizer" href="http://kalm.js.org">
<img alt="Kalm" width="300px" src="https://kalm.js.org/images/kalmv3.png" />
<br/>
</a>
Kalm
</h1>
<h3 align="center">
The Socket Optimizer
<br/><br/>
</h3>
<br/>

[![Kalm](https://img.shields.io/npm/v/kalm.svg)](https://www.npmjs.com/package/@kalm/ipc)
[![Build Status](https://github.com/kalm/kalm.js/workflows/master-status/badge.svg)](https://github.com/kalm/kalm.js/actions?query=workflow%3A+master-status)
![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/kalm/kalm.js)
[![Financial Contributors on Open Collective](https://opencollective.com/kalm/all/badge.svg?label=financial+contributors)](https://opencollective.com/kalm)
[![Join the chat at https://gitter.im/KALM/home](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/KALM/?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)


## Installing

Expand All @@ -8,8 +26,8 @@

```
{
socketTimeout = 30000,
path = '/tmp/app.socket-'
socketTimeout: 30000,
path: '/tmp/app.socket'
}
```

Expand Down
16 changes: 2 additions & 14 deletions packages/ipc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,11 @@
"url": "git+https://github.com/kalm/kalm-js.git"
},
"keywords": [
"multiplex",
"framework",
"network",
"optimize",
"realtime",
"socket",
"websocket",
"client",
"server",
"service",
"peer",
"micro",
"latency",
"messaging",
"queue",
"nagle",
"buffer",
"protocol",
"web",
"ipc"
],
"files": ["bin", "types.d.ts"],
Expand Down
Loading

0 comments on commit e6191a5

Please sign in to comment.