Skip to content

Releases: codeface-io/SwiftNodes

Generic Edge Weight

07 Feb 18:42
Compare
Choose a tag to compare

This update turns the former edge count into a proper generically typed edge weight, whereby Graph and GraphEdge each gain another type parameter. This, of course, is a breaking change, and all tests had to be adjusted.

API Consistency

07 Feb 15:13
Compare
Choose a tag to compare

New or Changed:

  • More consistent and powerful API (includes renames, removals and additions)
  • Subscript access to graph values
  • func to remove node
  • No more node id determination closure, neither in API nor internally
  • value map function that creates a new graph with a mapped value type
  • edge-, value- and node filters – each as a mutating and a copying variant
  • graph is conditionally Codable
  • graphs can be expressed as Dictionary literals and certain ones as Array literals

Big Rework

05 Feb 00:25
Compare
Choose a tag to compare

New or Changed:

  • Many API changes, including added, removed and renamed functions
  • Algorithms to find and filter essential edges
  • Sendable conformance is conditional
  • Algorithm APIs refers to nodes and edges by ID instead of full value
  • Some API types are opaque
  • Loads of new tests
  • New initializers to create complete graphs with edges
  • Graphs are conditionally Equatable
  • Nodes in graphs no longer have an order and can not be sorted anymore
  • Correct counts returned by ancestor counts algorithm
  • Algorithm to find transitive edges (the edges that are not in the transitive reduction)
  • Four functions to filter by edges

Concurrency Safety

10 Jan 14:40
Compare
Choose a tag to compare
  • Since 0.4.0, Graph is Sendable. Now that is documented.

Support Other Platforms

11 Oct 10:25
Compare
Choose a tag to compare

Fixes compile issues on iOS, tvOS and watchOS

Stabilize Dependency Version

10 Oct 20:15
Compare
Choose a tag to compare

Since SwiftNodes is intended as true open-source software, its dependency versions must be stable so it can itself be a stable dependency.

API Renames and Documentation

10 Oct 13:08
Compare
Choose a tag to compare

API Clean Up

05 Oct 16:20
Compare
Choose a tag to compare

Cleans up the API by renaming some stuff. Also adds 2 convenience functions.

Start Semantic Versioning

04 Oct 10:43
Compare
Choose a tag to compare

This is the beginning of a commitment to semantic versioning.

See https://github.com/codeface-io/SwiftNodes#development-status for details.