Skip to content

v1.3.3

Choose a tag to compare

@Goldziher Goldziher released this 22 Aug 08:42
· 1061 commits to main since this release

Fixed

  • CI Lint's Validate (poly) job runs again. poly lint . never reached a crawlberg finding:
    golangci-lint v2.12.2 (the reusable workflow's default) vendors honnef.co/go/tools v0.7.0,
    whose IR builder panics building the Go 1.27 stdlib with
    buildir: package "poll": unexpected expr: *ast.KeyValueExpr. Pin v2.13.1, which handles 1.27.

  • CI Lint's Alef snippets job can pass. It ran alef snippets check --strict, and --strict
    fails the run on every Skip, Unavailable and Downgraded result — the exact state alef.toml
    documents strict = false for while six languages are still annotated snippet:syntax-only.
    The command-line flag force-enabled what the config deliberately disables, so the job was
    unpassable. Dropped from the workflow.

  • The Dart snippet validates at compile again. It reported
    Target of URI doesn't exist: 'package:crawlberg/crawlberg.dart' because no session resolved the
    local package. A [workspace.docs.snippets.sessions.dart] session (cwd packages/dart, manifest
    pubspec.yaml, dart pub get before, explicit PUB_CACHE) fixes it; the snippet:skip
    annotation added while the session was deferred is gone. It was deferred because any semantic
    alef.toml edit rotates the global inputs hash, so it had to land with a full regeneration.

  • CI Rust's alef verify --exit-code gate passes. Unmasked once deps:check stopped killing
    the job, it failed on drift that had accumulated unseen: 39 alef-owned files carried no
    provenance marker (frozen), and five carried one but are no longer emitted (orphaned).

  • alef no longer claims the three hand-written SSRF e2e suites. Their self-label read
    "These are NOT generated by alef", and alef's ownership predicate
    (core::hash::content_has_alef_marker) is a case-insensitive substring match for
    generated by alef over the first 10 lines, with no negation handling. All three were therefore
    claimed and reported permanently stale and orphaned, while alef could never stamp them.
    Reworded the label; the tests themselves are untouched.

  • Removed two orphaned generated files. InvalidInputException.java survived the deletion of
    its Rust error variant and exists in no other binding, and crates/crawlberg-py/src/pyproject.toml
    is a stale copy of packages/python/pyproject.toml whose manifest-path does not even resolve
    from its own directory. The latter's dead [workspace.sync].extra_paths entry is gone too.

  • CI Rust's Validate Rust job gets past its first command. task rust:lint:check runs
    deps:check first, which hard-fails when cargo-machete is missing; nothing installed it, so
    the job died before cargo fmt, clippy or the fuzz/config checks ever ran.

  • e2e/dart/test/metadata_test.dart compiles again. favicons and hreflangs on
    PageMetadata are Option<Vec<_>> in the Rust core, so the generated Dart bindings expose them
    as nullable List<FaviconInfo>? / List<HreflangEntry>?. The test called .any(...) on them
    directly instead of the already-established ?.length/! pattern used elsewhere in the same
    file, which Dart's null safety rejects at compile time. Changed both call sites to !.any(...).

Zig

Add to your build.zig.zon:

.dependencies = .{
    .crawlberg-zig = .{\n        .url = \"https://github.com/xberg-io/crawlberg/releases/download/v1.3.3/crawlberg-zig-v1.3.3.tar.gz\",\n        .hash = \"crawlberg-1.3.3-IoY1ClSsKiLYNhiUrZlYTfm0CCpvF8Hd_VO_eijhmGRV\",\n    },\n},\n```\n