Skip to content

Releases: sethwebster/ava-commit

v0.0.28

08 Aug 18:58
Compare
Choose a tag to compare

Release notes for v0.0.28!

Enhanced Build Process

We've made significant improvements to our build process. The package.json file has been updated to streamline the
build process and add new dependencies. We've also introduced a prepublish script to ensure the package is built
before publishing. The build script now uses tsup for building the TypeScript source code with specific options.

Cleaner Console Output

We've removed a verbose logging statement from the checkForStagedCommits function. This change was made to clean
up the console output and improve readability by eliminating unnecessary or redundant information.

Improved User Control

We've added an option for users to specify a list of patterns to ignore. This provides more flexibility and control
over the patterns you want the program to disregard during execution. The 'generate' function now has the ability to
ignore specified diffs for improved flexibility and control.

Enhanced Error Handling

We've improved error handling for non-existent NPM packages and version comparison. We've added a condition to check
if the NPM package exists before making a version comparison. This change was made to prevent errors when comparing
versions. We've also added a new case to handle situations where the local version is newer than the NPM version.
This update enhances the robustness of the code against potential errors.

Bundling and Generation Improvements

We've started on bundling (instead of shipping the whole library) and improved generate by adding the ability to
ignore files. This customization of the generation process is particularly useful in scenarios where certain
patterns are known to cause issues or are not relevant to the user's specific use case.

πŸ€– Generated with Ava Commit

v0.0.27

07 Aug 12:06
Compare
Choose a tag to compare

Release notes for v0.0.27!

Bug Fixes

We've squashed some bugs to make your experience smoother and more enjoyable!

  • Missed a file during commit which left a parameter out of the promptTemplate for releaseNotes

Stay tuned for more updates and improvements in the future!

πŸ€– Generated with Ava Commit

v0.0.26

07 Aug 02:16
Compare
Choose a tag to compare

Release Notes for HEAD!

Enhanced Robustness

  • We've made our code more resilient by handling potential null values when retrieving the package version. This ensures that the program version is always defined, preventing potential errors or crashes.

Improved User Interface

  • We've enhanced the user interface by adjusting the display based on the console's dimensions. This is achieved through a new function, 'getConsoleSize', which returns the console's dimensions.

Detailed Feedback

  • We've improved the user experience by providing more detailed feedback about version discrepancies. New messages in multiple languages inform you when your local package.json version is older than the latest tagged version and the NPM
    version, and when the NPM version is newer than the local version.

Streamlined Release Notes Creation

  • We've improved the process of creating release notes by adding functions to evaluate versions, fetch versions, and resolve local package updates. This provides more detailed and accurate release notes.

Enhanced Version Tracking and Error Messaging

  • We've improved version tracking and error messaging in the application by adding new string types to the CliMessages and creating a new type, VersionInfo, to keep track of various version details.

Refactoring and Cleanup

  • We've done a lot of refactoring and cleanup to improve performance. This includes version comparison updates, adding previous commit messages to the createReleaseNotes, updating the UI to allow canceling running jobs, and more.

Improved Error Handling

  • We've updated error handling in the spawn function to provide more detailed information for troubleshooting, making it easier to debug and resolve issues.

πŸ€– Generated with Ava Commit

v0.0.25

05 Aug 23:16
Compare
Choose a tag to compare

Relase notes for v0.0.25

Template improvements

  • Updates the templates used with the LLM to improve 3.5-xx performance.

v0.0.24

05 Aug 21:18
Compare
Choose a tag to compare

Release Notes for v0.0.24

Hello, world! We're excited to announce the release of v0.0.24. This release includes a number of changes aimed at improving the readability, maintainability, and flexibility of our code. Here's a rundown of what's new:

Improved Code Readability and Maintainability

We've made several changes to enhance the readability and maintainability of our code. This includes:

  • Modifying the configure command in the index.ts file to include curly braces around the action function.
  • Assigning the merged configuration object to a separate variable config before saving it, making it easier to understand the flow of data.
  • Organizing import statements in the generate.ts file for better readability.

Enhanced User Feedback

We've updated the promptTemplates.ts file to include a new input variable called "hint". This allows users to provide suggestions for improving the summaries of diffs in the code. We believe this will greatly enhance the user's ability
to provide feedback and suggestions.

Better Code Organization

We've made changes to pass the openAIApiKey as a parameter to the summarizeDiffs function. This ensures better organization and separation of concerns within the code.

Increased Flexibility

We've updated our code to include new types and options for summarizing different types of data. This includes:

  • Modifying the summarizeDiff and summarizeDiffs functions to accept an object with options instead of individual parameters.
  • Updating function calls to summarizeDiff and resummarizeDiff to pass an object with multiple parameters.
  • Including additional options when calling the functions resummarizeDiffs, reSummarizeSummaries, summarizeSummaries, and combineSummaries.

Enhanced Functionality

We've added a new property "all" to the GenerateOptions interface in the types.ts file. This allows for more flexibility and control in generating options, specifically for the "verbose" property.

We hope you enjoy these updates as much as we enjoyed making them. Happy coding!

πŸ€– Generated with Ava Commit

v0.0.23

05 Aug 15:07
Compare
Choose a tag to compare

Release Notes for v0.0.23

What's New

Improved Code Efficiency πŸš€

We've made a change to enhance the cleanliness and efficiency of our code. This was achieved by removing unnecessary
logging statements, which in turn, helps to streamline the code execution and improve the overall performance of our
application.

Version Update πŸ†™

Our version number in the package.json file has been updated from 0.0.22 to 0.0.23. This reflects the changes and
improvements we've made in this release.

Thank you for your continued support and feedback. We're always working to make our product better for you!


