Releases: metka-ruby/metka
Releases · metka-ruby/metka
Release list
v3.0.1
What's Changed
- Redraw the logo mark in pixel style by @igor-alexandrov in #99
- Update the gemspec to match the actual state of the project by @igor-alexandrov in #100
- fix(query): Check tagged_with :on against the declared tag columns by @igor-alexandrov in #101
- fix(generators): Validate table and column options as SQL identifiers by @igor-alexandrov in #103
- chore(release): Bump version to 3.0.1 by @igor-alexandrov in #104
Full Changelog: v3.0.0...v3.0.1
v3.0.0
What's Changed
- Modernize dependencies and CI for Ruby 3.2+ / Rails 7.1+ by @igor-alexandrov in #55
- Replace RSpec with Minitest by @igor-alexandrov in #56
- Replaced jetrockets-standard with rubocop-rails-omakase by @igor-alexandrov in #57
- Remove dead commented-out code from BaseQuery and TagList by @igor-alexandrov in #58
- Merge the refactoring stack into master by @igor-alexandrov in #66
- Keep NULL-column rows in exclude queries by @igor-alexandrov in #75
- Make an unrecognised join_operator raise instead of matching everything by @igor-alexandrov in #76
- Name the parser's quoted-tag extraction and its capture group by @igor-alexandrov in #77
- Treat the tag delimiter as a literal separator by @igor-alexandrov in #78
- Restrict metka_cloud to the declared tag columns by @igor-alexandrov in #79
- Make tagged_with take keywords and reject unknown options by @igor-alexandrov in #80
- Drop dry-configurable in favour of mattr_accessor by @igor-alexandrov in #81
- Document raw column writes as the user's responsibility by @igor-alexandrov in #82
- Make single-tag queries use the GIN-indexable array operators by @igor-alexandrov in #83
- Refresh the materialized view once per statement instead of per row by @igor-alexandrov in #84
- Add benchmark suite comparing Metka to other tagging gems by @igor-alexandrov in #85
- Bring the README up to date with the current code by @igor-alexandrov in #87
- Add a delta-maintained summary table tag-cloud strategy by @igor-alexandrov in #86
- Sunset the view and materialized view tag cloud strategies by @igor-alexandrov in #88
- Make the table strategy the documented default by @igor-alexandrov in #89
- Drop the materialized view variant from the benchmark suite by @igor-alexandrov in #90
- Reuse query objects and skip re-parsing parsed tag lists by @igor-alexandrov in #91
- Add SQLite support: json_each queries, tag clouds and trigger strategy by @igor-alexandrov in #92
- Add project logo and show it in the README by @igor-alexandrov in #94
- Rename table strategy summary table to <source_table>__cloud by @igor-alexandrov in #95
- ci: Publish the gem to RubyGems on GitHub release by @igor-alexandrov in #96
- chore(release): Bump version to 3.0.0 by @igor-alexandrov in #98
Full Changelog: v2.3.4...v3.0.0
v2.3.1
Fixed spec for Rails master
Updated Gemfile
v2.2.0
- Optimised query syntax to use PostgreSQL GIN indices (thanks @BenTalagan)
Please add GIN indices to you tag columns where it is necessary (e.g. if you usually search your models by tag)
class AddIndices < ActiveRecord::Migration[5.0]
def change
add_index :users, :tags, using: 'gin'
end
end- Dropped support for Rails < 5.2
- Switched to GitHub Actions
Rails 6.1 support
Added support for Rails 6.1. Dropped support for Rails 5.0 and 5.1.
v2.0.3
v2.0.2
v2.0.0
Changes
- Added
.tagged_withscope.
class Record < ApplicationRecord
include Metka::Model(columns: %w[tag1 tag2])
...
end
...
Record.tagged_with('some, tags')
# same as above
Record.tagged_with('some, tags', on: %w[tag1 tag2], exclude: false, any: false, join_operator: Metka::Or)- Added ActiveRecord strategy as a default strategy, so now it is possible to generate tag clouds without generating the new migrations and database objects.
Breaking changes
- only single
Metka::Modelinclusion is allowed, so instead of:
include Metka::Model(column: 'tags1')
include Metka::Model(column: 'tags2')use:
include Metka::Model(columns: %w[tags1 tags2])is fine:
include Metka::Model(column: 'tags')- only one tags parser is allowed per model
include Metka::Model(columns: %w[tags1 tags2], parser: My::AwesomeParser.instance)Bump nokogiri from 1.10.7 to 1.10.8
Bumps nokogiri from 1.10.7 to 1.10.8.
Release notes
Changelog
Commits
Release version 1.0.2
Bumps rack from 2.0.7 to 2.0.8.