Closed aldinokemal closed 2 months ago
[!CAUTION]
Review failed
The pull request is closed.
The pull request includes updates to the Go programming language version across various GitHub Actions workflows for Linux, macOS, and Windows, changing it from 1.21
to 1.23
. Additionally, the Dockerfile base image is updated to golang:1.23-alpine3.20
. The application version in the configuration file is incremented from v4.17.0
to v4.18.0
. The ContainsMention
function in the utility package is modified to extract phone numbers instead of mentions, and a new test file is added to validate this functionality. Documentation is also enhanced with an example section.
Files | Change Summary |
---|---|
.github/workflows/release-linux.yml , .github/workflows/release-mac.yml , .github/workflows/release-windows.yml |
Updated Go version from 1.21 to 1.23 in workflows for building applications on respective platforms. |
docker/golang.Dockerfile |
Changed base image from golang:1.22.5-alpine3.20 to golang:1.23-alpine3.20 . |
src/config/settings.go |
Updated AppVersion from v4.17.0 to v4.18.0 . |
src/go.mod |
Upgraded Go version to 1.23 , updated several dependencies to their latest versions. |
src/pkg/utils/general.go |
Modified ContainsMention function to extract phone numbers instead of mentions. |
src/pkg/utils/general_test.go |
Added unit tests for the modified ContainsMention function to validate its new behavior. |
readme.md |
Added an "Example" section with a link and a note regarding pkg-config command usage. |
sequenceDiagram
participant User
participant App
participant Utils
User->>App: Send message with phone number
App->>Utils: Call ContainsMention(message)
Utils-->>App: Return extracted phone numbers
App-->>User: Display extracted phone numbers
🐇 In code we hop and leap,
New versions make our hearts skip!
From mentions to numbers we now see,
A joyful change, oh what glee!
With tests to ensure all is right,
Our code shines ever so bright! 🌟
[!TIP]
OpenAI O1 model for chat
- We have deployed OpenAI's latest O1 model for chat. - OpenAI claims that this model has superior reasoning capabilities than their GPT-4o model. - Please share any feedback with us in the [discussions post](https://discord.com/channels/1134356397673414807/1283929536186155099).
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Context
Test