Skip to content

Latest commit

 

History

History
271 lines (164 loc) · 13.4 KB

CHANGELOG.md

File metadata and controls

271 lines (164 loc) · 13.4 KB

7.1.0 (Next)

  • #274: Added support for scoping slugs by multiple fields - @mikekosulin
  • Your contribution here.

7.0.0 (2023/09/18)

6.0.1 (2021/08/12)

6.0.0 (2018/09/17)

5.3.3 (2017/04/06)

5.3.2 (2017/04/03)

5.3.0 (2016/09/11)

5.2.0 (2016/01/03)

  • #204: The text portion of the slug is now truncated at Mongoid::Slug::MONGO_INDEX_KEY_LIMIT_BYTES - 32 bytes by default and can be set via max_length - @dblock
  • #177: Added mongoid_slug:set rake task to set slug for legacy data - @anuja-joshi

5.1.1

5.1.0

  • #194: Fixed compatibility with Mongoid::Observer - @dblock

5.0.0

4.0.0

3.2.2

Bugfixes

3.2.1

Improvements

Bugfixes

3.2.0

Improvements

Bugfixes

  • Fixed for when using localized slug with custom slug building strategy on virtual attrbitues - @astjohn

3.1.2

Bugfixes

  • Fixes for i8n slug generation - @astjohn
  • Don't use unique indexes with polymorphics - @pdf

Improvements

3.1.1

Bugfixes

3.1.0

New Features

  • Optionally slugs are created and found per model type - @joe1chen

Bugfixes

  • Fixed issue with default scope and slug uniqueness - @loopj

3.0.0

Bugfixes

  • 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

New Features

  • Made slugs localizable by option - @xslim

2.0.1

Bugfixes

2.0.0

New Features

  • Separated out unique finding logic into own class - @guyboertje
  • Enabled custom specification of looks_like_slug? method - @guyboertje

Major Changes (Backwards Incompatible)

  • Calling to_param on a document without a slug no longer builds a slug and persists the document - @gerad
  • Removed transfer from history - @guyboertje

1.0.1

Bugfixes

1.0.0

Features

  • Only look for a new unique slug if the existing slugs contains the current slug - @digitalplaywright

Minor Changes

Major Changes (Backwards Incompatible)

Bugfixes

  • Corrected index creation on scoped slugs - @DouweM

0.10.0

  • 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

0.9.0

  • #43: Allowed overriding of slug at model creation time - @bdmac

0.8.3

0.8.2

0.8.1

  • #27: No longer necessary to require library in Gemfile - @etehtsea

0.8.0

0.7.2

0.7.1

  • #16: Library no longers hit database multiple times to find unique slug when duplicates exist - @tiendung

0.7.0

  • Slug now can be given an optional block to build a custom slug out of the specified fields - @digitalplaywright

0.6.4

  • #10: Added :any option to use first present field when multiple fields are slugged - @iamnader

0.6.3

  • #13: Mongoid no longer requires that emmbedded_in pass :inverse_of option - @sporkd

0.6.2

0.6.1

0.6.0

0.5.1

  • Added support for scoping by reference association - @ches
  • Brought indexing back in as an option - @digitalplaywright

0.5.0

Earlier tags