Skip to content

v0.0.24

Compare
Choose a tag to compare
@sethwebster sethwebster released this 05 Aug 21:18
· 9 commits to main since this release

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