Releases: vertexproject/synapse
Synapse v2.240.1
Bugfixes
- Fixed an issue where cancelled Storm tasks could show up in task list
output.
(#4915 <https://github.com/vertexproject/synapse/pull/4915>_) - Fixed an issue where scheduling a coroutine on a fini'd Base object could
create orphaned asyncio tasks that were never cancelled or awaited.
(#4915 <https://github.com/vertexproject/synapse/pull/4915>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.240.0
Automatic Migrations
- Migrated cell drive data into a dedicated slab.
(#4567 <https://github.com/vertexproject/synapse/pull/4567>_) - See :ref:
datamigrationfor more information about automatic migrations.
Model Changes
- Added the
hash:ssdeepform and type to allow users to record ssdeep fuzzy
hashes as nodes. Added thefile:bytes:ssdeepsarray property to allow
users to capture one or more ssdeep fuzzy hashes for a given file.
(#4901 <https://github.com/vertexproject/synapse/pull/4901>_) - See :ref:
userguide_model_v2_240_0for more detailed model changes.
Features and Enhancements
- Added a dedicated IO worker for the drive subsystem to offload operations
into a separate process.
(#4567 <https://github.com/vertexproject/synapse/pull/4567>_)
Bugfixes
- Fixed a bug in
Cell.getBackupInfo()wherecurrdurationcould be a
negative value while a backup was in progress, due to operator precedence in
the elapsed-time calculation.
(#4898 <https://github.com/vertexproject/synapse/pull/4898>_)
Improved documentation
- Updated the documentation for the
layer.delpermission to note that it is
on the Layer gate and not the Cortex.
(#4892 <https://github.com/vertexproject/synapse/pull/4892>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.239.0
Features and Enhancements
-
Updated the Synapse logging infrastructure and output formatting.
Log output now uses an async pump task so that logging never blocks the
asyncio event loop. Structured logging output is now consistently formatted
and user provided information cannot overwrite system provided information.
TheSYN_LOG_LEVEL,SYN_LOG_STRUCT, andSYN_LOG_DATEFORMAT
environment variables continue to work as before.Administrators can retrieve the last 100 structured log entries or stream
live log events via the newlogs()andwatch()admin APIs on
Synapse services.
(#4686 <https://github.com/vertexproject/synapse/pull/4686>_) -
Updated the Storm
List.extend()method to treat(null)as a no-op,
allowing users to safely extend a list with a value that may be null.
(#4886 <https://github.com/vertexproject/synapse/pull/4886>_)
Notes
- Updated the pinned version of the
larklibrary to1.3.1.
(#4875 <https://github.com/vertexproject/synapse/pull/4875>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.238.0
Features and Enhancements
- Added loglevel support to the Storm
$lib.cron.at()API.
(#4853 <https://github.com/vertexproject/synapse/pull/4853>_) - Added a
$lib.lift.tagsByPref()API to efficiently retrieve tags by prefix
at a specific depth in the tag tree.
(#4866 <https://github.com/vertexproject/synapse/pull/4866>_)
Bugfixes
- Fixed the Storm
movenodescommand to raise aStormRuntimeErrorwith a
descriptive message when a layer in--precedenceis not in the set of
source/destination layers.
(#4859 <https://github.com/vertexproject/synapse/pull/4859>_)
Notes
- Removed the
pyOpenSSLdependency. Certificate verification now uses the
cryptographylibrary exclusively. Thecryptographydependency has
been updated to>=46.0.7,<47.0.0.
(#4867 <https://github.com/vertexproject/synapse/pull/4867>_) - Updated the allowed versions of the
idna,packaging, andxxhash
libraries.
(#4872 <https://github.com/vertexproject/synapse/pull/4872>)
(#4873 <https://github.com/vertexproject/synapse/pull/4873>)
(#4876 <https://github.com/vertexproject/synapse/pull/4876>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.237.0
Automatic Migrations
-
Migrated invalid
inet:client,inet:server, andinet:urlnodes. For all three
forms, the canonical representation of IPv6 addresses requires the address
to be enclosed in square brackets ([and]) in URIs. During
migration, if a non-canonical node is migrated to a canonical node, the
migration will attempt to merge the properties, tags, tagprops, and nodedata
of the two nodes. The merge strategy is as follows:- If the item being merged is the same in both nodes or the non-canonical
node does not have the item set, the canonical node value stays the
same. - If the item being merged is different in both nodes, the canonical node
value takes precedence and the non-canonical node value will be saved in
nodedata under themodel_0_2_35key. - If the canonical node does not have the item and the non-canonical node
does, the non-canonical value is used. .seenprops and tag values will be expanded using normal ival
expansion rules.
(#4785 <https://github.com/vertexproject/synapse/pull/4785>_)
- If the item being merged is the same in both nodes or the non-canonical
-
Migrated the
portproperty of bothinet:clientandinet:serverto
be read-only. This migration includes correcting theportproperty value
to match the node value.
(#4785 <https://github.com/vertexproject/synapse/pull/4785>_) -
See :ref:
datamigrationfor more information about automatic migrations.
Model Changes
- See :ref:
userguide_model_v2_237_0for more detailed model changes.
Features and Enhancements
- Added ability to set
loglevelwhen creating a Cron job and included it in
Cron job responses.
(#4789 <https://github.com/vertexproject/synapse/pull/4789>_) - Added an
isValidStorm()API to the Cortex, and a corresponding
api/v1/isvalidstormHTTP endpoint. These return a tuple ofisok, info
data, indicating if a query is valid Storm syntax.
(#4845 <https://github.com/vertexproject/synapse/pull/4845>_)
Bugfixes
- Fixed a startup race condition that could cause Storm package
onload
queries to run before Storm dmons were loaded. Layer migrations will now run
as a background task once the Cortex has become active.
(#4751 <https://github.com/vertexproject/synapse/pull/4751>_) - Fixed
inet:server,inet:client, andinet:urlnormalization to
consistently use the RFC3986 canonical representation for IPv6 addresses in a
URI. A data migration is included for existing non-canonical nodes.
(#4785 <https://github.com/vertexproject/synapse/pull/4785>_) - Updated the
sci:evidence:hypothesisproperty to use the correct type.
(#4837 <https://github.com/vertexproject/synapse/pull/4837>_) - Removed warning messages related to Cron job affinity when affinity is not
configured for a Cron job.
(#4846 <https://github.com/vertexproject/synapse/pull/4846>_)
Notes
- Updated the allowed versions of the
cbor2library.
(#4847 <https://github.com/vertexproject/synapse/pull/4847>_) - Updated the allowed versions of the
pygmentslibrary.
(#4849 <https://github.com/vertexproject/synapse/pull/4849>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.236.0
Features and Enhancements
- Added
affinityoption to cron jobs to prefer running Storm queries on a
specific AHA service with fallback to local execution.
(#4770 <https://github.com/vertexproject/synapse/pull/4770>_) - Added support to the
--periodoption for bothcron.addand
cron.modfor runningyearlyjobs on a specific date and time.
(#4777 <https://github.com/vertexproject/synapse/pull/4777>_) - Added optimization tracking to the
getCellInfo()API. When the
onboot:optimizeoption is used, the time and directory size before and
after the optimization are recorded and included in thegetCellInfo()
response under theoptimizedkey.
(#4778 <https://github.com/vertexproject/synapse/pull/4778>_) - Added a
cache:sizelayer configuration option and
SYN_CORTEX_LAYERS_CACHE_SIZEenvironment variable to tune the layer buid
cache size.
(#4801 <https://github.com/vertexproject/synapse/pull/4801>_)
Bugfixes
- Updated API key parsing to reject keys which contain
+/characters. This
should not affect any API keys generated by Synapse.
(#4790 <https://github.com/vertexproject/synapse/pull/4790>_) - Fixed a regression in IPv4 address scraping where some IPv4 addresses were
not being recognized when they appeared after a colon character.
(#4831 <https://github.com/vertexproject/synapse/pull/4831>_) - Added error handling to the Telepath client so that if the server sends an
unexpected message type during a remote call, aBadMesgFormatexception
is raised instead of silently returningNoneand leaking the connection.
(#4832 <https://github.com/vertexproject/synapse/pull/4832>_)
Improved documentation
- Fixed the Storm example for
edge:addtriggers.
(#4816 <https://github.com/vertexproject/synapse/pull/4816>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.235.0
Automatic Migrations
- Migrated Storm Dmon ddefs to remove the top-level
viewkey and any other
additional properties which are no longer valid.
(#4771 <https://github.com/vertexproject/synapse/pull/4771>_) - See :ref:
datamigrationfor more information about automatic migrations.
Model Changes
- Added a
phonesproperty to theps:contactform to store an array of
secondary/associated phone numbers.
(#4764 <https://github.com/vertexproject/synapse/pull/4764>_) - See :ref:
userguide_model_v2_235_0for more detailed model changes.
Features and Enhancements
- Added an optional
queryoptsfield to the Storm packageinits
definition.
(#4752 <https://github.com/vertexproject/synapse/pull/4752>_) - Added
gatekey support when POSTing to the/api/v1/auth/user/<id>and
/api/v1/auth/role/<id>HTTP APIs, allowingrulesandadminto be
scoped to a specific auth gate.
(#4766 <https://github.com/vertexproject/synapse/pull/4766>_) - Added a layer of caching for API key and password handling, to decrease
duplicate work done for subsequent authentication requests.
(#4774 <https://github.com/vertexproject/synapse/pull/4774>_) - Updated the
diff --tagStorm command to accept list variables in addition
to individual tag arguments.
(#4783 <https://github.com/vertexproject/synapse/pull/4783>_)
Bugfixes
- Fixed the
Cell.getTasks()API to deduplicate tasks which may be reported
by multiple links to one peer.
(#4769 <https://github.com/vertexproject/synapse/pull/4769>_) - Fixed
$lib.dmon.add()to allow specifying an alternate view via the
viewkey inddef.stormopts.
(#4771 <https://github.com/vertexproject/synapse/pull/4771>_) - Updated
BadJsonTextexceptions raised during JSON deserialization to
include a trimmed snippet of the input text starting at the error position
for additional context.
(#4773 <https://github.com/vertexproject/synapse/pull/4773>_)
Notes
- Added information about
SynTaskdata when printing asyncio tasks in
response to receving aSIGUSR2signal.
(#4728 <https://github.com/vertexproject/synapse/pull/4728>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.234.0
Features and Enhancements
- Added a new
--periodoption to bothcron.addandcron.mod
commands for setting or modifying cron job schedules. The older schedule
options have been deprecated.
(#4718 <https://github.com/vertexproject/synapse/pull/4718>_)
Bugfixes
- Fixed an issue where the
getNexusChangesAPI could potentially send
t2:yieldmessages before the initialt2:genrmessage.
(#4748 <https://github.com/vertexproject/synapse/pull/4748>_)
Deprecations
- Deprecated
--minute,--hour,--day,--month,--year,
--hourly,--daily,--monthly, and--yearlyoptions for the
cron.addcommand.
(#4718 <https://github.com/vertexproject/synapse/pull/4718>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.233.1
Bugfixes
- Fixed a bug in Storm where a switch statement could have duplicate switch
cases.
(#4742 <https://github.com/vertexproject/synapse/pull/4742>_) - Fixed an issue where mirror promotion would incorrectly re-schedule the
disconnection timeout task on the client after it was shut down.
(#4743 <https://github.com/vertexproject/synapse/pull/4743>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.233.0
Model Changes
- See :ref:
userguide_model_v2_233_0for more detailed model changes.
Bugfixes
- Add missing exception information to the RecursionLimitError.
(#4735 <https://github.com/vertexproject/synapse/pull/4735>_)
Notes
- Move process related functions from
synapse.lib.corointo
synapse.lib.processandsynapse.lib.processpool.
(#4729 <https://github.com/vertexproject/synapse/pull/4729>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html