Aspect CLI Releases
2024.46.33 (latest)
November 13, 2024
Changes
Performance:
- (OSS)
aspect configure
glob patterns are now validated once up front instead of per evaluation - (OSS) Minor reduction in memory allocation during
aspect configure
, especially parsing of source code - (OSS) Minor reduction in memory allocation during
aspect configure
- (OSS) Cache parsing of regex statements for
aspect configure
source code parsing - (OSS) Prevent extra fs lookup for
aspect configure
tsconfigextends
- (OSS) Caching of
aspect configure
tree-sitter query metadata across query executions - (OSS) Reduce fs io of
aspect configure
during fs traversal (#7173) - Performance improvements to orion BUILD generator
- (OSS) Memory improvements to js
aspect configure
- (OSS)
aspect configure
performance improvements - (OSS) Add experimental caching of source code analysis for
aspect configure
viaASPECT_CONFIGURE_CACHE
environment variable pointing to a cache file path, normally in a temp or ignored file location
Fixes:
- (OSS) Fix to flag handling when empty argument passed to CLI
- (OSS) Comments similar to typescript triple-comment references should not
output errors during
aspect configure
- (OSS) The go language in
aspect configure
will now work when rules_go is under bzlmod - (OSS) The
ts_project
preserve_jsx
attribute is now generated byaspect configure
- (OSS)
aspect configure
orion generated targets of rule kinds known to the configure js language should work across languages - (OSS) Increase linting BES completion timeout to 60 seconds
- (OSS) Use localExecRoot if possible when constructing path to results files (https://github.com/aspect-build/aspect-cli/pull/768)
- (OSS) Fix the use of cli empty-string arguments (https://github.com/aspect-build/aspect-cli/issues/771)
Refactors:
- (OSS) Update configure directive suggestions to use aspect directives
- (OSS) Remove query -> cquery guidance
2024.42.3
October 15, 2024
Changes
Features:
- (OSS)
configure
generated package targets (npm_package
orjs_library
) visibility is now set to public by default. - Support starzelle rule removal restricted by kind
Fixes:
- (OSS) Pnpm workspace project dependencies resolved with
aspect configure
are now higher priority then resolving dependencies via tsconfig paths - Show correct paths in starzelle error stack traces
- Use gazelle result.Empty API for target removal
- Read+query source files concurrently across all plugins
Refactors:
- Improve starzelle missing-property error message
Installation
For full install instructions see overview.
Bazelisk (macOS / Linux)
Configure bazelisk to use the Aspect CLI for all developers in a repository
by adding the following to .bazeliskrc
in the repository root:
BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.42.3
The underlying version of Bazel can be configured in your .bazelversion
file or the BAZEL_VERSION
environment variable.
2024.41.17
October 8, 2024
Changes
Fixes:
- Dependencies from package.json
main/types/exports
fields no longer cause errors whenaspect configure
can not resolve the referenced files.
Installation
For full install instructions see overview.
Bazelisk (macOS / Linux)
Configure bazelisk to use the Aspect CLI for all developers in a repository
by adding the following to .bazeliskrc
in the repository root:
BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.41.17
The underlying version of Bazel can be configured in your .bazelversion
file or the BAZEL_VERSION
environment variable.
2024.41.9
October 7, 2024
Changes
Features:
- (OSS) New
--fixes
flag added to lint command in the the Aspect CLI which defaults to true. Users can now set--nofixes
to turn off requesting the lint patch output group (rules_lint_patch
). Requesting the report outputs groups (rules_lint_human
andrules_lint_machine
) is still controlled by the--report
and--machine
flags
Fixes:
- (OSS) rules_js gazelle plugin: support direct import of outputted dts files. Things like package.json might import both the .d.ts and .js version of a file. Those can come from source .d.ts or .ts.
- (OSS) rules_js gazelle plugin: set npm_package(srcs) as mergeable gazelle attribute
- (OSS) rules_js gazelle plugin: tsconfig rootdir filtering of source files
- (OSS) rules_js gazelle plugin: generated npm package srcs vs deps attributes
- (OSS) rules_js gazelle plugin: support package.json exports/main references to outputted .js/.d.ts
- (OSS) gazelle: minor enhancement to support the .gitignore trailing-/ so it only matches directories
Refactors:
- (OSS) gazelle: upgrade tree-sitter json, kotlin, starlark, typescript grammars. Addresses https://github.com/aspect-build/aspect-cli/issues/530.
Installation
For full install instructions see overview.
Bazelisk (macOS / Linux)
Configure bazelisk to use the Aspect CLI for all developers in a repository
by adding the following to .bazeliskrc
in the repository root:
BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.41.9
The underlying version of Bazel can be configured in your .bazelversion
file or the BAZEL_VERSION
environment variable.
2024.39.54
September 28, 2024
Changes
Initial release of the Aspect CLI (standard).
Installation
For full install instructions see overview.
Bazelisk (macOS / Linux)
Configure bazelisk to use the Aspect CLI for all developers in a repository
by adding the following to .bazeliskrc
in the repository root:
BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.39.54
The underlying version of Bazel can be configured in your .bazelversion
file or the BAZEL_VERSION
environment variable.