Releases: corgibytes/freshli-cli
v0.6.5
Another attempt at building a working ARM Docker image:
- Writes platform information that was used during the build to
/app/.buildinfoso that it can be inspected to make sure that the correct architecture was used when building the DotNet executables. - Also takes the opportunity to upgrade Maven to version 3.9.4. Some of the packages that ship with Maven were getting flag as security vulnerabilities by Docker Scout.
v0.6.4
Another attempt at building a valid ARM Docker image.
v0.6.3
Corrects an issue with cross-platform Docker builds
v0.6.2
Another attempt at fixing an issue with builds of production Docker container images
v0.6.1
Fixes an issue with Docker container production builds
v0.6.0
Summary
- Adds support for working with
freshli-agent-dotnet - Adds progress bar to
analyzecommand analyzecommand can be halted withctrl-c- Removes Hangfire as a dependency; replaced with custom task queue and worker
- Numerous performance improvements
- Numerous bug fixes
What's Changed
- Adds contributors file by @mscottford in #613
- build(deps): bump gitreleasemanager.tool from 0.13.0 to 0.14.0 by @dependabot in #629
- build(deps): bump rubocop from 1.56.0 to 1.56.1 by @dependabot in #628
- build(deps): bump Google.Protobuf from 3.24.0 to 3.24.1 by @dependabot in #614
- build(deps): bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1 by @dependabot in #603
- Prevents handling OperationCancelledExceptions as unhandled by @mscottford in #597
- Bump Microsoft.CodeAnalysis.* from 4.6.0 to 4.7.0 by @mscottford in #631
- Bump gitreleasemanager.tool from 0.13.0 to 0.14.0 by @mscottford in #630
- Bump gitreleasemanager.tool from 0.14.0 to 0.15.0 by @dependabot in #633
- build(deps): bump FluentAssertions from 6.11.0 to 6.12.0 by @dependabot in #632
- Uses health service to determine if language agent is up and running by @mscottford in #634
- Bump jetbrains.resharper.globaltools from 2023.2.0 to 2023.2.1 by @dependabot in #635
- Grpc.* Dependency Upgrades by @mscottford in #641
- build(deps): bump Google.Protobuf from 3.24.1 to 3.24.2 by @dependabot in #639
- build(deps): bump Grpc.Core.Api from 2.55.0 to 2.56.0 by @dependabot in #640
- build(deps): bump YamlDotNet from 13.2.0 to 13.3.1 by @dependabot in #642
- build(deps): bump sqlite3 from 1.6.3 to 1.6.4 by @dependabot in #636
- build(deps): bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 by @dependabot in #655
- build(deps): bump Microsoft.Build.Locator from 1.5.5 to 1.5.6 by @dependabot in #654
- build(deps): bump rubocop from 1.56.1 to 1.56.2 by @dependabot in #653
- build(deps): bump Microsoft.Build.Locator from 1.5.6 to 1.6.1 by @dependabot in #656
- build(deps): bump aruba from 2.1.0 to 2.2.0 by @dependabot in #657
- build(deps): bump NLog from 5.2.3 to 5.2.4 by @dependabot in #665
- build(deps): bump Google.Protobuf from 3.24.2 to 3.24.3 by @dependabot in #668
- build(deps): bump Grpc.Core.Api from 2.56.0 to 2.57.0 by @dependabot in #663
- build(deps): bump CycloneDX.Core from 5.4.0 to 6.0.0 by @dependabot in #658
- build(deps): bump rubocop from 1.56.2 to 1.56.3 by @dependabot in #671
- build(deps): bump Grpc.Tools from 2.57.0 to 2.58.0 by @dependabot in #670
- build(deps): bump sqlite3 from 1.6.4 to 1.6.5 by @dependabot in #669
- build(deps): bump NLog.Extensions.Logging from 5.3.3 to 5.3.4 by @dependabot in #666
- build(deps): bump Grpc.Net.Client from 2.56.0 to 2.57.0 by @dependabot in #664
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #659
- build(deps): bump sqlite3 from 1.6.5 to 1.6.6 by @dependabot in #679
- build(deps): bump docker/build-push-action from 4 to 5 by @dependabot in #678
- build(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #677
- build(deps): bump docker/login-action from 2 to 3 by @dependabot in #676
- build(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #675
- build(deps): bump Microsoft.EntityFrameworkCore.Sqlite from 7.0.10 to 7.0.11 by @dependabot in #674
- Bump dotnet-ef from 7.0.10 to 7.0.11 by @dependabot in #673
- build(deps): bump Grpc.Net.ClientFactory from 2.56.0 to 2.57.0 by @dependabot in #667
- build(deps): bump NLog.Extensions.Hosting from 5.3.3 to 5.3.4 by @dependabot in #662
- build(deps): bump Microsoft.EntityFrameworkCore.Design from 7.0.10 to 7.0.11 by @dependabot in #672
- build(deps): bump contributor-assistant/github-action from 2.3.0 to 2.3.1 by @dependabot in #682
- build(deps): bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 by @dependabot in #680
- build(deps): bump xunit from 2.5.0 to 2.5.1 by @dependabot in #681
- Switches to Corgibytes fork of Spectre.Console by @mscottford in #684
- build(deps): bump Corgibytes.Fork.Spectre.Console from 0.47.1-preview.0.23 to 0.47.1-preview.0.29 by @dependabot in #686
- Addresses issues discovered while integrating DotNet agent by @mscottford in #689
- build(deps): bump YamlDotNet from 13.3.1 to 13.4.0 by @dependabot in #688
- build(deps): bump Microsoft.Build.Locator from 1.6.1 to 1.6.10 by @dependabot in #687
- DotNet in docker container by @mscottford in #691
Full Changelog: v0.5.3...v0.6.0
v0.5.3
What's Changed
- Retries calls to
retrieve-release-historyby @mscottford in #392
Full Changelog: v0.5.2...v0.5.3
v0.5.2
Addresses an issue caused by multiple copies of mvn running plugins for the first time while the local maven repository directory was empty. This has been solved by ensuring that the local maven repository directory is prepopulated with the dependencies of the plugins that are run by freshli-agent-java.
What's Changed
- Fix/bootstrap m2 directory by @mscottford in #389
Full Changelog: v0.5.1...v0.5.2
v0.5.1
Fixes issue with mvn not being installed in the production container image.
What's Changed
- Adds mvn to production container by @mscottford in #387
Full Changelog: v0.5.0...v0.5.1
v0.5.0
As part of this release we had 86 issues closed.
- Packaged as a Docker container instead of as a
dotnet tool - Adds the
analyzecommand- Implements a new processing pipeline
- Relies on "language agent" executables for language-specific operations and
- Uses language-agent-generated CycloneDX file as a data-source computing LibYear.
- Adds the
cache preparecommand- Prepares the cache that's used by the
analyzecommand. This is performed implicitly whenanalyzeis run and the cache does not already exist.
- Prepares the cache that's used by the
- Adds the
cache destroycommand- This command can be used to remove the cache
- Adds the
agents detectcommand- This command is used to list all of the language agents that are available to the
freshliexecutable. This operation is run implicitly whenanalyzeis run.
- This command is used to list all of the language agents that are available to the
- Adds the
agents verifycommand- This command is used to verify that each language agent (or a specific language agent) behaves in a way that is compatible with the
freshlicommand.
- This command is used to verify that each language agent (or a specific language agent) behaves in a way that is compatible with the
Note: the scan command is now deprecated. It will be removed in the next release.
Bugs
- #123
CurrentCultureis explicitly set toInvariantCulturebut where? - #133 Calling
freshli git clone ..twice in a row, results in a git error - #175 Exceptions thrown by
IApplicationActivity.HandleandIApplicationEvent.Handleneed to be more visible - #184 Make date time output format consistent with other Freshli projects
- #213 Compute history should be able to work with custom intervals like 2weeks or 3months
- #268 Change DateTimeOffset format string to 'o'
- #281 Generate error event if no agents are found
- #308 Analyzing repository with an interval bigger than it's age will fail
- #322 Use "as of" date when computing package LibYear value
- #342
gitis missing from production Docker container image - #343 Fix url for viewing results
- #344
PrepareCacheActivityis ignoring the result of callingCacheManager.Prepare - #345 The
PrepareCacheActivityshould not save aCachedAnalysisobject to the database - #346 Handle "database is locked" error when writing to cache database
- #347 Handle child modules in multi-module project
- #361 Prevent
process-manifestsfrom being called in parallel for the same directory
DevOps
- #33 Warning when adding assets to GitHub release in CI
- #41 Fixes #33, removes warning for GitReleaseManager on Add Asset
- #47 Workflows are referencing vulnerable actions
- #66 Configure Dependabot for auto upgrading dependencies
- #72 Upgrade GitVersion and GitReleaseManager to latest versions
- #74 Address warning messages during publish step
- #83 Add support for
*.rbto the.editorconfigfile - #124
MainCommand.cskeeps being edited by the formatter - #227 Fix failing CI on
mainbranch - #316 Build production image and push to Docker Hub
- #317 Ensure Freshli Web API is deployed
- #359 Get CI passing on the
mainbranch
Documentation
- #82 Document project style guidelines for C#
- #226 Clean up README file and NuGet
- #271 Auto-generate diagram for activities and events
Enhancements
- #25 Add Scan and Help commands
- #45 Specify level of debug information
- #49 Add
cache preparecommand - #50 Add
cache destroycommand - #51 Add
git clonecommand - #52 Add
git compute-historycommand - #53 Add
git checkout-historiescommand - #54 Add
git checkout-historycommand - #56 Add
analyzecommand - #57 Add
bom generate-historiescommand - #58 Add
bom generate-historycommand - #59 Add
bom detect-all-manifestscommand - #60 Add
bom process-all-manifestscommand - #61 Add
agents detectcommand - #62 Add
agents verifycommand - #65 Change executable name to
freshli - #87 Add
versioncommand - #97 Add
compute libyearcommand - #137 Add a Message Bus
- #146 Prepare Cache
- #147 Start analysis
- #148 Clone git repository
- #149 Compute history
- #150 Checkout history
- #151 Detect Manifests
- #152 Generate bill of materials
- #153 Compute libyear
- #163 Cache Destroy
- #174 Use
cache prepareactivities and events to prepare cache fromCacheWasNotPreparedEventhandler - #192 Create Docker image that includes
freshli-cliandfreshli-agent-javafor runningfreshli analyze - #205 Let
GitRepositoryClonedEvent.HandlepassComputeHistoryActivityto the activity engine - #208 Let
HistoryIntervalStopFoundEvent.HandlepassCheckoutHistoryActivityto the activity engine - #215 Let AnalysisStartedEvent.Handle pass CloneGitRepositoryActivity to the activity engine
- #232 Adjust number of workers that should be running
- #234 Add option to
analyzecommand so that it does not collect historical metrics - #235 Send
analyzeresults to Freshli-Web API - #237 Let
HistoryStopCheckedOutEvent.HandlepassDetectAgentsForDetectManifestsActivityto the Activity Engine - #238
ManifestDetectedEventdispatchGenerateBillOfMaterialsActivity - #239
BillOfMaterialsGeneratedEventdispatchComputeLibYearActivity - #240 Flesh out acceptance tests
- #242
AnalyzeRunnerable to return a non-zero exit code in case something went wrong - #287 Analyze a codebase that already has been checked out
- #315 Add acceptance test for QuestDB repository
- #323 Spawn an activity for computing the LibYear of each package
- [#324](https://github.com/corgibytes/freshli-cli/i...