Skip to content

Changelog

Here we provide notes that summarize the most important changes in each released version.

Please consult the changelog to inform yourself about breaking changes and security issues.

v0.10.0 (2026-11-09)

  • Added
  • --no-pass-validation to override pass_validation = true from the config
  • pyproject.toml: all synced fields (not only version and description) respect PEP 621 dynamic
  • Changed
  • command line options override the config only when given explicitly, so --overwrite now wins over merge_codemeta = true
  • a sync writes all files or none: files are saved atomically and only after all targets (including packages) succeeded; on a write error, files already written are restored and new files are removed
  • people in output files are matched by ORCID, then email, then name; person fields removed from the input (e.g. an email) are removed from the outputs
  • package.json: further authors are listed in contributors
  • pyproject.toml: description is optional; a license = { text = ... } table is replaced by the SPDX expression, while license = { file = ... } and license-files are kept with a warning; Poetry 2 [tool.poetry] keys are updated only if they already exist
  • codemeta.json merge mode refreshes enriched fields (e.g. softwareRequirements, codeRepository) instead of keeping old values
  • codemeta.json no longer changes with every new commit or tag, so pre-commit run --all-files in CI passes: dateModified is the date the content last changed, and a version from a Git tag is updated together with other changes only
  • init config merges into the existing input file or creates somesy.toml
  • set only validates the changed field, so it works on incomplete input files
  • Git authors are taken from the HEAD history only, not from all branches
  • the somesy logger propagates to the root logger when used as a library
  • Fixed
  • monorepo packages ignored their own cff_file and codemeta_file; a package that fails to load is now skipped with a warning
  • malformed input files broke discovery; a missing -i file now names the file used instead
  • missing output folders were not created; a file that cannot be replaced (e.g. open in another program on Windows) is now written directly with a warning
  • a failed sync left new empty output files behind
  • legacy codemeta.json files were not upgraded on disk, and an unchanged codemeta.json was rewritten in merge mode
  • dateCreated was dropped from codemeta.json in shallow Git clones
  • an empty CITATION.cff failed to sync; incomplete people and unparseable existing entries in output files were dropped
  • blank people entries in existing files (e.g. "author": "" from npm init -y) crashed sync
  • mkdocs.yml got a None description; empty mkdocs.yml and Cargo.toml workspace roots now give a clear error
  • Cargo.toml without authors or version failed validation
  • pom.xml: organizations with a space in their name were treated as people, and elements holding only a comment were not updated
  • pyproject.toml URL key spelling changed between syncs
  • set crashed on files without a [project] table
  • conflicting --info/--verbose/--debug flags exited with an error instead of using the most verbose one

v0.9.0 (2026-11-03)

  • Added
  • set programmingLanguage to TypeScript in codemeta.json enrichment when a tsconfig.json (or a variant such as tsconfig.build.json) is next to the package.json
  • support Python 3.15 and test it in CI on Linux, macOS, and Windows
  • add an optional abstract field, written to abstract in CITATION.cff instead of the description, so a long abstract is not synced into the package summary in pyproject.toml (which PyPI limits to one line of at most 512 characters)
  • warn when the description synced into pyproject.toml is longer than 512 characters or spans several lines
  • support abstract in somesy set
  • Changed
  • keep existing homepage, repository and documentation URLs in output files when the input has none, instead of deleting them
  • write all licenses: a list in CITATION.cff, an OR expression in package.json and fpm.toml
  • monorepo packages use their own [config]; only options passed on the command line override it
  • list only non-authors (including organizations) as contributors in package.json and pom.xml
  • somesy init skips Git bot accounts and warns about single-word Git author names
  • a missing readme file in pyproject.toml is a warning, not an error
  • the pre-commit hook also runs for Cargo.toml and for input files in subfolders
  • Fixed
  • CLI: init config wrote an invalid key; init prompted before failing on an existing file; set ignored .somesy.toml and printed long errors; sync --packages rejected directories; a missing -i file is now reported
  • crashes: arrays of tables in fpm.toml/Project.toml, organizations with a website in package.json/pom.xml, Poetry dependencies with several constraints, malformed pom.xml/mkdocs.yml during init, missing Git
  • CITATION.cff: never write the non-CFF rorid key (removed from existing files on the next sync)
  • pom.xml: keep <connection> and free-text <role> values, no empty <scm>/<site> elements, read single roles and developers without a name
  • codemeta.json: read existing authors and non-ORCID contributors, drop a removed DOI, ignore managed and unresolved Maven dependencies
  • Cargo.toml: keep workspace inheritance such as version.workspace = true
  • mkdocs.yml: accept free-text site_name and an empty site_description, write repo_name
  • Project.toml: keep version when the input has none; fpm.toml: read files without an author; Poetry 2 projects without a license are accepted
  • Git: strip credentials from the remote URL, handle non-UTF-8 author names, convert ssh:// URLs with a port to https://
  • stable key order and unescaped non-ASCII names in output files; all files are read and written as UTF-8
  • do not merge organizations with the same name but different ROR IDs
  • importing somesy no longer patches json.dump globally