πŸ€– Generated with Ava Commit

v0.0.22

05 Aug 15:01
Compare
Choose a tag to compare

Release Notes for v0.0.22

Hello there! We're excited to bring you the latest version of our product. This release, v0.0.22, includes a number of enhancements aimed at improving the functionality, readability, and user experience of our code. Here's what's new:

Enhanced Logging Functionality πŸ“

We've added a new import statement for the Logger module and modified the checkStagedCommits function to include logging statements. This will provide more detailed information during the execution of the function. We've also added a new helper function, checkForStagedCommits, to improve error handling.

Improved Code Readability πŸ“–

We've made changes to the generate function in the generate.ts file to make the code more readable. This includes renaming the openAiKey variable to openAIApiKey and adding a new console log statement.

More Detailed Git Logging πŸ“Š

We've added a new import statement for the Logger module in the git.ts file. This allows the git module to use the Logger module for logging purposes, potentially providing more detailed information about the status result in the status function.

Clearer User Messages πŸ—¨οΈ

We've updated the text of certain messages in the code to improve the clarity and accuracy of the messages displayed to the user.

Enhanced Summary Functionality πŸ“š

We've added two new prompt templates, reSummarizeDiff and reSummarizeSummaries, to enhance your ability to accurately summarize code changes and provide more informative commit messages.

Improved Summarization Process πŸ”„

We've added a new function, resummarizeDiff, and modified the existing function resummarizeDiffs to improve the summarization process and provide more accurate summaries.

More Options for Summarizing and Combining Text πŸ“

We've added new functions for re-summarizing summaries and combining multiple summaries into a single summary. These changes enhance the functionality of the code by providing more options for summarizing and combining text.

Enhanced Functionality and Flexibility πŸŽ›οΈ

We've made changes in the types.ts file to enhance the functionality and flexibility of the code related to generating summaries and handling user input.

We hope you enjoy these updates! As always, we're eager to hear your feedback.

πŸ€– Generated with Ava Commit

v0.0.21

05 Aug 00:28
Compare
Choose a tag to compare

Release Notes for v0.0.21

Hello there! We're excited to bring you the latest version of our product. Here's what's new in v0.0.21:

Enhanced Logging πŸ“

We've added a new Logger module to our codebase. This will provide more detailed and configurable logging for our application. Now, you can set the logger to verbose mode for more in-depth information. This change was made to improve the debugging process and provide you with better insights into the application's performance.

Improved Version Checking πŸ”„

We've revamped our version checking process. Now, our function fetches the latest npm version and compares it with the current one. If there's an update available, you'll be notified with the latest npm version in the update notification message. We've also added an input function to prompt you for an update offer answer. This change was made to keep you updated with the latest features and improvements.

Promise with Timeout ⏱️

We've added a new file called "promiseWithTimeout.ts" to our codebase. This function will help us handle promises more efficiently by setting a timeout duration. If the original promise doesn't resolve within the set time, an error message will be thrown. This change was made to improve the application's performance and prevent it from hanging due to unresolved promises.

Removal of cancelablePromise.ts ❌

We've removed the cancelablePromise.ts file from our codebase. This was done to streamline our code and improve efficiency.

Version Update πŸ†™

We've updated our package.json file from version 0.0.20 to 0.0.21. This change reflects all the improvements and additions we've made in this release.

Thank you for your continued support. We hope you enjoy these updates!

πŸ€– Generated with Ava Commit

v0.0.20

04 Aug 23:12
Compare
Choose a tag to compare

Release Notes for v0.0.20

In this release, we've made some significant improvements to how we handle version comparisons in our releaseNotes.ts file. This change was driven by our commitment to providing the most accurate and reliable release notes for our users.

Enhanced Version Comparison

We've enhanced the resolution of version comparisons. Now, the code checks if the local version and the latest tag are equal. If they are, it compares the npm version with the local package version. This ensures that we're always using the most recent version for comparison, providing you with the most accurate release notes.

If the npm version is greater, it uses the npm version for comparison. If the npm version is not greater, it uses the previous tagged git version for comparison. This change provides a more robust and reliable version comparison, ensuring that our release notes always reflect the most recent changes.

Improved Error Handling

We've also improved how we handle errors related to a dirty git working directory when attempting to bump the package version. This means fewer interruptions and smoother operations when you're working with our package.

Version Update

The version number in the package.json file has been updated from 0.0.19 to 0.0.20, reflecting these new improvements.


πŸ€– Generated with Ava Commit

v0.0.19

04 Aug 20:06
Compare
Choose a tag to compare

Release Notes for v0.0.19

What's New

Enhanced Version Checking and Update Notifications

We've improved the checkForLatestVersionSafeWithTimeout function to handle errors more effectively when checking for the latest version. This ensures that the latest version is fetched and compared correctly, keeping you up-to-date with the latest features and improvements.

Improved Error Handling

We've made changes to the fetch function to provide more specific information about errors. If the error message includes "[new tag]", it's considered okay and the error message is resolved. This helps you understand the nature of the error better.

Automatic Package Bump Prompt

We've added a new prompt "offer-automatic-package-bump" that asks if you want to update the package version during the commit process. This gives you the option to automatically update the package version, making the commit process smoother. We've also added prompts for automatic package bumping and version updates in the types.ts file, enhancing the functionality of the CLI tool.
(Diff 5)
We've provided additional instructions on how to create a summary of a diff. This aims to improve the understanding and accuracy of the diff summaries, making it easier for you to understand the changes made.

Enhanced Version Comparison

We've added new imports and functions related to resolving and handling comparison versions. This improves the process of creating release notes and handling version comparisons, ensuring you always have the most accurate information.