Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix changelog generation #1199

Merged
merged 6 commits into from
Nov 19, 2024
Merged

ci: Fix changelog generation #1199

merged 6 commits into from
Nov 19, 2024

Conversation

silvanocerza
Copy link
Contributor

@silvanocerza silvanocerza commented Nov 18, 2024

Related Issues

Proposed Changes:

Change the --include-path glob to include all files in the integration folder to track for changelog generation.

Change the cliff.toml config file so that PRs that don't follow conventional commits appear in the changelog in a separate category.

I also split CI and Chores sections.

How did you test it?

I tested this locally.
This is the before:

# Changelog

## [unreleased]

## [integrations/langfuse-v0.6.0] - 2024-11-18

### 🚀 Features

- Add support for ttft (#1161)

### ⚙️ Miscellaneous Tasks

- Adopt uv as installer (#1142)

## [integrations/langfuse-v0.5.0] - 2024-10-01

### ⚙️ Miscellaneous Tasks

- Update ruff linting scripts and settings (#1105)

### Langfuse

- Add invocation_context to identify traces (#1089)

## [integrations/langfuse-v0.4.0] - 2024-09-17

### 🚀 Features

- Langfuse - support generation span for more LLMs (#1087)

### 🚜 Refactor

- Remove usage of deprecated `ChatMessage.to_openai_format` (#1001)

### 📚 Documentation

- Add link to langfuse in LangfuseConnector (#981)

### 🧪 Testing

- Do not retry tests in `hatch run test` command (#954)

### ⚙️ Miscellaneous Tasks

- Retry tests to reduce flakyness (#836)
- `Langfuse` - replace DynamicChatPromptBuilder with ChatPromptBuilder (#925)
- Remove all `DynamicChatPromptBuilder` references in Langfuse integration (#931)

## [integrations/langfuse-v0.2.0] - 2024-06-18

## [integrations/langfuse-v0.1.0] - 2024-06-13

### 🚀 Features

- Langfuse integration (#686)

### 🐛 Bug Fixes

- Performance optimizations and value error when streaming in langfuse (#798)

### ⚙️ Miscellaneous Tasks

- Use ChatMessage to_openai_format, update unit tests, pydocs (#725)

<!-- generated by git-cliff -->

After:

# Changelog

## [unreleased]


## [integrations/langfuse-v0.6.0] - 2024-11-18

### 🚀 Features

- Add support for ttft (#1161)

### ⚙️ CI

- Adopt uv as installer (#1142)

### 🌀 Miscellaneous

- Fixed TypeError in LangfuseTrace (#1184)

## [integrations/langfuse-v0.5.0] - 2024-10-01

### 🧹 Chores

- Update ruff linting scripts and settings (#1105)

### 🌀 Miscellaneous

- Fix: Add delay to flush the Langfuse traces (#1091)
- Add invocation_context to identify traces (#1089)

## [integrations/langfuse-v0.4.0] - 2024-09-17

### 🚀 Features

- Langfuse - support generation span for more LLMs (#1087)

### 🚜 Refactor

- Remove usage of deprecated `ChatMessage.to_openai_format` (#1001)

### 📚 Documentation

- Add link to langfuse in LangfuseConnector (#981)

### 🧪 Testing

- Do not retry tests in `hatch run test` command (#954)

### ⚙️ CI

- Retry tests to reduce flakyness (#836)

### 🧹 Chores

- `Langfuse` - replace DynamicChatPromptBuilder with ChatPromptBuilder (#925)
- Remove all `DynamicChatPromptBuilder` references in Langfuse integration (#931)

### 🌀 Miscellaneous

- Ci: install `pytest-rerunfailures` where needed; add retry config to `test-cov` script (#845)
- Chore: Update Langfuse README to avoid common initialization issues (#952)
- Chore: langfuse - ruff update, don't ruff tests (#992)

## [integrations/langfuse-v0.2.0] - 2024-06-18

### 🌀 Miscellaneous

- Feat: add support for Azure generators (#815)

## [integrations/langfuse-v0.1.0] - 2024-06-13

### 🚀 Features

- Langfuse integration (#686)

### 🐛 Bug Fixes

- Performance optimizations and value error when streaming in langfuse (#798)

### 🧹 Chores

- Use ChatMessage to_openai_format, update unit tests, pydocs (#725)

### 🌀 Miscellaneous

- Chore: change the pydoc renderer class (#718)
- Docs: add missing api references (#728)

<!-- generated by git-cliff -->

Notes for the reviewer

We should be more careful before merging PRs and add conventional commits prefixes so the changelog is nicely formatted in the future.

Notice also that if the commit message is multiple lines those will be shown in the changelog too, but we can deal with that for the time being.

Checklist

@silvanocerza silvanocerza self-assigned this Nov 18, 2024
@silvanocerza silvanocerza requested a review from a team as a code owner November 18, 2024 16:59
@silvanocerza silvanocerza requested review from vblagoje and anakin87 and removed request for a team November 18, 2024 16:59
Copy link
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@silvanocerza silvanocerza merged commit 3ed8dfb into main Nov 19, 2024
3 checks passed
@silvanocerza silvanocerza deleted the fix-changelog-generation branch November 19, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatical Changelog updates are sometimes incorrect
2 participants