Skip to content

Conversation

@tharropoulos
Copy link
Contributor

@tharropoulos tharropoulos commented Feb 4, 2025

TLDR

Adds support for stemming for v28, updates the upload-artifact action version to v4 in CI and changes the Ruby version matrix to include 3.3 and remove 2.7.

Change Summary

Stemming Functionality:

Test Suite Updates:

CI Workflow Update:

  • .github/workflows/tests.yml: Updated actions/upload-artifact from version 3 to version 4.
  • Update the matrix to include versions 3.0, 3.2, 3.3 and remove 2.7 from the matrix altogether.
  • Fix naming for artifact uploading to include Ruby version.

PR Checklist

- Add `Stemming`, `StemmingDictionaries` and `StemmingDictionary` classes
- Add `stemming` attribute to `Client` class
- Add integration tests for dictionary operations
- Update `collections_spec.rb` with stem dictionary field
- replace single-quoted `\n` with double-quoted `"\n"` in `jsonl` string processing
- fix inconsistent line splitting behavior in `upsert` method
Copy link
Member

@jasonbosco jasonbosco left a comment

Choose a reason for hiding this comment

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

Looks like tests are still failing

- add fallback response for empty dictionary retrieval in `StemmingDictionaries`
- refactor test setup to ensure proper test isolation
- fix webmock configuration in tests
@tharropoulos
Copy link
Contributor Author

Looks like tests are still failing

Resolved through fb2029f

@jasonbosco jasonbosco merged commit dc69428 into typesense:master Feb 7, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants