We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
airlog changelog
In this update, we've made some exciting improvements to keep our project in tip-top shape and ensure it leverages the latest advancements. Here's a breakdown of the key changes:
- Improvement: We've bumped up the OpenAI model version and updated the necessary dependencies. This ensures that our application benefits from the latest features and performance enhancements. The changes were implemented across several files, including
lib/airlog/openai_service/model_picker.ex
,mix.exs
, andmix.lock
. By doing so, we're not only enhancing the application's functionality but also preemptively tackling any potential bugs or compatibility issues that might arise from older components. π
These updates are part of our ongoing commitment to maintaining a robust and efficient application. Stay tuned for more improvements!
### Change Log
We've made some exciting updates and improvements to enhance your experience. Here's a rundown of what's new:
#### New feature π
- **Update to GPT-4o-mini:** Starting from February 2024, we've upgraded the model used in the Airlog OpenaiService from "gpt-3.5-turbo-0125" to "gpt-4o-mini." This change, implemented in the `model_picker.ex` file, is set to bring improved performance and capabilities to our service. Get ready for a smoother and more efficient experience!
We've been hard at work making some exciting updates to our service. Hereβs whatβs new and improved:
Updates
Improvement: Update to gpt-4o-mini
We've upgraded the model used in the Airlog OpenaiService from "gpt-3.5-turbo-0125" to "gpt-4o-mini," effective February 2024. This change, made in the model_picker.ex
file, reflects our commitment to leveraging the latest advancements in AI. Expect enhanced performance and new capabilities as a result of this update. π
Stay tuned for more updates and improvements!
Here are the latest changes and improvements made to the project:
New feature
- JavaScript Initialization for Editor Component: Added JavaScript code to the
app.js
file to initialize theEditor
component from the@toast-ui/editor
library. This setup includes configurations like height, initial edit type, and initial value based on the element with the IDsummary-body
. An event listener is also added to handle saving the edited content by pushing an event with the markdown content and published date to the server. Additionally, theEditor
hook was refactored to improve readability and maintenance by removing unnecessary retry logic and consolidating the editor initialization process.
Improvement
- Using Yarn Version of Editor: Updated the
package.json
to include the@toast-ui/editor
package with version^3.2.2
and made corresponding updates to theyarn.lock
file. Removed the loading animation fromedit.html.heex
and commented out the import statement for the toast-ui editor, indicating a shift towards using the yarn version of the editor package. Additionally, streamlined theedit.ex
file by removing the assignment of page title and summary details from thehandle_params
function.
Bugfix
- Dependency Updates: Updated project dependencies in the
mix.exs
andmix.lock
files. While the specific changes are not detailed, this update ensures compatibility and security by keeping the project up to date with the latest versions of its dependencies.
Welcome to the latest update! We've made some enhancements and added new features to improve your experience. Check out the details below:
Improvements
- Updated visuals for install page: We've spruced up the install page to make it more visually appealing and user-friendly. Changes include adding a font weight style to a paragraph and removing unnecessary space in a div. This will help you better navigate the installation guide for setting up Airlog with a private GitHub repository using GitHub Actions. ποΈβ¨
New Features
- Added local time to install guide: Now, the installation guide displays the local time dynamically! We've added a new hook called
Hooks.GetLocalTime
inapp.js
to fetch the local time zone and send it to the server. A functionget_local_time_for_server_time
ininstall.ex
converts server time to local time, and the install page (install.html.heex
) now shows the local time using the@local_time
variable. This should make your setup process even smoother. ππ
We've got some exciting updates and improvements in this release! Check out the details below to see what's new and better in our application. π
New Features
- Initial Import Summary Creation: You can now generate summaries of your airlog data from a few weeks back! This new feature is perfect for users who want to analyze their past activities and gain insights over specific time periods. Several files were updated, including
create_summary.ex
,grouped_summary_worker.ex
,initial_entries.ex
,initial_entries_worker.ex
,github_action_controller.ex
,mix.lock
, andcreate_summary_test.exs
. π
Stay tuned for more updates and improvements!
Here's a summary of the recent changes:
Change Log
New feature: Prompt Logs π
This update introduces a new feature for prompt logs in the Airlog application. The new PromptLog
module defines the schema and includes functions for logging prompts. The CreateSummary
module is also updated to asynchronously log prompts using the new module. Migration and test files have been added to support this feature, enabling the logging of prompts associated with summaries asynchronously. This enhancement aims to improve the tracking and management of prompts within the application.
Improvement: Updated Installation Guide π
Based on user feedback, the installation guide for Airlog has been revised. The header has been renamed to "Installation Guide," and the content has been adjusted for clarity. The guide now provides clear, step-by-step instructions for setting up Airlog with a private GitHub repository using GitHub Actions. Formatting and organization have also been improved to make the guide more user-friendly.
Bugfix: Sorting on Subdomain Changelog Page π
A sorting issue on the subdomain changelog page has been fixed. The assign_summaries
function now includes parameters to specify order_by
and order_directions
for sorting summaries. This ensures that summaries are displayed in descending order based on the "summary_until" field, enhancing the accuracy and organization of the displayed information.
Improvement: Reactivate Pulling Repos π
The process of pulling repositories has been reactivated. Changes were made to ensure the daily changelogs worker no longer filters out nil account IDs and that the hourly refresh worker lists and imports git repositories based on specific criteria. This update ensures that the pulling of repositories resumes functioning as intended.
Improvement: Add Convenience Functions β¨
New convenience functions have been added to the lib/airlog_web.ex
file. These functions, such as ok(socket)
, ok(socket, opts)
, noreply(socket)
, halt(socket)
, and cont(socket)
, provide a streamlined way to handle different responses within the AirlogWeb module. This enhancement improves code readability and maintainability, making it easier for developers to handle various scenarios and interactions within the web application.
Here are the latest updates and improvements:
New Features
- Add a SQL sigil for SQL convenience in IEx and inside the app: π Added a SQL sigil for easier execution of SQL queries within the application. This includes changes to various files and the introduction of a new file,
lib/airlog/sigils.ex
, to define functions for handling SQL queries using Ecto. - Move to new method for creating changelog summaries (#122): Introduced a new method for creating changelog summaries. This includes new worker modules for handling daily changelogs, creating placeholder summaries, and scheduling the finalization of summaries for better organization.
Improvements
- Sort by importance when getting commits to make a changelog from: Enhanced the sorting method to list commits by importance in descending order, ensuring the most significant changes are highlighted first in the changelog. Also removed unused code and added comments for clarity.
- Fix sorting on public changelogs: Updated the sortable fields to include
summary until date
, providing more flexibility and improving the user experience by allowing better sorting options for public changelogs. - Tighten up commit purpose categories: Simplified and streamlined the categorization process for commits by reducing the number of available categories to 'bugfix, chore, improvement, new_feature', improving consistency and accuracy.
Bugfixes
- Fix correct params: Addressed an issue with the params in the
assign_summaries
function to ensure correct parameters are used for sorting summaries in the changelog live feature. This fix enhances functionality and user experience. - Bump deps: Updated dependencies in the project, ensuring the latest bug fixes, security patches, or new features from the updated dependencies are included.
We hope these updates improve your experience and make navigating the changelogs easier! π
Here are the latest updates and improvements to our project:
New Features
- Use the brand new GPT-4o model: π We've updated our OpenaiService to use the latest and greatest GPT-4o model. This change is made in the
model_picker.ex
file and promises improved performance and capabilities. The excitement around this update is palpable, as indicated by the enthusiastic commit message!
Improvements
- Add some admin views and improve making a summary: We've enhanced the admin experience and improved the commit summarization process:
- Summarization Enhancements: The
call
function insummorize_commit.ex
now excludes commits flagged withskip_summary
. Commits are sorted by importance before generating summary prompts, and the importance is now displayed in the summary output. - Admin View Enhancements: New columns for importance and skip status have been added to the admin view table in
index.html.heex
. A new detailed view for individual commits has been created (show.ex
), displaying comprehensive commit information. - Routing Updates: A new live route has been added to
router.ex
for displaying detailed commit information.
- Summarization Enhancements: The
These updates aim to streamline our workflow and enhance the overall user experience. π
Here's a summary of the recent changes and enhancements made to our project:
New Features
- Experiment with Tokens and Error Messaging
- Improved error handling in
async_worker.ex
by usingHoneybadger.notify
with a stack trace. - Increased the default value for
max_tokens
from 1,000 to 4,000 inopenai_service.ex
, allowing for more tokens to be processed during the model call.
- Improved error handling in
Improvements
-
Refactor Worker
- Updated the
Airlog.GitRepos.SummorizeCommit
module to remove redundant logic and improve code structure. - Simplified the
update_commit
function and made the code more maintainable.
- Updated the
-
Minor Refactor and Test
- Added
classify_commit_instructor.ex
for classifying commit messages. - Introduced
summorize_commit.ex
to summarize commit messages and update commit attributes. - Included test files to ensure the new modules function as expected.
- Added
Bugfixes
-
Disable Hourly Worker
- Disabled the hourly worker by commenting out the relevant code in
lib/airlog/public_repos/hourly_refresh_worker.ex
. - Replaced the code with a simple
:ok
return statement to stop the hourly refresh of git repos.
- Disabled the hourly worker by commenting out the relevant code in
-
Fix Metadata
- Updated
async_worker.ex
to include metadata in error notifications instead of stack traces, providing more context about the events that triggered the notifications.
- Updated
-
Fix Worker
- Ensured the
SummorizeCommit
module handles commits without a summary correctly. - Added
maybe_run_purpose_update
to classify and update the purpose of commits without a defined purpose but with a summary.
- Ensured the
These changes aim to improve the functionality, error handling, and overall maintainability of our codebase. π
Welcome to the latest updates! We've been working hard to improve the functionality and reliability of our project. Here's a summary of the most notable changes:
Improvements π οΈ
-
Setup test mocks for OpenAI: We've introduced test mocks for OpenAI, making it easier to test the project's functionality related to OpenAI integration. This includes modifications to several test files and the addition of new functions in
test_mocks.ex
to handle both synchronous and asynchronous responses. This significant improvement will enhance our testing capabilities and ensure more robust and reliable code. -
Update email sender details in invitation_notifier.ex: The email sender details in the
invite_user_email
function have been updated to improve clarity and branding. The sender name is now "Airlog.ai" and the email address is "noreply@mailer.airlog.ai". This small change enhances the professionalism of our email notifications. -
Update dependencies: We've updated the project's dependencies to their latest versions. This ensures that we maintain compatibility, security, and overall functionality. Keeping dependencies up-to-date is crucial for avoiding bugs and vulnerabilities.
Thank you for your continued support! Stay tuned for more updates. π
Here's a summary of the recent changes and improvements made:
New Features
- Improvement: Remove inspects and run some inserts async π
The AirlogWeb.Webhooks.GithubActionController module now processes commit files more efficiently by running inserts asynchronously usingTask.async
. This change removesIO.inspect
statements and leveragesOban.insert()
for summarizing commits, enhancing the overall performance and responsiveness of the application.
Bugfixes
-
Bugfix: Add a warning to the changelog list if there aren't any commits yet β οΈ
A warning icon is now displayed next to the repository name in the changelog list if there are no commit messages for that repository. This visual indicator helps users quickly identify repositories with no recorded commits. -
Bugfix: Internal: Trying to fix the events
Adjustments were made to theairlog_send_last_100_commits.yml
workflow file, specifically updating theGITHUB_EVENT
variable to use thetoJson
function ongithub.event.commits[0]
. This change aims to fix issues related to reading encoded logs and triggering webhooks. -
Bugfix: Internal: debugging the payload
Added an echo line forJSON_PAYLOAD
in the.github/workflows/airlog_send_last_100_commits.yml
file to aid in debugging. This helps ensure the payload is correctly formatted before being sent to the webhook endpoint, improving the reliability of the workflow.
Improvements
-
Improvement: Internal: Trying to refactor the event data
Refactored the event data handling in the.github/workflows/airlog_send_last_100_commits.yml
file by introducing a new environment variableGITHUB_EVENT
and modifying the JSON payload creation process. These changes streamline the workflow and enhance maintainability. -
Improvement: Internal: Trying to the event
Updated theGITHUB_EVENT
variable to usegithub.event.inputs.commit
instead ofgithub.event.commits[0]
in the.github/workflows/airlog_send_last_100_commits.yml
file. Adjustments were also made to the JSON payload structure, refining the process of triggering webhooks for the last 100 commits.
These updates bring several enhancements and bug fixes to improve the efficiency, reliability, and user experience of the application.
Here are the latest updates and improvements:
New Feature
- Improvement to Summary Generation: Enhanced the process of generating and rerunning summaries based on outline summaries and changelog data. Changes were made in
create_summary.ex
andrerun_component.ex
to build prompts and update summaries more efficiently.
Bugfixes
- Fix Authentication for Git Commits: Resolved an issue with the authentication token in
.github/workflows/airlog_send_last_100_commits.yml
to ensure secure and accurate commit information transfer to airlog.ai. - Small URL Fix: Updated the URL in
.github/workflows/airlog_send_last_100_commits.yml
fromhttp://host.docker.internal:4035/webhooks/github_actions
tohttps://airlog.ai/webhooks/github_actions
to ensure data is sent to the correct endpoint. - Spelling Corrections: Fixed spelling errors in
webhooks/github_action_controller.ex
andparser_test.exs
, ensuring consistency and accuracy in variable names.
Improvements
- Dependency Updates and Compiler Warnings Removal: Updated dependencies and removed compiler warnings. Changes include updating the logout link in
admin.html.heex
, commenting out an import statement inchangelog_live/show.ex
, adjusting the table display inmember_live/index.html.heex
, and updating themix.lock
file. These updates enhance the stability, security, and performance of the application.
Welcome to the latest update! We've been hard at work to improve your experience and add some exciting new features. Here's a rundown of what's new and improved:
Highlights
New feature: Initial Admin CRUD for Custom Prompts π
- Introduced initial admin CRUD functionality for custom prompts.
- Added a schema for custom prompts with fields like
symbolic_name
,active
, andmessages
. - Implemented functions for creating, updating, deleting, and listing custom prompts.
- Added live views for custom prompts, allowing users to view, edit, create, and delete prompts.
- Created a new database table for custom prompts.
- Comprehensive tests added to ensure the functionality of creating, updating, and deleting custom prompts.
Improvement: Nested Form for Messages in Custom Prompts π
- Added a nested form to the custom prompt creation process, including inputs for role and content within a messages field.
- Enhanced the user interface by adding a button to create a new message.
- Displayed the count of messages in the table on the index page and for specific custom prompts on the show page.
Improvement: Simplified Admin Role Management π©βπΌ
- Simplified admin functionality by adding an admin role to users.
- Updated the
admins.ex
file to handle admin pagination, creation, updating, and deletion. - Removed unnecessary files related to admin authentication and authorization.
- Added a new migration to include the role field in the users table.
- Updated tests and fixtures to reflect the changes in admin role management.
We hope you enjoy these updates and find them useful in your day-to-day tasks. Stay tuned for more enhancements and new features!