Skip to content

Releases: kpumuk/meta-tags

v2.13.0

10 Oct 18:57
Compare
Choose a tag to compare

Bugfixes:

  • Fixed Rails 6 deprecation warning.

v2.12.0

11 Sep 02:16
67ddfbc
Compare
Choose a tag to compare

Features:

  • Indexing directives (noindex, nofollow, etc. now support an array of robot names as a value).
  • Added support for link[rel='manifest'] (199)

Bugfixes:

  • When noindex uses "robots" as a value, nofollow ignores a custom robot name, and switches to "robots" as well

v2.11.1

19 Jan 21:52
Compare
Choose a tag to compare

Features:

  • Rails 6 is officially supported.

v2.11.0

16 Nov 18:38
Compare
Choose a tag to compare

Features:

  • Added a configuration option minify_output to remove new line characters between meta tags (182)
  • Title, description, and keywords can be an object responding to #to_str (183)

Bugfixes:

  • Truncate title before escaping HTML characters (180)

v2.10.0

09 Jun 01:12
Compare
Choose a tag to compare

Features:

  • Allow MetaTagsCollection#update to receive an object (169)

v2.9.0

29 Mar 16:50
Compare
Choose a tag to compare

Features:

  • Added ability to add index robots meta tag (thanks to @rafallo)

v2.8.0

01 Mar 00:23
Compare
Choose a tag to compare

Features:

  • Added noarchive support.

Changes:

  • Updated default description size to 300 as a new recommended truncation limit.

v2.7.1

01 Feb 19:35
Compare
Choose a tag to compare

Changes:

  • Properly generate Open Graph meta tags for object types that fail to provide a proper scope (e.g. restaurant:contact_info metadata for restaurant:restaurant object type).

Bugfixes:

  • Description truncated to empty string and removed from meta tags when limit is set to 0 (while documentation suggests we should remove limits in this case).

v2.7.0

22 Nov 18:07
Compare
Choose a tag to compare

Changes:

  • Generate open meta tags (<meta ... >) instead of closed meta tags (<meta ... />) by default, which is . Added a new option to switch back to self-closing meta tags, which are valid in HTML5, but unnecessary.

v2.6.0

24 Aug 16:07
Compare
Choose a tag to compare

Features:

  • Optionally avoid downcasing keywords
  • Added Rails generator to create an initializer with the default settings.
  • Added a configuration option truncate_site_title_first which enables site title truncation when title limit is reached.
  • When Time, Date, or DateTime passed as a meta tag value, it will be formatted according to ISO 8601.

Bugfixes:

  • When title limit reached with reverse set to true, properly truncate the last item of the title array instead of the first one.
  • Do not merge title and site title for OpenGraph, site title is available for reference as :site, and full title as :full_title.

Changes: