Releases: paulosuzart/starred_ml
Releases · paulosuzart/starred_ml
0.0.9
CHANGES:
- Extracted HTTP fetch logic into a dedicated
Fetchermodule (bin/fetcher.ml), separating it from CLI argument definitions inbin/main.ml. - Added terminal progress spinner on stderr showing current page and optional page cap (e.g.
/ Fetching page 3 of 5...); clears itself when done so stdout redirection (e.g.> out.md) is unaffected. - Added post-fetch summary on stderr: pages fetched, repository count, and elapsed time in seconds (e.g.
✓ 5 pages • 487 repositories • 3.2s). - Bumped
jingoodependency to>= 1.5.2. - Fixed
Re2regex compiled once at module load instead of on every paginated response. - Cleaned up
github.mli: removed[@@deriving ...]attributes from type declarations and replaced with explicitvalsignatures for the functions actually used externally, narrowing the public API surface. - Added
unixtobin/dunelibrary dependencies. - Using Eio.Stream to accumulate responses.
- Added
PAGE_SIZEcli parameter. - Added
--timeout/-TCLI arg (default 600s): per-request timeout in seconds passed to the HTTP fetcher. - Added
--max-retries/-rCLI arg (default 3): number of retry attempts on transient failures or timeouts. - Added per-request timeout and exponential-backoff retry in
Http_util.fetchusingEio.Time.Timeout.
0.0.8
CHANGES:
- Replaced deprecated
Mirage_crypto_rng_eio.runwithMirage_crypto_rng_unix.use_defaultfrommirage-crypto-rng.unix. - Improved error handling: HTTP errors (4xx/5xx) print a clean message; unexpected failures show a full stack trace.
- Bumped dependencies:
eioandeio_main>= 1.3,cohttp-eio>= 6.2.1,mirage-crypto-rng>= 1.2.0,alcotest>= 1.9.1,dunelang 3.21. - Updated CI to OCaml 5.4.1.
- Updated README with development setup instructions.
- Updated OCaml setup GitHub Actions version.
0.0.7
CHANGES:
- IMPORTANT: now use
starred_ml renderfor rendering the template. - Removed
slugdependency that was actually not enough for the intention. - Encourages raw jingoo filters for encoding urls. As in
item.language | urlencode. - The
dafault.jingootemplate now takes a the github repositories (thestarred listtype) and usesgroupbyJingoo's feature to print each repository under the corresponding language.
0.0.6
CHANGES:
- Adds a
language_slugattribute to theitem(repository being rendered) with the slug of the language. - Languages sent to
jingootemplate now are the slug version of the language.
0.0.5
CHANGES:
- More stable sorting
- Introduces new template variable
owner_loginfor a more complete link to the starred repo.
0.0.4
0.0.3
CHANGES:
- The generated output was using
urlof the repo, that points to the GitHub API. This release fixes it by using the properhtml_url. - Some other small typos were fixed
- A reference to the template repository using
starred_mlwas also added
0.0.2
CHANGES:
Includes pagination and total language count. See the template.