Skip to content

Changelog

All notable changes to the mapec project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

0.1.1 - 2025-07-23

Semi-incompatible behavior changes

  • Fail on invalid numeric values instead of relying on the unspecified behavior of the atoi() function from the standard C library that, in most cases, treats them as 0

Fixes

  • Add two #include directives to make mapec.c compile in a POSIX environment
  • Report errors to the standard error stream, not the standard output one
  • Correctly report the name of the program in an error message
  • Add a missing exit in an error-handling path
  • Fix a check for the number of the command-line arguments

Additions

  • Add SPDX copyright and license tags
  • Add a Makefile build infrastructure
  • Add a simple TAP-based test suite
  • Add a single supported command-line option, --features
  • Add a simple Rust implementation of mapec
  • Add some basic MkDocs-based documentation

Other changes

  • Mark the two internal functions as static
  • Since the C source already used C99 features, also simplify some code paths by using single-assignment variables marked as const
  • Use waitpid() instead of wait(), add error checking

0.1.0 - 2025-07-23

Imported

  • Import the original source from Matt S Trout's website