- Upgraded hyperswarm to latest and added several community-run bootstrap nodes.
15.0.1 - 2022-05-24
- Sanitize PMs (#109) (Daniel Chiquito)
15.0.0 - 2021-11-22
The major bump is due to breaking compat with the previously defined PM API; this change does bump the protocol version & is technically wire-compatible with clients running cabal-core versions 14.x.x.
The private messages API is now:
cabal.publishPrivate(message, recipientKey, cb)
- it now only takes objects, instead of previously only accepting strings
- it accepts message types conforming to
chat/*
e.g.chat/text
orchat/emote
- a property
private
is injected into all private messages published viapublishPrivate
Before this change the API was cabal.publishPrivateMessage(text, recipientKey, cb)
, this has
now been removed.
Change by @hackergrrl and @cblgh.
14.1.2 - 2021-10-18
- Docs: Add Table of Contents (
fc66637
) (@ralphtheninja) - Docs: Add CHANGELOG.md, documenting all versions since start of project ((
d3f157a
) ->d8c83ae
) (@ralphtheninja) - Docs: Document changelog under Developing section (
2b6b8f7
) (@ralphtheninja) - Docs: Add changelog:fix script (to fill in details) (
3dcf1b0
) (@ralphtheninja) - Docs: Add changelog scripts to
package.json
(e64244c
) (@ralphtheninja)
- revert removal of hyperswarm-web (
0f7389a
) (@cblgh). - Fixes author field in package.json. (
57e76c6
) (@hackergrrl)
14.1.1 - 2021-09-15
- Upgrade
sodium-universal
for faster installs (#106) (@ralphtheninja)
- Add missing
kappa-view
dependency (@hackergrrl)
- Remove unused dependencies (@hackergrrl)
14.1.0 - 2021-08-21
14.0.0 - 2021-05-18
Breaking change since kappa-core
indirectly pulls in hypercore@9.x
. Also see comment.
- Add private messages (#69) (@hackergrrl)
13.2.0 - 2021-03-06
13.1.0 - 2021-01-12
13.0.2 - 2020-06-24
13.0.1 - 2020-06-22
- Wait for core to pause before closing (
a70505b
) (@hackergrrl)
13.0.0 - 2020-06-07
- Breaking: fix crypto server/client orientation (
2132439
) (@hackergrrl)
12.0.1 - 2020-06-05
- Change sublevel names for moderation view to force index regen (
4f35ed1
) (@hackergrrl) - Add clearIndex lifecycle to channel-membership (
3b6eaeb
) (@hackergrrl)
12.0.0 - 2020-05-22
This was released as a new major since 11.2.1
most likely contained breaking changes.
- Update ocumentation (
e6052a4
) (@hackergrrl)
11.2.1 - 2020-05-22
This version was never published to npm.
- Skip failing moderation tests (
e231a73
) (@hackergrrl) - Update tests to use opts.{mod,admin}Keys (
5f122b7
) (@hackergrrl) - Bump version in moderation view (
d0ad002
) (@hackergrrl)
- Fix skipped failing tests (
e233483
) (@substack) - Remove admins/mods if they are no longer in {admin,mod}Keys (
626d65f
) (@hackergrrl) - Fix some more mod view lifecycle things (
d6d577b
) (@hackergrrl) - Fix moderation view clearing race condition (
d997041
) (@hackergrrl) - Receive admin/mod keys intead of parsing them (
5c7cb7a
) (@hackergrrl) - Add lifecycle management to mod view (
70c86c4
) (@hackergrrl) - Have list wait for the view to be ready (
0214803
) (@hackergrrl)
11.2.0 - 2020-05-22
Changes in this version were based on top of 11.0.2
but with functionality from 11.1.1
merged in.
11.1.1 - 2020-05-22
11.1.0 - 2020-05-21
- Use admin for admins, instead of mod (@cblgh)
- Add test for setting multiple admins and mods in the cabal addr (@substack)
- Add fixes for admin and mod keys in cabal urls (@substack)
11.0.2 - 2020-05-21
- Drop node 8 support, add node 12 (@hackergrrl)
- Move moderation events to api (@hackergrrl)
11.0.1 - 2020-05-20
- Remove flag for moderation (@substack)
11.0.0 - 2020-05-20
- Breaking: add moderation based on flags (#83) (@substack)
- Add support for
mod
andadmin
keys in cabal key uri (@cblgh) - Add
cabal.close()
(@hackergrrl)
10.0.1 - 2020-05-01
- Update
hyperswarm
to2.13.x
(#74) (@nikolaiwarner) - Update
package-lock.json
(here we go again) (#74) (@nikolaiwarner)
10.0.0 - 2020-03-23
- Breaking: use hyperswarm. This removes
discovery-swarm
for finding peers. Peers before this commit will not be able to discover peers from this commit onwards (#71) (@hackergrrl)
- Add
FUNDING.yml
(@cblgh)
9.0.3 - 2020-04-09
- Remove block logic (@hackergrrl)
9.0.2 - 2019-12-11
- Add missing parameter in
isFutureMonotonicTimestamp()
(#68) (@okdistribute)
9.0.1 - 2019-12-04
- Add
cblgh.org
(#67) (@cblgh) - Add nick disco server (#67) (@hackergrrl)
- Add dns-discovery server: eight45.net (#67) (@hackergrrl)
9.0.0 - 2019-11-21
- Breaking: upgrade hypercore (via multifeed) (#61) (@hackergrrl)
- Update
kappa-core
to6.x
(@hackergrrl) - Use
hypercore-crypto
to generate test key (@hackergrrl)
- Add node 10 (#61) (@hackergrrl)
- Wait for view to be ready on mod api (#61) (@hackergrrl)
- Encode now-timestamps to avoid overwrites (#62) (@hackergrrl)
8.0.1 - 2019-10-09
- Fix swarm hashing (@hackergrrl)
8.0.0 - 2019-10-09
- Breaking: hash cabal key with blake2b (@hackergrrl)
- Replace
memdb
withlevel-mem
(#57) (@vweevers)
7.2.1 - 2019-08-27
- Add moderation view (#45) (@substack, @hackergrrl)
- Set max listeners for
Cabal
event emitter (#50) (@cblgh) - Fix a case where channel membership indexing hangs (@hackergrrl)
- Let the network test ignore swarm blocking logic (blocking on remote key instead of host and port) (@hackergrrl)
7.2.0 - 2019-08-20
7.1.0 - 2019-08-19
- Throttle or block misbehaving peers by host and port (@hackergrrl)
7.0.1 - 2019-08-04
- Use the same cabal key consistently (@hackergrrl)
7.0.0 - 2019-08-04
- Breaking: enable multifeed protocol encryption (@hackergrrl)
- Fix net swarm test by using a real hypercore key (@hackergrrl)
6.0.2 - 2019-08-03
- Remove
package-lock.json
(again) (@hackergrrl)
6.0.1 - 2019-07-31
- Add
debug
logging undercabal
for network errors (@hackergrrl)
6.0.0 - 2019-07-03
- Breaking: update
kappa-core
to4.x
(@hackergrrl) - Update
discovery-swarm
to6.x
(@hackergrrl)
- Remove
package-lock.json
(again) (@hackergrrl)
5.1.2 - 2019-06-03
- Remove
package-lock.json
(@hackergrrl)
- Set
.maxFeeds
default to1024
incabal.replicate()
(@hackergrrl)
5.1.1 - 2019-05-26
- Update
kappa-view-level
to^2.0.0
(@hackergrrl)
- Use
base64
for channel view state (@hackergrrl)
5.1.0 - 2019-05-26
- Add
.db
option toCabal
constructor for durable storage (#41) (@substack) - Add
cabal.ready(cb)
(#41) (@substack)
5.0.1 - 2019-05-21
- Update
kappa-core
to^3.0.1
(@hackergrrl) - Update
concat-stream
to^2.0.0
(@hackergrrl) - Update
through2
to^3.0.1
(@hackergrrl)
5.0.0 - 2019-05-21
- Breaking: use
discovery-swarm
to shuttle around peer id (swarm
function now calls back with swarm) (#39) (@hackergrrl) - Breaking: add options parameter to
cabal.replicate(opts)
(.maxFeeds
no longer passed indirectly via theCabal
constructor) (#39) (@hackergrrl)
- Expose swarm functionality via
cabal.swarm(cb)
(#39) (@hackergrrl)
- Remove node 6 from travis (@hackergrrl)
- Remove
multifeed
dependency (@hackergrrl)
4.0.1 - 2019-05-08
- Add an option to set the
.maxFeeds
option ofhypercore-protocol
when replicating (#33) (@nikolaiwarner)
- Allow options for
messages.read()
to take priority over defaults (#29) (@telamon) - Fix error propagation bug in topics view (#30) (@telamon)
4.0.0 - 2018-11-16
This release was based partly from 3.0.4
but also merged in changes from 3.1.0
. Check git history for more fine grained details.
- Breaking: renamed
cabal.protocolVersion
tocabal.databaseVersion
(#28) (@cblgh) - Breaking: renamed
cabal.getProtocolVersion()
tocabal.getDatabaseVersion()
(#28) (@cblgh)
3.0.4 - 2018-11-11
This version was published to npm after 3.1.0
and is almost identical. We therefore only list the changes for 3.0.4
and omit the 3.1.0
version.
- Add view for
topics
(#24) (@nikolaiwarner) - Add
cabal.publishChannelTopic()
(#24) (@nikolaiwarner)
- Fix reliable key exchange (#27) (@hackergrrl)
3.0.3 - 2018-11-06
- Remove unused
crypto
dependency (#21) (@lachenmayer)
3.0.2 - 2018-09-05
There were several tags in between version 3.0.0
and 2.3.0
where @hackergrrl were developing on a separate branch while things were happening on master. Versions 2.3.1
, 3.0.0
and 3.0.1
never got published to npm. Major API rewrite.
- Rename module from
cabal-node
tocabal-core
(@hackergrrl) - Base storage on
kappa
instead ofhyperdb
(@hackergrrl)
- Add
cabal.getUser()
(@hackergrrl) - Add
cabal.publish()
(@hackergrrl) - Add
cabal.publishNick()
(@hackergrrl) - Add
cabal.getLocalKey()
(@hackergrrl) - Add views for
channels
,messages
andusers
(@hackergrrl)
- Breaking: remove
cabal.onconnection()
(@hackergrrl) - Breaking: remove
cabal.watch()
(@hackergrrl) - Breaking: remove
cabal.getMessages()
(@hackergrrl) - Breaking: remove
cabal.getChannels()
(@hackergrrl) - Breaking: remove
cabal.joinChannel()
(@hackergrrl) - Breaking: remove
cabal.leaveChannel()
(@hackergrrl) - Breaking: remove
cabal.createReadStream()
(@hackergrrl) - Breaking: remove
cabal.metadata()
(@hackergrrl) - Breaking: remove
cabal.message()
(@hackergrrl)
2.3.0 - 2018-08-13
This version was published both as cabal-node
and cabal-core
.
- Sort the channel list alphabetically (#8) (@cinnamon-bun)
2.2.0 - 2018-06-23
This version was published as cabal-node
. Should have been a patch instead of a minor version.
- Update
hyperdb
to3.1.2
to fix a connection issue (@cblgh)
2.1.1 - 2018-05-29
This version was published as cabal-node
.
- Fix bug where
cabal.leaveChannel()
didn't actually leave the channel (@okdistribute)
2.1.0 - 2018-05-29
This should have been a patch instead of a minor version. Not published to npm.
- Change how channels are stored internally (@okdistribute)
2.0.1 - 2018-05-27
This version was published as cabal-node
. Should have been a minor instead of a patch version.
- Add message type. Defaults to
'chat/text'
(@cblgh)
2.0.0 - 2018-05-24
This version was published as cabal-node
.
- Breaking: change on-disk format to improve performance getting channel list (#2) (@okdistribute)
- Batch multiple transactions (@cblgh)
- Add methods for getting messages and channels (#1) (@cblgh)
- Add watch function for db messages (@okdistribute)
- Don't store timezone offset in database messages (@cblgh)
- Return the largest value on conflict (@cblgh)
- Fix database keys and channel regex (@cblgh)
1.0.0 - 2018-05-16
This version was published as cabal-node
.
🌱 Initial release.