# Change Log
## [0.5.0] - 2026-10-12
### New
- New `transform perm` command that acts like `bvgraph to --perm`, but can
be found easily.
- Extensive support for optionally loading a degree cumulative function
to split work on a graph by arcs rather than by nodes.
- Everything reading or writing integers or floats has ASCII as default
format, and JSON, Java and ε-serde storage of boxed slices or `BitFieldVec`
instances as alternatives. Note that some commands previously defaulting to
the Java format now default to ASCII.
- All command descriptions now have a zero-width space after the final period,
to prevent Clap from stripping it.
- New `seq` subcommand providing bidirectional conversion between all
available formats for sequences.
- Parallel DCF construction (by default) using `par_map_fold_ord`.
- New `webgraph analyze stats` command computes common statistics on the
graph, similarly to the analogous Java command.
- Support for `HyperLogLog8` from the CLI.
### Changed
- License is now MIT or Apache.
- Upgraded to ε-serde 0.13.2, whose file format is incompatible with that
of previous versions: all `.ef` and `.dcf` files must be rebuilt with
`webgraph build ef` and `webgraph build dcf`.
- All dependencies have been upgraded to their latest version, except for
`sysinfo`, which is kept at the version used by `dsi-progress-logger`.
- The number of threads is now specified `-t`/`--num-threads` instead of `-j`.
Consequently, in LLP `gain_threshold` has short name `-G` instead of `-t`.
- `webgraph transform` now defaults to the parallel version.
- Removed dependency from `common_traits`, replaced by `num-traits`.
- `to bvgraph` default endianness is now the source endianness (it
used to be big endian).
- Complete overhaul of the loading/storing framework for slices of values (like
permutations); the framework is now based on `usize` rather than `u64`, and it
is available also on 32-bit platforms (except for Java 64-bit permutations).
- Load methods return boxed slices when they do not return specific types (e.g.,
`JavaPermutation`).
- Except for storing floats, all JSON I/O is handled by `serde_json`.
- `*Vector*` types are now `*Slice*` types.
- `GlobalArgs` has been removed, and the log interval is now passed as an
argument to the commands that need it.
- Help is wrapped to at most 100 columns.
- Subcommand descriptions start from the same line of the subcommand, but option
descriptions are forced on the next line.
- All commands that benefit from parallel execution will try to use it, and
refuse to execute sequential code unless the user explicitly asks for it.
- `simplify` is now `symmetrize`, with an option to remove self-loops (i.e., the
old `simplify` behavior).
- A new macro `par_comp_lenders!` replaces the methods `par_comp_endianness*`
from the `webgraph` crate.
- New `--no-perm` option to the LLP command that uses the identity instead
of a random permutation for updates.
- The `ChunksIter` iterator of `analyze::codes` has been removed, as
`analyze codes` now uses `par_node_apply`.
### Fixed
- Using `--dcf` on a graph without arcs caused a panic.
- `transform transpose`, `transform map`, `transform symmetrize`, and
`to bvgraph` with `--dcf` split the graph using the size of the global
thread pool instead of `--num-threads`.
- `bench bf-visit` ignored `--mmap` unless `--static` was specified.
- `webgraph-dist hyperball` did not check that the degree cumulative
function matched the graph.
- `from arcs` counts `--lines-to-skip` after ignoring comment lines, as
documented, and fails when no arcs are read instead of exiting
successfully without producing a graph; `to arcs --labels` no longer
loses an empty label on the last line.
- `perm comp` verifies that its inputs are permutations (unless
`--no-check` is passed), `check ef` compares the final Elias-Fano entry
against the graph length, `bench bvgraph` rejects empty graphs,
`--max-ref-count` values below -1 are rejected at parse time, and
`run llp --perm` produces an empty permutation for empty graphs.
- `to endianness` wrote the offsets shifted by one node (missing the initial
zero), corrupting random access on converted graphs.
- The `rank` commands now load little-endian graphs; `pagerank` no longer
binds `-t` to both `--threshold` and `--num-threads`.
- An unknown `endianness` property value is reported as an error instead of a
panic, and `build ef`/`build dcf`/`check ef`/`bench bvgraph`/`from arcs
--labels` return contextual errors on malformed properties files or I/O
failures.
- `analyze stats` rejects zero-node graphs and empty `--scc-sizes` files
instead of emitting NaN/sentinel statistics or panicking.
- Sequential transposition was using big-endian format regardless of the
specified endianness.
- The setting of the log interval does not appear anymore in all commands, but
just in the ones that do logging.
- `to ascii` was never calling `ProgressLog::update`.
- `to endianness` was using an additional `length` property that is not
part of the properties emitted by Java code, making it impossible to change endianness
of graphs compressed in Java.
- `webgraph-dist hyperball` and `webgraph-dist exact-sum-sweep` were always
loading graphs as big-endian, making it impossible to use them on
little-endian graphs.
- `to bvgraph` was silently ignoring the `--dcf` option when a permutation
was specified; the degree cumulative function is now used to balance the
parallel permutation phase by arcs.
### Improved
- All transformations use the new declarative framework for parallelization.
## [0.4.2] - 2026-05-01
### Fixed
- The dependency on `dsi-progress-logger` is no longer pinned to version
0.8.2, so that dependents can use later versions. This release has the
same sources as 0.4.1: it was published from the same commit, with just
this change, so there is no corresponding tag.
## [0.4.1] - 2026-02-23
### New
- New `webgraph-rank` CLI supporting centrality measures.
- Support for loading vectors parallel to previous support for writing vectors.
### Improved
- Floats without a specified precision are now printed using the `zmij` crate,
which brings a 3-4x speed improvement.
## [0.4.0] - 2026-02-18
### New
- Support for π codes in the CLI tools.
- `webgraph-dist` now supports running the ExactSumSweep algorithm.
### Changed
- Moved to `rand` 0.10.0.
### Fixed
- Check CLI commands `ef` and `eq` lacked endianness support.
## [0.3.0] - 2025-11-28
### Changed
- Switched to the 2024 edition.
## [0.2.0] - 2025-11-15
### Changed
- Code has been updated to the new WebGraph version.
## [0.1.0] - 2025-05-23
### Changed
- Layered Label Propagation is now accessed through the `webgraph-algo` CLI.