rememberChangelogData

Reads the changelog data from the file and filters it based on the minimum visible release version. It returns a mutable state that contains the changelog data, which can be either loading or the actual data.

Return

a mutable state that contains the changelog data, which can be either loading or the actual data

Parameters

state

the state of the changelog, which contains the minimum visible release version and a function to hide the changelog if there are no releases to show

setup

the setup for the changelog, which contains the log file reader, version formatter, and other settings

filter

a function that can be used to filter the releases based on custom criteria (default is to include all releases)