README.md in hightop-0.4.0 vs README.md in hightop-0.5.0

- old
+ new

@@ -11,11 +11,11 @@ # } ``` Works with Active Record, Mongoid, arrays and hashes -[![Build Status](https://github.com/ankane/hightop/workflows/build/badge.svg?branch=master)](https://github.com/ankane/hightop/actions) +[![Build Status](https://github.com/ankane/hightop/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/hightop/actions) ## Installation Add this line to your application’s Gemfile: @@ -90,21 +90,9 @@ Min count ```ruby ["up", "up", "down"].top(min: 2) ``` - -## Upgrading - -### 0.3.0 - -Hightop 0.3.0 protects against unsafe input by default. For non-attribute arguments, use: - -```ruby -Visit.top(Arel.sql(known_safe_value)) -``` - -Also, the `uniq` option has been removed. Use `distinct` instead. ## History View the [changelog](https://github.com/ankane/hightop/blob/master/CHANGELOG.md)