- Removed Code Climate badge from README - @dblock.
- Your contribution here.
- #277: Migrate Danger to use danger-pr-comment workflow - @dblock.
- #274: Added support for scoping slugs by multiple fields - @mikekosulin.
- #279: Replace deprecated
__find_args__withArray#flatten- @samiFakhfakhScalingo, @aurelien-reeves-scalingo. - #280: Remove deprecated method multi_arged? - @johnnyshields, @aurelien-reeves-scalingo.
- #281: Add ruby 4.0 to the ci - @aurelien-reeves-scalingo.
- #270: Drop support for Mongoid prior to version 7.0 - @johnnyshields.
- #272: Drop support for Ruby prior to version 2.7 - @johnnyshields.
- #272: Add CI coverage through Ruby 3.2 and Mongoid 8 - @johnnyshields.
- #272: Remove mongoid-danger gem dependency - @johnnyshields.
- #272: Fix various Rubocop issues - @johnnyshields.
- #271: Add :index option to slug macro to disable auto-index - @johnnyshields.
- #268: Improvements to localized slugs - @johnnyshields.
- #266: Ensure localized slugs index expected localized slug fields - @onomated, @johnnyshields.
- #265: Add Github Actions and remove Travis CI - @johnnyshields.
- #255: Use Mongoid::Config#models in rake task, resolves #247 - @kailan.
- #240: Fix: ensure we find the correct
BSON::Regexp::Rawclass - @artfuldodger.
- #234: Compatibility with Mongoid 6 - @moodlemags, @dblock.
- #238: Use
BSON::Regexp::Rawinstead of Ruby's Regexp to avoid a performance hit - @mzikherman.
- #228: Moved to the mongoid organization - @dblock, @digitalplaywright.
- #166: Configure slug builder globally - @anujaware.
- #209: Prefixed internal
Mongoid::Slugclass attributes withslug_to avoid conflicts - @dblock. - #217: Fixed
mongoid_slug:setrake task for Mongoid 6 - @dblock. - #219: Mongoid HEAD and Rails 5.0.0.rc1 support - @Fudoshiki.
- #224: Use Danger, PR linter - @dblock.
- #222: Fix:
Mongo::Error::OperationFailure: E11000 duplicate key error indexerror with blank slugs, default_slugstonilinstead of[]- @dblock. - #172: Improved handling of unique and sparse index constraints - @johnnyshields.
- #229: Upgraded to RuboCop 0.42.0 - @dblock.
- #204: The text portion of the slug is now truncated at
Mongoid::Slug::MONGO_INDEX_KEY_LIMIT_BYTES - 32bytes by default and can be set viamax_length- @dblock. - #177: Added
mongoid_slug:setrake task to set slug for legacy data - @anuja-joshi.
- #197: Compatibility with Mongoid 5.0.1, fix MONGOID-4177 - @dblock.
- #187: Mongoid 5 support - @dblock.
- #188: Removed deprecated name, mongoid_slug - @dblock.
- #189: Implemented RuboCop - @dblock.
- #179: Renamed gem to mongoid-slug - @nofxx.
- #168: Finding a unique slug is now threadsafe - @jaxesn.
- #165: Fixed compatibility with Mongoid::Paranoia - @johnnyshields.
- #163: Avoid scope error in tests - @johnnyshields.
- Require activesupport dependencies to fix error in test on ruby 1.9.3 and Mongoid 4 - @digitalplaywright.
- Bumped Mongoid 4 requirement to beta1 - @digitalplaywright.
- Fixed Mongoid4 - @blackxored.
- Fixed translation tests - @digitalplaywright.
- Added sparse option to slug index - @klacointe.
- Updated stringex dependency to 2.0 or higher - @digitalplaywright.
- Added Mongoid 4 support - @dblock.
- Fixed for when using localized slug with custom slug building strategy on virtual attrbitues - @astjohn.
- Refactored of test cases - @lucasrenan.
- #121, #122: Do not generate empty slug - @digitalplaywright.
- Optionally slugs are created and found per model type - @joe1chen.
- Fixed issue with default scope and slug uniqueness - @loopj.
- Avoid using reserved words as slugs - @deepakkumarnd.
- Fixed localized slug creation when using history and when the locale changes after document is created - @byscripts.
- Improved specs for reserved words - @astjohn.
- Added Mongoid Paranoia specs - @simi.
- Fixed Mongoid Slug for Ruby 2.0.0 - @digitalplaywright.
- Made slugs localizable by option - @xslim.
- Fix wrong homepage link in gemspec - @digitalplaywright.
- Separated out unique finding logic into own class - @guyboertje.
- Enabled custom specification of looks_like_slug? method - @guyboertje.
- Calling
to_paramon a document without a slug no longer builds a slug and persists the document - @gerad. - Removed transfer from history - @guyboertje.
- Do not create indexes for embedded documents - @digitalplaywright.
- Only look for a new unique slug if the existing slugs contains the current slug - @digitalplaywright.
- Custom slug block now passes in the object - @digitalplaywright.
- Fixed broken #find - @al.
- Only Mongoid 3.0 syntax is supported - @digitalplaywright.
- Store all slugs in a single field of array type - @digitalplaywright.
- Removed the ':as' feature - @digitalplaywright.
- Renamed slug field to _slugs - @digitalplaywright.
- Slugs are indexes by default and removed the :index option - @digitalplaywright.
- Reserved words should default to :new and :edit - @digitalplaywright.
- Removed find_by_slug - @digitalplaywright.
- Added
#find_by_slug!- @al.
- Corrected index creation on scoped slugs - @DouweM.
- Fixed Slug history should only apply if history is set to true - @tomaswitek.
- Fixed Model.slug should alias to to_param - @tomaswitek.
- Added .find_unique_slug_for and #find_unique_slug_for methods - @DouweM.
- Ensured uniqueness of slug set manually - @DouweM.
- Added support for reserved slugs - @siong1987, @DouweM.
- Added support for keeping a history of slugs - @DouweM.
- Added by_slug(slug) scope - @DouweM.
- Allowed set slug on aliased field - @eagleas.
- Bumped version of Stringex dependency - @digitalplaywright.
- Generated a slug when an existing document does not have one - @digitalplaywright.
- #23: Fix edbug concerning slugs with double-digit counters - @jbredeche.
- Removed #slug!. The method is of limited value - @digitalplaywright.
- #16: Library no longers hit database multiple times to find unique slug when duplicates exist - @tiendung.
- Slug now can be given an optional block to build a custom slug out of the specified fields - @digitalplaywright.
- Added #slug! to generate slug for an existing document - @digitalplaywright.
- Added support for STI models - @dmathieu.
- Fixed internals to work with Mongoid RC - @digitalplaywright.
- Finder is now dynamic - @digitalplaywright.
- Added support for scoping by reference association - @ches.
- Brought indexing back in as an option - @digitalplaywright.
- Added support for non-Latin languages - @etehtsea.
- Removed :scoped. Embedded objects are now scoped by parent by default - @digitalplaywright.
- Added finder method - @digitalplaywright.
- To be found in the dustbin of git log - @digitalplaywright.