1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [3.1.0] - 2025-04-28
- Added support for `offset_x` and `offset_y` options in the `as_svg` method for independent x and y padding around QR codes [#153]
## [3.0.0] - 2025-04-24
- Drop support for Ruby <3.0 in order to keep up with dev dependencies.
- **Breaking Change**: The `rqrcode_core` gem has been updated to version 2.0.0, which includes breaking changes. Please refer to the [rqrcode_core changelog](https://github.com/whomwah/rqrcode_core/blob/main/CHANGELOG.md)
## [2.2.0] - 2023-06-17
### Changed
- Allow all ChunkyPNG::Color options to be passed into `fill` and `color` on `as_png` [#135]
- Add 3.2 to CI [@petergoldstein](https://github.com/petergoldstein) [#133]
- Development dependency upgrades. Minimum Ruby change [#130]
- README updates
## [2.1.2] - 2022-07-26
### Changed
- Remove setup script as it just calls bundle install [#128]
- Change inline styles to the fill property to allow for strict CSP style-src directive [#127]
## [2.1.1] - 2022-02-11
### Added
- Added in a handler for when color arguments are passed in as symbols e.g `color: :yellow`. This also allows for the use of the `:currentColor` keyword. [#122]
## [2.1.0] - 2021-08-26
### Changed
- Sync Gemfile.lock with `rqrcode_core.1.2.0` [Adds Multimode Support](https://github.com/whomwah/rqrcode_core#multiple-encoding-support)
### Added
- Add badge for Standard linting
### Changed
- Corrected method name referred to in CHANGELOG.
## [2.0.0] - 2021-05-06
### Added
- A new `use_path:` option on `.as_svg`. This uses a `<path>` node to greatly reduce the final SVG size. [#108]
- A new `viewbox:` option on `.as_svg`. Replaces the `svg.width` and `svg.height` attribute with `svg.viewBox` to allow CSS scaling. [#112]
- A new `svg_attributes:` option on `.as_svg`. Allows you to pass in custom SVG attributes to be used in the `<svg>` tag. [#113]
### Changed
- README updated
- Rakefile cleaned up. You can now just run `rake` which will run specs and fix linting using `standardrb`
- Small documentation clarification [@smnscp](https://github.com/smnscp)
- Bump `rqrcode_core` to `~> 1.0`
### Breaking Change
- The dependency `rqrcode_core-1.0.0` has a tiny breaking change to the `to_s` public method. https://github.com/whomwah/rqrcode_core/blob/main/CHANGELOG.md#breaking-changes
## [1.2.0] - 2020-12-26
### Changed
- README updated
- bump dependencies
- fix `required_ruby_version` for Ruby 3 support
[unreleased]: https://github.com/whomwah/rqrcode/compare/v3.1.0...HEAD
[3.1.0]: https://github.com/whomwah/rqrcode/compare/v3.0.0...v3.1.0
[3.0.0]: https://github.com/whomwah/rqrcode/compare/v2.2.0...v3.0.0
[2.2.0]: https://github.com/whomwah/rqrcode/compare/v2.1.2...v2.2.0
[2.1.2]: https://github.com/whomwah/rqrcode/compare/v2.1.1...v2.1.2
[2.1.1]: https://github.com/whomwah/rqrcode/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/whomwah/rqrcode/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/whomwah/rqrcode/compare/v1.2.0...v2.0.0
[1.2.0]: https://github.com/whomwah/rqrcode/compare/v1.1.1...v1.2.0
|