Skip to content

ForgeBook 1.0.5

Choose a tag to compare

@NickDoxa NickDoxa released this 18 Apr 05:31
· 2 commits to master since this release

Fix

v1.0.4 crashed with NoClassDefFoundError: org.jsoup.Jsoup the first time the agent actually reached fetch_mod_docs_page — a bug that had been latent in every prior release but was masked by the 429 rate-limit issues 1.0.4 just fixed.

Root cause: the build relocated jsoup's bytecode to `com.forgebook.shadow.jsoup.`, but our own source (`ModDocsScraper`, `DuckDuckGoHtmlAdapter`) imported `org.jsoup.` — and the compiled call sites were never rewritten. The jar therefore shipped with classes only under the relocated package, leaving every jsoup call a `ClassNotFoundException` waiting to happen.

Fix: drop the relocation. Merge jsoup's classes into the mod jar under their original `org.jsoup.*` package so runtime matches compile time. Verified in the built jar:
```
jar tf forgebook-1.0.5.jar | grep org/jsoup/Jsoup.class
```

Docs (README, THIRD_PARTY_NOTICES, BUILD-AND-INSTALL, RELEASE-SMOKE) updated to reflect the new packaging.

Tests

365/365 passing.