Polyswarm-client

Latest version: v2.13.3

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 12

2.3.1

Not secure
* **Fix** - Use empty dict instead of `None` when padding bounty metadata.

2.3.0

Not secure
* **Feature** - Add `--accept` and `--exclude` options in microengine to filter based on bounty metadata
* **Feature** - Add helper function `AbstractAmbassador.generate_metadata()` to make adding metadata easy.
* **Feature** - Handle changes to bounty in contracts (additional metadata)

Breaking Changes
1. `AbstractMicroengine.connect()` passes `accept` and `except` as kwargs to Microengine objects. Suggest add `**kwargs` to `__init__()` definition and `super().__init__()`
1. `AbstractMicroengine.fetch_and_scan_all()` parameters changed to `(self, guid, artifact_type, uri, duration, metadata, chain)`
1. `AbstractMicroengine.scan()` parameters changed to `(self, guid, artifact_type, content, metadata, chain)`
1. `AbstractArbiter.fetch_and_scan_all()` parameters changed to `(self, guid, artifact_type, uri, vote_round_end, metadata, chain)`
1. `AbstractArbiter.scan()` parameters changed to `(self, guid, artifact_type, content, metadata, chain)`
1. `AbstractScanner.scan()` parameters changed to `(self, guid, artifact_type, content, metadata, chain)`
1. `OnNewBountyCallback.run()` parameters changed to `(guid, artifact_type, author, amount, uri, expiration, metadata, block_number, txhash, chain)`
1. `AbstractAmbassador.on_after_bounty_posted()` parameters changed to `(self, guid, artifact_type, amount, ipfs_uri, expiration, chain, metadata=None)`
1. `AbstractAmbassador.on_bounty_post_failed()` parameters changed to `(self, artifact_type, amount, ipfs_uri, duration, chain, metadata=None)`
1. `AbstractAmbassador.on_before_bounty_posted()` parameters changed to `(self, artifact_type, amount, ipfs_uri, duration, chain, metadata=None)`

2.2.2

Not secure
* **Fix** - Don't block Redis connections when waiting on results in producer/consumer mode.
* **Fix** - Improved E2E
* **Feature** - Add support for contract deprecation.

2.2.1

* **Fix** - Catch `NotImplementedError` for windows when adding up signal handler in worker event loop

2.2.0

Not secure
* **Feature** - All Microengines and Ambassadors attempt settle on quorum event, and other participant settle events
* **Feature** - Exit Worker gracefully on SIGTERM
* **Feature** - Add BidStrategyBase & default implementations for scaling bids with confidence

Breaking Changes
1. `AbstractMicroengine` subclasses must add `bid_strategy` as the last arg in `__init__(self, ...)`

2.1.1

Not secure
* **Fix** - Use polyswarm-artifact 1.1.1 with `architecture` fix

Page 6 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.