v0.19.0 #509
heavykenny
announced in
Announcements
v0.19.0
#509
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v0.19.0 is a minor release. Java projects now get real engine coverage, Knip can be set to run always or never, and a round of false positives and missed findings is fixed across
hardcoded-url,unsafe-type-assertion,no-undef,unused-css, secret detection and dependency advice.Added
quality.knipsetting.auto(the default) runs Knip for projects that declare or configure it.alwaysruns aislop's bundled Knip on every JavaScript or TypeScript project, andoffnever runs it and reports noknip/skipped. Knip loads the project's config files, soalwaysruns code from the scanned repository (#474).src/<set>/java/(andkotlin/) are no longer read as excluded or non-production folders, socom/example/demoororg/springframework/samplescode is scanned and gets the full ai-slop checks.googleJavaFormatorfmt-maven-plugin).checkstyle.xml.String.format, andObjectInputStream/XMLDecoderdeserialization.System.outleftovers, catch blocks that only print, and the newai-slop/java-broad-throws.aislop doctorshows the Java tools and how to install them.knip/skippednotice. When Knip is not set up, times out or fails, an info finding says so (advisory, likesecurity/dependency-audit-skipped) instead of the check disappearing while the scan still scores 100 (#474).Changed
"knip"key inpackage.jsonnow counts, sonpx knipusers are covered. aislop always runs its own bundled Knip, never a copy from the scanned project (#474).Fixed
ai-slop/hardcoded-urlfalse positives. A URL's own host no longer counts as config context and the TLD is never an environment signal, so vendorapi.hosts and.dev/.appdomains stay quiet. Social profiles, app store listings and legal pages (/privacy,/terms) are treated as public content links. Config-like names (API_ENDPOINT,apiBase) and internal hosts (orders-internal,myapp-staging) are still flagged (#479, #482, #493).ai-slop/unsafe-type-assertionignores comments. Comments are masked before matching, so a cast written inside a comment is no longer reported (#475).eslint/no-undefrespects/* global */directives, matching ESLint (#478).issues[].files, soknip/fileswas never reported (#474)..aislop/folders are no longer created and the home directory's.aislopis never used (#472).npm auditonly offers a semver-major fix below the declared version,security/vulnerable-dependencysays no safe direct fix exists and, when the advisory has an upper bound, suggests an override to the first patched version (#485).complexity/too-many-paramscounts a destructured parameter once. Regression test for a report against 0.12.0; the fix shipped in 0.14.1 (#476).ai-slop/unused-cssruns on real scans.scan,ci,fixand agent hooks passed engines a file list already narrowed to source extensions, so stylesheets never reached the rule and it could not report anything outside direct API calls. Stylesheets in the scan's scope are now checked, and class references are read from the whole project, so a stylesheet changed on its own is not compared against only the other changed files. Classes a build step adds to generated markup (astro-code, Astro'sastro-<hash>scoped classes, Shiki'sshiki) are not reported. Upgrading can surface dead CSS that was always there..yaml,.yml,.jsonand.tomlfiles out ofsecurity/hardcoded-secret. They are scanned again, with the scan's include and exclude settings..aislop/config.yamlandrules.yamlare read. aislop only looked for the.ymlspelling, so aconfig.yamlwas ignored without a warning and the scan used the defaults. Both spellings now load, and.ymlwins when both exist. Agent hooks find the project root from either spelling, the Claude CodeFileChangedhook watches both (runaislop hook installagain to pick it up), andaislop initupdates an existing.yamlfile instead of writing a.ymlbeside it (#471).head, ajqthat exits, or an agent hook that stops reading made the next write fail withEPIPE, which aislop printed as an uncaught exception and exited 1. aislop now drops the remaining output and exits with the command's own result.vite,zod,vitest,body-parser,fast-uri,ip-addressandqsare raised to patched releases, andinkmoves to 8.Upgrading
Upgrading can surface findings that were always there: stylesheets are now checked by
ai-slop/unused-css, config files by secret detection, and projects without Knip set up get aknip/skippednotice. To pin the GitHub Action and the CLI together, useuses: scanaislop/aislop@v0.19.0with noversioninput.@v1still runs the latest release.Validation
aislop ci .) passespnpm audit: no known vulnerabilitiesnpm pack --dry-runproducesaislop-0.19.0.tgz, 32 files, 622 kBThis discussion was created from the release v0.19.0.
All reactions