Skip to content

Releases: Narnach/groupie

Version 0.6.0

19 May 13:15
2ae9d2b
Compare
Choose a tag to compare

This release bumps the minimum Ruby version, so it's technically breaking if you're using a currently unsupported Ruby version. It also improves the tokenization of URLs by using their structure and common token boundaries to easily extract tokens.

  • 🚨 Breaking: drop support for Ruby 2.6, minimum is 2.7 (#58)
  • 📢 Feat: add better tokenization support for URIs (#42, #44)
  • Dev: Rubocop ignores unsafe cops, hides info severity (#59)
  • Dev: enforce 100% test coverage (#60)

Version 0.5.0

16 Feb 15:00
e96cea2
Compare
Choose a tag to compare

This release has:

  • 🚨 breaking changes (deprecation cleanup and internals rework)
  • 📢 a new feature (smart weights!)
  • and is officially tested on Ruby 3.1.0 (it's what I use). I've enabled the setting to require MFA to publish this gem, to help protect those who use it.

Nitty gritty details:

  • Breaking: remove String#tokenize core extension; please use Groupie.tokenize(string) instead #39
  • Breaking: due to changed internals, YAML serialized data from 0.4.x will lack some of the new internal caches. I'd suggest loading the old data and adding the words from each group to a new (0.5.x) instance of Groupie. #40
  • Feat: add support for smart default weights, reducing the effect of low data on predictions #40
  • Deps: add Ruby 3.1 to list of tested & supported gems
  • Chore: require multi-factor authentication to publish gem updates
  • Chore: add Security.md to advertise a security policy
  • Style: addressed Lint/AmbiguousOperatorPrecedence
  • Dev: bump development dependencies multiple times
  • Dev: switch to DepFu to manage development dependencies

Version 0.4.1

07 Sep 22:22
f526297
Compare
Choose a tag to compare

Non-functional fixes to the CI config and Rubygems.org metadata, so the link to the changelog gets fixed.

  • Fix: correct changelog uri for gem
  • CI: fix dependabot config

Version 0.4.0

07 Sep 21:58
042f725
Compare
Choose a tag to compare

Welcome to 2021, where Ruby version 2.6 is the lowest with official support, Bundler is the default for managing packages and RSpec version 3 is used to test things. This version updates Groupie into this decade.

  • Refactor: update Groupie to 2021 standards
  • Feat: raise Groupie::Error instead of RuntimeError
  • Feat: deprecate String#tokenize in favor of Groupie.tokenize
  • Doc: document API of Groupie
  • Doc: update readme with examples
  • Refactor: reorder Groupie methods by importance
  • Refactor: simplify Groupie#classify
  • Refactor: reduce complexity of Groupie#unique_words
  • Refactor: simplify Groupie#classify_text