v0.8.2 (2026-09-25)

  • Added
  • read exact dependency versions from uv.lock and pdm.lock for codemeta.json enrichment, next to the already supported poetry.lock
    • use the nearest lock file at or above the pyproject.toml, so workspace members sharing a lock file at the workspace root are covered
  • recognize common [project.urls] spellings such as Bug Tracker and Release Notes when filling issueTracker and releaseNotes
  • Fixed
  • separate newly generated [project.urls] from the following TOML table with a blank line
  • read the license of projects that still use the deprecated license = { text = "..." } table instead of failing to harvest it
  • update an existing [project.urls] entry regardless of its spelling, for example Homepage, instead of adding a second entry next to it, and follow the capitalization of the table when adding an entry
  • keep the metadata in [project] when a project built with another backend has a leftover [tool.poetry] section
  • keep the versions from a lock file that contains an entry without a version, as uv writes it for projects with a dynamic version
  • accept Python package names containing dots and repeated or mixed ._- separators, such as zope.interface, for PEP 621 and Poetry pyproject.toml metadata
  • Changed
  • document that pyproject.toml support follows the PEP 621 [project] standard and therefore covers uv, hatchling, flit, PDM, setuptools and Poetry 2.x, not only setuptools and Poetry
  • rename the SetupTools writer to Pep621 and its input model to Pep621Config

v0.8.1 (2026-09-08)

  • Added
  • add somesy init --non-interactive for automated and batch initialization
    • write the best available harvested metadata without prompting
    • warn when required project metadata is missing
    • allow partial generated metadata to be synchronized with an explicit --pass-validation option or pass_validation config setting

v0.8.0 (2026-09-07)

  • Added
  • add somesy init to create somesy.toml for an existing project
    • harvest metadata from supported project files and Git history
    • merge harvested sources and prompt only for missing required metadata
    • automatically enable detected synchronization targets
    • support custom output paths and opt-in overwriting
  • add somesy set to update scalar project metadata in somesy.toml
  • enrich codemeta.json from configured project files and Git history
    • include runtime metadata, direct dependencies, project URLs, repository and issue tracker URLs, version, and commit dates
    • resolve configured files relative to the project root and preserve canonical Somesy and user-managed metadata
  • support project DOIs in Somesy metadata, CITATION.cff, and codemeta.json
  • add granular contributor descriptions, contribution types, and contribution dates to CodeMeta roles
  • add Pyright static analysis and pre-commit integration checks
  • Changed
  • migrate generated CodeMeta metadata to the 3.1 context
  • support multiple SPDX licenses and use modern PEP 621 license expressions in pyproject.toml
  • support PEP 621 dynamic fields in pyproject.toml; dynamic version and description fields are neither required nor overwritten
  • preserve target-file formatting by writing only when synchronized metadata changes semantically
  • raise the minimum supported Python version to 3.10 and test Python 3.10 through 3.14 on Linux, macOS, and Windows
  • update runtime, development, documentation, and pre-commit dependencies
  • publish GitHub and PyPI releases directly from the main CI workflow using PyPI trusted publishing
  • replace Safety dependency scanning with pip-audit
  • create the Poetry environment inside the repository for CI lint and pre-commit checks
  • Fixed
  • make generated CodeMeta output idempotent
  • write JSON output with a trailing newline and preserve LF endings on Windows
  • omit unreliable CodeMeta creation dates instead of overwriting them when Git history is shallow
  • synchronize POM contributors without email addresses
  • remove the duplicate -P CLI shortcut warning from somesy sync; output validation now uses -V
  • resolve strict mypy errors and update annotations for Python 3.10+
  • prevent pytest from mistaking a test helper model for a test class
  • Removed
  • remove obsolete GitLab CI configuration and issue templates
  • remove the obsolete reusable GitHub release workflow

v0.7.3 (2025-03-14)

  • accept orcid id as string without url
  • support multiline description in somesy input and outputs that enables multiline strings
  • dont save same person in available output formats
  • better toml inline table formatting
  • support only orcid id string (without the url)

v0.7.2 (2025-03-10)

  • fix CITATION.CFF formatting
  • fix codemeta.json missing maintainer property
  • fix somesy model validator missing return

v0.7.1 (2025-03-07)

  • fix poetry v2 license format and urls format problem

v0.7.0 (2025-03-04)

  • make validation of output files, such as pyproject.toml, optional
  • make somesy project metadata input version optional
  • multiple output file support
  • enable having packages support
  • fix: package.json url set error on None value
  • support poetry version 2

v0.6.0 (2025-02-14)

  • implement CFF Entity (Organization) model for author/maintainer/contributor
  • add a new config option to use existing codemeta.json when syncing
  • fix SomesyBaseModel kwargs being overwritten

v0.5.0 (2025-01-15)

  • make person (and entity) argument email optional

v0.4.3 (2024-07-29)

  • update python dependencies
  • update pre-commit hook versions
  • fix package.json person validation
  • update poetry, julia, and package.json person validation: entries without an email wont't raise an error, they will be ignored.

v0.4.2 (2024-04-30)

  • fix rich logging bug for error messages and tracebacks

v0.4.1 (2024-04-08)

  • fix package.json and mkdocs.yml validation bug about optional fields

v0.4.0 (2024-03-08)

  • added separate documentation URL to Project metadata model
  • added support for Julia Project.toml file
  • added support for Fortran fpm.toml file
  • added support for Java pom.xml file
  • added support for MkDocs mkdocs.yml file
  • added support for Rust Cargo.toml file

v0.3.1 (2024-01-23)

  • fix setuptools license writing bug

v0.3.0 (2024-01-12)

  • replace codemetapy with an in-house writer, which enables windows support

v0.2.1 (2023-11-29)

  • internal: updated linters and dependencies
  • internal: pin codemetapy version to 2.5.2 to avoid breaking changes
  • fix bug caused by missing config section

v0.2.0 (2023-11-29)

  • internal: Test refactoring
  • internal: Pydantic 2 implementation
  • Added publication_author field to Person model

v0.1.0 (2023-08-10)

  • First release