# 1.8.0 / 2017-06-04
## Backwards incompatibilities
This release ends support for Ruby 2.1 on Windows in the `x86-mingw32` and `x64-mingw32` platform gems (containing pre-compiled DLLs). Official support ended for Ruby 2.1 on 2017-04-01.
Please note that this deprecation note only applies to the precompiled Windows gems. Ruby 2.1 continues to be supported (for now) in the default gem when compiled on installation.
## Dependencies
* [Windows] Upgrade iconv from 1.14 to 1.15 (unless --use-system-libraries)
* [Windows] Upgrade zlib from 1.2.8 to 1.2.11 (unless --use-system-libraries)
* [MRI] Upgrade rake-compiler dependency from 0.9.2 to 1.0.3
* [MRI] Upgrade mini-portile2 dependency from `~> 2.1.0` to `~> 2.2.0`
## Compatibility notes
* [JRuby] Removed support for `jruby --1.8` code paths. [#1607] (Thanks, @kares!)
* [MRI Windows] Retrieve zlib source from http://zlib.net/fossils to avoid deprecation issues going forward. See #1632 for details around this problem.
## Features
* NodeSet#clone is not an alias for NodeSet#dup [#1503] (Thanks, @stephankaag!)
* Allow Processing Instructions and Comments as children of a document root. [#1033] (Thanks, @windwiny!)
* [MRI] PushParser#replace_entities and #replace_entities= will control whether entities are replaced or not. [#1017] (Thanks, @spraints!)
* [MRI] SyntaxError#to_s now includes line number, column number, and log level if made available by the parser. [#1304, #1637] (Thanks, @spk and @ccarruitero!)
* [MRI] Cross-built Windows gems now support Ruby 2.4
* [MRI] Support for frozen string literals. [#1413]
* [MRI] Support for installing Nokogiri on a machine in FIPS-enabled mode [#1544]
* [MRI] Vendored libraries are verified with SHA-256 hashes (formerly some MD5 hashes were used) [#1544]
* [JRuby] (performance) remove unnecessary synchronization of class-cache [#1563] (Thanks, @kares!)
* [JRuby] (performance) remove unnecessary cloning of objects in XPath searches [#1563] (Thanks, @kares!)
* [JRuby] (performance) more performance improvements, particularly in XPath, Reader, XmlNode, and XmlNodeSet [#1597] (Thanks, @kares!)
## Bugs
* HTML::SAX::Parser#parse_io now correctly parses HTML and not XML [#1577] (Thanks for the test case, @gregors!)
* Support installation on systems with a `lib64` site config. [#1562]
* [MRI] on OpenBSD, do not require gcc if using system libraries [#1515] (Thanks, @jeremyevans!)
* [MRI] XML::Attr.new checks type of Document arg to prevent segfaults. [#1477]
* [MRI] Prefer xmlCharStrdup (and friends) to strdup (and friends), which can cause problems on some platforms. [#1517] (Thanks, @jeremy!)
* [JRuby] correctly append a text node before another text node [#1318] (Thanks, @jkraemer!)
* [JRuby] custom xpath functions returning an integer now work correctly [#1595] (Thanks, @kares!)
* [JRuby] serializing (`#to_html`, `#to_s`, et al) a document with explicit encoding now works correctly. [#1281, #1440] (Thanks, @kares!)
* [JRuby] XML::Reader now returns parse errors [#1586] (Thanks, @kares!)
* [JRuby] Empty NodeSets are now decorated properly. [#1319] (Thanks, @kares!)
* [JRuby] Merged nodes no longer results in Java exceptions during XPath queries. [#1320] (Thanks, @kares!)
# 1.7.2 / 2017-05-09
## Security Notes
[MRI] Upstream libxslt patches are applied to the vendored libxslt 1.1.29 which address CVE-2017-5029 and CVE-2016-4738.
For more information:
* https://github.com/sparklemotion/nokogiri/issues/1634
* http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-5029.html
* http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-4738.html
=== 0.5.3 2017-05-24
* Removing legacy scripts (James Pinto)
* Fix#145 - broken CLI required loading active_support (James Pinto)
=== 0.5.2 2017-05-17
* Adding a development dependency that had not been mentioned (James Pinto)
* Use assert_nil so as to silence a Minitest 6 deprecation warning (James Pinto)
* Stop bundling tests files in the gem (Michal Papis)
* Minor cleanup on tests (James Pinto)
* TravisCI no longer needs libcurl-dev (James Pinto)
* Nokogiri 1.7 does not accept Ruby 2.0 (James Pinto)
* Upgrading to CodeClimate 1.0 (James Pinto)
* Adding support to Ruby 2.4 and head (James Pinto)
* Locking gemspec to Rails 4 so as to allow our next version for Rails 5 (James Pinto)
* Fix#113 adding paths when a full URL has been specified (James Pinto)
* moving development dependency to gemspec (James Pinto)
* Silencing 'Net::HTTPResponse#header is obsolete' (James Pinto)
* Silencing some test warnings (James Pinto)
* Silencing 'loading in progress, circular require considered harmful' (James Pinto)
* Silence 'URI.escape obsolete' (James Pinto)
* Refactored CLI (James Pinto)
* Bug Fix, webmock 2.0 has introduced a new bug (James Pinto)
* Moving test files into test/units/ (James Pinto)
* Adding CodeClimate (James Pinto)
* Reimplementing #82 - Debug Output Option (James Pinto)
* Making a test/support dir (James Pinto)
* Fix#177 - Adjusting to webmock latest recommended implementation for minitest (James Pinto)
* Adding support to Ruby 2.4 and head (James Pinto)
* Upgrading to CodeClimate 1.0 (James Pinto)
* Nokogiri 1.7 does not accept Ruby 2.0 (James Pinto)
Proxifier is a gem to force ruby to use a proxy.
This gem was created for 2 purposes.
First is to enable ruby programmers to use HTTP or SOCKS proxies
interchangeably when using TCPSockets. Either manually with
Proxifier::Proxy#open or by require "proxifier/env".
The second purpose is to use ruby code that doesn't user proxies for users
that have to use proxies.
The pruby and pirb executables are simple wrappers for their respective ruby
executables that support proxies from environment variables.
## v1.60.1
* DNSSEC validation switched OFF by default (but can still be switched on)
* Add APL RR support (thanks Manabu Sonoda)
* Various test fixes (thanks Keith Bennett)
* 'include' issues fixed (thanks Keith Bennett!)
* Fixnum replacement (thanks Keith Bennett)
* Zone transfer fixes (thanks Manabu Sonoda)
* Name decoding fix
* MX record passing error now raised
* CAA RR support (thanks Richard Luther)
* TLSA RR support (thanks Manabu Sonoda)
## Changes between 2.1.0 and 2.2.0 (unreleased)
### Timestamps are Encoded as 64-bit Unsigned Integers
This is a potentially **breaking change**. It is recommended that
all applications that use this gem and pass date/time values in message
properties or headers are upgraded at the same time.
GitHub issue: [#64](https://github.com/ruby-amqp/amq-protocol/issues/64).
Contributed by Carl Hoerberg.
v13.1.0 (2017-05-09)
* Improvements to EC2 metadata handling to reuse connections #995 (tas50)
* EC2: Poll EC2 metadata from the new 2016 metadata API versions #992 (tas50)
* Inject sane paths into shell_out #991 (akitada)
* mdadm: Add members devices array #989 (jaymzh)
v13.0.1 (2017-04-12)
Fixed bugs:
* Fix Eucalyptus plugin to use the HttpHelper mixin #987 (akitada)
* Fix OpenStack plugin to use the HttpHelper mixin #986 (akitada)
v13.0.0 (2017-04-06)
Implemented enhancements:
* Load all the plugin paths for ohai plugin dependency resolution #984
(thommay)
* Require Ruby 2.3+ to match Chef itself #981 (tas50)
* Allow ohai to load a plugin path #980 (thommay)
* Fully rename the cloud_v2 plugin to cloud #978 (tas50)
* Replace the existing filesystem plugin on Linux and Darwin with
filesystem_v2 #974 (tas50)
* Replace the cloud plugin with the cloud_v2 plugin #973 (tas50)
* Freeze all string values coming out of Ohai. #972 (coderanger)
* Update amazon to use the platform_family of amazon not RHEL #971
(lamont-granquist)
* Add DMI type 40,41, and 42 from the latest man page #969 (tas50)
* [ec2] Add additional data from identity document #964 (webframp)
* Move duplicate http logic into a helper #951 (tas50)
* Remove deprecated config logic #939 (tas50)
* Require Ruby 2.2+ #938 (tas50)
* Remove the deprecated run_command and popen4 methods #933 (tas50)
* Remove usage of the Sigar gem #930 (tas50)
Fixed bugs:
* Remove sbt version detect as it's not possible in the current sbt #982 (tas50)
* Fix scala detection when version output contains a warning #959 (tas50)
* Fix lua detection on new versions of lua #958 (tas50)
* Fix logger issues #955 (lamont-granquist)
* Rescue exception in DMI plugin #952 (tas50)
* Use name for Windows CPU model_name #918 (tduffield)
8.24.0 (2017-05-08)
* base: Load additional ohai plugins from /etc/chef/ohai/plugins or
C:\chef\ohai\plugins\
* ec2: Poll EC2 metadata from the new 2016 metadata API versions #992 (tas50)
mdadm: Add a new 'members' attribute for member devices in the array #989
(jaymzh)
* dmi: Add DMI type 40,41, and 42 from the latest man page #969 (tas50)
* ec2: Gather availability_zone and region data #964 (webframp)
* scala: Fix scala detection when version output contains a warning #959 (tas50)
* lua: Fix lua detection on new versions of lua #958 (tas50)
* dmi: Rescue exception in DMI plugin to improve debug logs #952 (tas50)
### 2.2.0 / 2017-06-04
#### Enhancements
* Remove MD5 hashing of configure options, not avialbale in FIPS mode. (#78)
* Add experimental support for cmake-based projects.
* Retry on HTTP failures during downloads. [#63] (Thanks, @jtarchie and @jvshahid!)
* Support Ruby 2.4 frozen string literals.
* Support applying patches for users with misconfigured git worktree. [#69]
* Support gpg signature verification of download resources.
## 1.15.1 (2017-06-02)
Bugfixes:
- `bundle lock --update GEM` will fail gracefully when the gem is not in the lockfile (#5693, @segiddins)
- `bundle init --gemspec` will fail gracefully when the gemspec is invalid (@colby-swandale)
- `bundle install --force` works when the gemfile contains git gems (#5678, @segiddins)
- `bundle env` will print well-formed markdown when there are no settings (#5677, @segiddins)
## 1.15.0 (2017-05-19)
This space intentionally left blank.
## 1.15.0.pre.4 (2017-05-10)
Bugfixes:
- avoid conflicts when `Gem.finish_resolve` is called after the bundle has been set up (@segiddins)
- ensure that `Gem::Specification.find_by_name` always returns an object that can have `#to_spec` called on it (#5592, @jules2689)
## 1.15.0.pre.3 (2017-04-30)
Bugfixes:
- avoid redundant blank lines in the readme generated by `bundle gem` (@koic)
- ensure that `open-uri` is not loaded after `bundle exec` (@segiddins)
- print a helpful error message when an activated default gem conflicts with
a gem in the gemfile (@segiddins)
- only shorten `ref` option for git gems when it is a SHA (#5620, @segiddins)
## 1.15.0.pre.2 (2017-04-23)
Bugfixes:
- ensure pre-existing fit caches are updated from remote sources (#5423, @alextaylor000)
- avoid duplicating specs in the lockfile after updating with the gem uninstalled (#5599, @segiddins)
- ensure git gems have their extensions available at runtime (#5594, @jules2689, @segiddins)
## 1.15.0.pre.1 (2017-04-16)
Features:
- print a notification when a newer version of bundler is available (#4683, @segiddins)
- add man pages for all bundler commands (#4988, @feministy)
- add the `bundle info` command (@fredrb, @colby-swandale)
- all files created with `bundle gem` comply with the bundler style guide (@zachahn)
- if installing a gem fails, print out the reason the gem needed to be installed (#5078, @segiddins)
- allow setting `gem.push_key` to set the key used when running `rake release` (@DTrierweiler)
- print gem versions that are regressing during `bundle update` in yellow (#5506, @brchristian)
- avoid printing extraneous dependencies when the resolver encounters a conflict (@segiddins)
- add the `bundle issue` command that prints instructions for reporting issues (#4871, @jonathanpike)
- add `--source` and `--group` options to the `bundle inject` command (#5452, @Shekharrajak)
- add the `bundle add` command to add a gem to the gemfile (@denniss)
- add the `bundle pristine` command to re-install gems from cached `.gem` files (#4509, @denniss)
- add a `--parseable` option for `bundle config` (@JuanitoFatas, @colby-swandale)
Performance:
- speed up gemfile initialization by storing locked dependencies as a hash (@jules2689)
- speed up gemfile initialization by making locked dependency comparison lazy, avoiding object allocation (@jules2689)
- only validate git gems when they are downloaded, instead of every time `Bundler.setup` is run (@segiddins)
- avoid regenerating the lockfile when nothing has changed (@segiddins)
- avoid diffing large arrays when no sources in the gemfile have changed (@segiddins)
- avoid evaluating full gemspecs when running with RubyGems 2.5+ (@segiddins)
Bugfixes:
- fix cases where `bundle update` would print a resolver conflict instead of updating the selected gems (#5031, #5095, @segiddins)
- print out a stack trace after an interrupt when running in debug mode (@segiddins)
- print out when bundler starts fetching a gem from a remote server (@segiddins)
- fix `bundle gem` failing when `git` is unavailable (#5458, @Shekharrajak, @colby-swandale)
- suggest the appropriate command to unfreeze a bundle (#5009, @denniss)
- ensure nested calls to `bundle exec` resolve default gems correctly (#5500, @segiddins)
- ensure that a plugin failing to install doesn't uninstall other plugins (@kerrizor, @roseaboveit)
- ensure `socket` is required before being referenced (#5533, @rafaelfranca)
- allow running `bundle outdated` when gems aren't installed locally (#5553, @segiddins)
- print a helpful error when `bundle exec`ing to a gem that isn't included in the bundle (#5487, @segiddins)
- print an error message when a non-git gem is given a `branch` option (#5530, @colby-swandale)
- allow interrupts to exit the process after gems have been installed (@segiddins)
- print the underlying error when downloading gem metadata fails (#5579, @segiddins)
- avoid deadlocking when installing with a lockfile that is missing dependencies (#5378, #5480, #5519, #5526, #5529, #5549, #5572, @segiddins)
== Version 2.6.5 - 2017-04-26 Jeremy Daer <jeremydaer@gmail.com>
Features:
* #1053 - Ruby 2.4.0 compatibility. Fixnum+Bignum unified as Integer. (peterkovacs)
Bugs:
* #605 - Fix Mail::Address#name for nil addresses (peterkovacs)
* #1003 - Fix decoding some b encoded headers on specific rubies that don't account for lack of base64 padding (kjg)
* #1023 - Fix double-quoting in display names. (garethrees)
## 3.2.4 - 2017-05-23 {#version-3-2-4}
### Improvements
* Updated tests for Ruby 2.4. [GitHUb#136][Patch by Kazuki Tsujimoto]
* Supported power\_assert 1.0.0. [GitHub#137][Patch by Kazuki Tsujimoto]
* Added the getting started document.
[GitHub#139][GitHub#141][Patch by Hiroyuki Sato]
* Added the document for `attribute`.
[GitHub#143][Patch by Fumiaki MATSUSHIMA]
* Improved a link for GitHub. [GitHub#144][Patch by rochefort]
* Updated `.travis.yml`. [GitHub#145][Patch by Jun Aruga]
### Fixes
* Fixed a contributor name. [GitHub#131][Patch by Akira Matsuda]
* Fixed typos in document. [GitHub#132][Patch by Akira Matsuda]
* Fixed typos in document. [GitHub#134][Patch by Yuji Yaginuma]
* Fixed a bug that data label with "(" isn't supported.
[GitHub#135][Reported by Kazuki Tsujimoto]
* Fixed assertion message in English.
[GitHub#133][Reported by Khalil Fazal]
* Fixed a typo in typo fix. [GitHub#138][Patch by kami]
* Fixed a bug that target location finder may return wrong
location. [GitHub#146][Patch by Yuki Ito]
* Fixed a bug that `--no-show-detail-immediately` raises an error.
[GitHub#147][Reported by MSP-Greg]
### Thanks
* Akira Matsuda
* Yuji Yaginuma
* Kazuki Tsujimoto
* Khalil Fazal
* kami
* Hiroyuki Sato
* Fumiaki MATSUSHIMA
* rochefort
* Jun Aruga
* Yuki Ito
* MSP-Greg
### 3.6.0 / 2017-05-04
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.6.0.beta2...v3.6.0)
Bug Fixes:
* Fix "instance variable @color not initialized" warning when using
rspec-mocks without rspec-core. (Myron Marston, #1142)
* Restore aliased module methods properly when stubbing on 1.8.7.
(Samuel Giddins, #1144)
* Allow a message chain expectation to be constrained by argument(s).
(Jon Rowe, #1156)
### 3.6.0.beta2 / 2016-12-12
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.6.0.beta1...v3.6.0.beta2)
Enhancements:
* Add new `without_partial_double_verification { }` API that lets you
temporarily turn off partial double verification for an example.
(Jon Rowe, #1104)
### 3.6.0.beta1 / 2016-10-09
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0...v3.6.0.beta1)
Bug Fixes:
* Return the test double instance form `#freeze` (Alessandro Berardi, #1109)
* Allow the special logic for stubbing `new` to work when `<Class>.method` has
been redefined. (Proby, #1119)