v0.0.24
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 theindex.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
andsummarizeDiffs
functions to accept an object with options instead of individual parameters. - Updating function calls to
summarizeDiff
andresummarizeDiff
to pass an object with multiple parameters. - Including additional options when calling the functions
resummarizeDiffs
,reSummarizeSummaries
,summarizeSummaries
, andcombineSummaries
.
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