Skip to content
pubscout

change

0.7.5, released 2 years ago by karapetov.com

A Changelog manipulation library for reading, modifying, and writing CHANGELOG.md files.

WASM-ready
$ flutter pub add change
Source repository

What it does

Provides CRUD operations on releases and changes for CHANGELOG.md files following the keepachangelog format. Supports basic Markdown syntax and semantic versioning.

AI-written summary of version 0.7.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to programmatically read or update CHANGELOG.md files in your Dart or Flutter project
  • Your project strictly follows the keepachangelog format

Skip it when

  • Your changelog uses complex Markdown structures like tables, nested lists, or HTML
  • You use a changelog format other than keepachangelog

Strengths

  • Simple API for reading and modifying changelogs
  • Supports basic Markdown syntax and semantic versioning

Weaknesses

  • Limited strictly to the keepachangelog format
  • Complex Markdown features are not supported

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
4
import 'dart:io';

import 'package:change/change.dart';

void main() {
  final file = File('CHANGELOG.md');
  final log = parseChangelog(file.readAsStringSync());
  final latest = log.history().last;
  print('Changelog contains ${log.history().length} releases.');
  print('The latest version is ${latest.version}');
}

Alternatives

Packages that do the same job and could replace change.

  • pubspec_manager

    Type-safe API to read, modify, and write pubspec.yaml while preserving comments.

  • dartchess

    A Dart library for chess rules, move generation, and FEN/PGN parsing with variant support.

  • ini

    Read and write INI configuration files in pure Dart

  • json_path

    Dart implementation of RFC 9535 JSONPath for querying and manipulating JSON

Works with

Packages commonly used together with change: ones it builds on, ones built on it, and its own family.