Skip to content

Latest commit

 

History

History
641 lines (351 loc) · 25.6 KB

CHANGELOG.md

File metadata and controls

641 lines (351 loc) · 25.6 KB

Changelog

[16.0.0] - 2023-10-17

Fixed

  • Upgraded hyperswarm to latest and added several community-run bootstrap nodes.

15.0.1 - 2022-05-24

Fixed

  • 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.

Changed

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 or chat/emote
  • a property private is injected into all private messages published via publishPrivate

Before this change the API was cabal.publishPrivateMessage(text, recipientKey, cb), this has now been removed.

Change by @hackergrrl and @cblgh.

Fixed

  • fixed a race condition when initializing async views (#108) (@cblgh)

14.1.2 - 2021-10-18

Added

Fixed

14.1.1 - 2021-09-15

Changed

Added

Removed

14.1.0 - 2021-08-21

Added

14.0.0 - 2021-05-18

Breaking change since kappa-core indirectly pulls in hypercore@9.x. Also see comment.

Changed

  • Breaking: update core dependencies and set browser field in package.json (#104) (@cblgh)

Added

Fixed

13.2.0 - 2021-03-06

Added

  • Implement the basics of a channel archiving view (#103) (@cblgh)

13.1.0 - 2021-01-12

Changed

  • Document possible flags for listByFlag() (#94) (@garbados)

Added

  • Add .preferredPort (default 13331) to core opts (#101) (@cblgh)

13.0.2 - 2020-06-24

Fixed

13.0.1 - 2020-06-22

Fixed

13.0.0 - 2020-06-07

Fixed

12.0.1 - 2020-06-05

Fixed

12.0.0 - 2020-05-22

This was released as a new major since 11.2.1 most likely contained breaking changes.

Changed

11.2.1 - 2020-05-22

This version was never published to npm.

Changed

Fixed

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.

Added

  • Add listModerationBy() and secondary index (#87) (@substack)

11.1.1 - 2020-05-22

Fixed

  • Use regex to capture cabal key instead of URL (#89) (@cblgh)

11.1.0 - 2020-05-21

Changed

  • Use admin for admins, instead of mod (@cblgh)

Added

  • Add test for setting multiple admins and mods in the cabal addr (@substack)

Fixed

  • Add fixes for admin and mod keys in cabal urls (@substack)

11.0.2 - 2020-05-21

Changed

11.0.1 - 2020-05-20

Fixed

11.0.0 - 2020-05-20

Added

  • Breaking: add moderation based on flags (#83) (@substack)
  • Add support for mod and admin keys in cabal key uri (@cblgh)
  • Add cabal.close() (@hackergrrl)

Removed

10.0.1 - 2020-05-01

Changed

10.0.0 - 2020-03-23

Changed

  • 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)

Added

9.0.3 - 2020-04-09

Removed

9.0.2 - 2019-12-11

Fixed

9.0.1 - 2019-12-04

Added

9.0.0 - 2019-11-21

Changed

Added

Fixed

8.0.1 - 2019-10-09

Fixed

8.0.0 - 2019-10-09

Changed

7.2.1 - 2019-08-27

Added

Fixed

  • 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

Added

7.1.0 - 2019-08-19

Changed

  • Throttle or block misbehaving peers by host and port (@hackergrrl)

7.0.1 - 2019-08-04

Changed

7.0.0 - 2019-08-04

Changed

  • Breaking: enable multifeed protocol encryption (@hackergrrl)

Fixed

  • Fix net swarm test by using a real hypercore key (@hackergrrl)

6.0.2 - 2019-08-03

6.0.1 - 2019-07-31

Added

  • Add debug logging under cabal for network errors (@hackergrrl)

6.0.0 - 2019-07-03

Changed

Removed

5.1.2 - 2019-06-03

Removed

Fixed

  • Set .maxFeeds default to 1024 in cabal.replicate() (@hackergrrl)

5.1.1 - 2019-05-26

Changed

Fixed

5.1.0 - 2019-05-26

Added

5.0.1 - 2019-05-21

Changed

5.0.0 - 2019-05-21

Changed

  • 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 the Cabal constructor) (#39) (@hackergrrl)

Added

Removed

4.0.1 - 2019-05-08

Added

  • Add an option to set the .maxFeeds option of hypercore-protocol when replicating (#33) (@nikolaiwarner)

Fixed

  • 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.

Changed

  • Breaking: renamed cabal.protocolVersion to cabal.databaseVersion (#28) (@cblgh)
  • Breaking: renamed cabal.getProtocolVersion() to cabal.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.

Added

Removed

Fixed

3.0.3 - 2018-11-06

Added

  • Add cabal.protocolVersion as 1.0.0 (#25) (@cblgh)
  • Add cabal.getProtocolVersion() (#25) (@cblgh)

Removed

Fixed

  • Reorder function calls in cabal.publishNick() (#25) (@cblgh)

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.

Changed

  • Rename module from cabal-node to cabal-core (@hackergrrl)
  • Base storage on kappa instead of hyperdb (@hackergrrl)

Added

Removed

2.3.0 - 2018-08-13

This version was published both as cabal-node and cabal-core.

Changed

2.2.0 - 2018-06-23

This version was published as cabal-node. Should have been a patch instead of a minor version.

Fixed

  • Update hyperdb to 3.1.2 to fix a connection issue (@cblgh)

2.1.1 - 2018-05-29

This version was published as cabal-node.

Fixed

  • 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.

Changed

2.0.1 - 2018-05-27

This version was published as cabal-node. Should have been a minor instead of a patch version.

Added

  • Add message type. Defaults to 'chat/text' (@cblgh)

2.0.0 - 2018-05-24

This version was published as cabal-node.

Changed

  • Breaking: change on-disk format to improve performance getting channel list (#2) (@okdistribute)
  • Batch multiple transactions (@cblgh)

Added

  • Add methods for getting messages and channels (#1) (@cblgh)
  • Add watch function for db messages (@okdistribute)

Fixed

  • 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.