Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

priam

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

priam - npm Package Versions

23
7

4.1.0

Diff

Changelog

Source

4.1.0

Features:

  • Expose more details in the emitted events, like the Cassandra clients (a.k.a. "pools") themselves
jpage
published 4.0.1 •

jpage
published 4.0.0 •

Changelog

Source

4.0.0

This major release is geared toward internal performance improvements and removing some legacy code cruft relating to the now-defunct dual driver support.

BREAKING:

  • Priam now requires node 10.17 or node 12.3 or greater so it can take advantage of async iterator support. For some reason, node 11 is incompatible.
  • In olden days, priam supported two underlying Cassandra drivers. This is no-longer the case, so some effort has been done to remove the cruft in the code for this dual support. One of these changes removes the translation of the old helenus driver config options to those compatible with cassandra-driver. Config options in priam are now aligned directly with the config options of cassandra-driver.
  • Errors are now emitted correctly when writing to a stream. This means you may now need to attach error handlers to your streams to avoid unhandled error exceptions.
  • Undocumented private methods have now been prefixed with underscores; if your code was calling these undocumented methods directly, those methods may now have been renamed or removed.
  • Some cases where error would be emitted through streams or callbacks have been changed to throw immediately in the case of caller error. For example, passing a named query that does not exist will throw immediately to the caller.

Features:

  • Query methods now all support callbacks, Promises, stream writing, and async iterators options.
  • connect and close methods now support Promises
  • All query result options use retry mechanisms; before the stream option did not.

Performance:

  • Streaming functionality has been streamlined; native node streams are now used instead of third-party wrappers, and the number of intermediate streams wrappers have been reduced. You may now use the async iterable options to avoid even more node streaming overhead.

See the migration from 3.x to 4.x to assist your efforts into migrating to version 4.x.

scommisso
published 4.0.0-beta.3 •

scommisso
published 4.0.0-beta.2 •

scommisso
published 4.0.0-beta.1 •

scommisso
published 3.1.0 •

Changelog

Source

3.1.0

  • Error objects will now return query metadata, including parameters. In production environments, it is recommended that the parameter values be excluded from logs.
scommisso
published 3.0.0 •

Changelog

Source

3.0.0

Features:

  • localDataCenter is now a required field in cassandra-driver version 4.
scommisso
published 2.3.0-beta1 •

scommisso
published 2.2.0 •

Changelog

Source

2.2.0

Features:

  • Support a localDataCenter config setting to use in the load balancing policy
23
7
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc