|
| 1 | +# Change Log |
| 2 | + |
| 3 | +Starting with v2.0.0, all notable changes to this project will be documented in this file. |
| 4 | +This project adheres to [Semantic Versioning](http://semver.org/). |
| 5 | + |
| 6 | + |
| 7 | +## Following the release of version 5.0.2 on October 13, 2023, an automated changelog has been implemented, this document is an archived copy of the previous changelog |
| 8 | + |
| 9 | +## v5.0.2 - 2023-09-29 |
| 10 | +* Correct a Digest call making this thread-safe and allowing for concurrent r10k deploys. |
| 11 | + Thanks to @cmd-ntrf for fixing it and to @baurmatt for tracking it down in the first place. |
| 12 | + |
| 13 | +## v5.0.1 - 2023-07-10 |
| 14 | +* Update README to reflect accurate Ruby requirement and `faraday` gem dependency |
| 15 | +## v5.0.0 - 2023-05-07 |
| 16 | + |
| 17 | +* Ruby 3.2 support. |
| 18 | +* LRU caching for HTTP response caching. |
| 19 | +* Raise a ModuleNotFound error instead of just nil when a module is not found. |
| 20 | + |
| 21 | +## v4.1.0 - 2023-02-21 |
| 22 | + |
| 23 | +* Add upload method functionality. |
| 24 | +* Allows the user to search by an array of endorsements. |
| 25 | + |
| 26 | +## v4.0.0 - 2022-11-30 |
| 27 | + |
| 28 | +* Breaking: The `puppet_forge` gem now requires at least Ruby 2.6.0 |
| 29 | +* Update `faraday` gem to 2.x series |
| 30 | + |
| 31 | +## v3.2.0 - 2021-11-09 |
| 32 | + |
| 33 | +* Allow requests to follow redirects |
| 34 | +* Remove the `gettext-setup` gem dependency, which was unused |
| 35 | + |
| 36 | +## v3.1.0 - 2021-08-20 |
| 37 | + |
| 38 | +### Changed |
| 39 | + |
| 40 | +* Update `PuppetForge::Connection.authorization` so that it prepends the |
| 41 | + required `Bearer ` string automatically to values that look like Forge API |
| 42 | + keys. This won't affect values that already include `Bearer `. |
| 43 | + |
| 44 | +## v3.0.0 - 2021-01-28 |
| 45 | + |
| 46 | +* Breaking: The `puppet_forge` gem now requires at least Ruby 2.4.0. |
| 47 | +* Update `faraday` and `faraday_middleware` gem dependencies to 1.x series. |
| 48 | +* Update optional `typhoeus` dependency to `>= 1.4` to maintain compatibility with `faraday`. |
| 49 | + |
| 50 | +## v2.3.4 - 2020-03-31 |
| 51 | + |
| 52 | +* Update the forge API url to `forgeapi.puppet.com` (instead of using the older puppetlabs.com domain). |
| 53 | +* Allow versions of the `faraday_middleware` dependency up to 0.15. |
| 54 | + |
| 55 | +## v2.3.3 - 2020-02-20 |
| 56 | + |
| 57 | +### Changed |
| 58 | + |
| 59 | +* Allow versions of faraday up to 0.18 |
| 60 | + |
| 61 | +## v2.3.2 - 2020-02-05 |
| 62 | + |
| 63 | +### Fixed |
| 64 | + |
| 65 | +* Catch and handle the new `Faraday::TimeoutError`s which are occasionally |
| 66 | + surfaced by the the typheous adapter with more recent verions of libcurl, and |
| 67 | + log them the same way that `Faraday::ConnectionFailed` errors are already |
| 68 | + logged. |
| 69 | + |
| 70 | +### Changed |
| 71 | + |
| 72 | +* Allow for using `faraday_middleware` versions in the 0.13.x series. |
| 73 | + |
| 74 | +## v2.3.1 - 2019-11-15 |
| 75 | + |
| 76 | +### Fixed |
| 77 | + |
| 78 | +* Fixed an issue where proxy configurations were being ignored by expanding the range of acceptable versions of the `faraday` gem dependency and specifically excluding the version that was ignoring proxy configuration options. |
| 79 | + |
| 80 | +## v2.3.0 - 2019-07-09 |
| 81 | + |
| 82 | +### Changed |
| 83 | + |
| 84 | +* Updated `PuppetForge::V3::Release#verify` method to use `file_sha256` checksum from Forge API when available. |
| 85 | +* Added an `allow_md5` param to `PuppetForge::V3::Release#verify` method to control whether or not fallback to MD5 checksum will be allowed in cases where SHA-256 checksum is not available. |
| 86 | + |
| 87 | +## v2.2.9 - 2017-12-01 |
| 88 | + |
| 89 | +### Changed |
| 90 | + |
| 91 | +* Loosened dependency on `faraday` and `faraday_middleware` gems to include recent releases. |
| 92 | + |
| 93 | +## v2.2.8 - 2017-11-09 |
| 94 | + |
| 95 | +### Added |
| 96 | + |
| 97 | +Created PuppetForge::Util class with a single method, version_valid?, in order to |
| 98 | +drop the r10k dependency on semantic_puppet. |
| 99 | + |
| 100 | +## v2.2.7 - 2017-06-30 |
| 101 | + |
| 102 | +### Changed |
| 103 | + |
| 104 | +* Updated dependency on `semantic_puppet` to `~> 1.0`. |
| 105 | + |
| 106 | +## v2.2.6 - 2017-06-27 |
| 107 | + |
| 108 | +### Fixed |
| 109 | + |
| 110 | +* Fixed an issue when attempting to assign a non-String value to `PuppetForge.host`. |
| 111 | + |
| 112 | +## v2.2.5 - 2017-06-26 |
| 113 | + |
| 114 | +### Fixed |
| 115 | + |
| 116 | +* (FORGE-338) Fixed an issue where `V3::Release.download_url` returned an incorrect value when `PuppetForge.host` included |
| 117 | + a path prefix. (Thanks to [Jainish Shah](https://github.com/jainishshah17) for the report and initial fix proposal.) |
| 118 | + |
| 119 | +## v2.2.4 - 2017-04-17 |
| 120 | + |
| 121 | +### Added |
| 122 | + |
| 123 | +* PuppetForge::Connection now has .accept\_language and .accept\_language= class methods providing a way to set the |
| 124 | + 'Accept-Language' header for outbound requests. |
| 125 | + |
| 126 | +## v2.2.3 - 2017-01-17 |
| 127 | + |
| 128 | +### Changed |
| 129 | + |
| 130 | +* Fixed an issue that was preventing PuppetForge.host from honoring any given path prefix. |
| 131 | +* Upgraded gettext-setup dependency to 0.11 release. |
| 132 | + |
| 133 | +## v2.2.2 - 2016-07-06 |
| 134 | + |
| 135 | +### Changed |
| 136 | + |
| 137 | +* Externalized all user facing strings with gettext to support future localization work. |
| 138 | + |
| 139 | +## v2.2.1 - 2016-05-24 |
| 140 | + |
| 141 | +### Changed |
| 142 | + |
| 143 | +* Fixed an issue where certain types of connection failures raised a spurious "method missing" error instead of the underlying |
| 144 | + exception. |
| 145 | +* When setting PuppetForge::Connection.proxy, an empty string will now be treated as nil. If no proxy has yet been configured, |
| 146 | + setting to an empty string will have no effect. If a proxy has already been configured, setting to nil will unset the existing |
| 147 | + value. |
| 148 | + |
| 149 | +## v2.2.0 - 2016-05-10 |
| 150 | + |
| 151 | +### Changed |
| 152 | + |
| 153 | +* puppet\_forge's optional dependency on Typhoeus now searches for a gem matching '~> 1.0.1' so it will pick up more recent versions. |
| 154 | + NOTE: This means if you have a version of Typhoeus installed that is less than 1.0.1, puppet\_forge will no longer use the Typhoeus |
| 155 | + adapter and will fall back to Ruby's Net::HTTP library. |
| 156 | + |
| 157 | +## v2.1.5 - 2016-04-13 |
| 158 | + |
| 159 | +### Added |
| 160 | + |
| 161 | +* PuppetForge::Connection now has .proxy and .proxy= class methods providing a more reliable way of configuring an HTTP proxy. |
| 162 | + |
| 163 | +### Changed |
| 164 | + |
| 165 | +* Cached connection objects will now be automatically discarded when proxy or authorization config has changed. |
| 166 | + |
| 167 | +## v2.1.4 - 2016-04-01 |
| 168 | + |
| 169 | +### Changed |
| 170 | + |
| 171 | +* Bug in usage of minitar filenames led to ignored tar files with tar file length of >100 chars. |
| 172 | + |
| 173 | +## v2.1.3 - 2016-01-25 |
| 174 | + |
| 175 | +### Changed |
| 176 | + |
| 177 | +* PuppetForge::V3::Release.download will now use the "file\_uri" field of the Release API response to calculate the URI to download from. (Thanks to [ericparton](https://github.com/ericparton) for the contribution.) |
| 178 | + |
| 179 | +## v2.1.2 - 2015-12-16 |
| 180 | + |
| 181 | +### Changed |
| 182 | + |
| 183 | +* Runtime dependency on "faraday\_middleware" gem updated to allow 0.10.x releases. |
| 184 | + |
| 185 | +## v2.1.1 - 2015-10-06 |
| 186 | + |
| 187 | +### Changed |
| 188 | + |
| 189 | +* Bug in error message around missing release on forge caused inappropriate error. |
| 190 | + |
| 191 | +## v2.1.0 - 2015-08-20 |
| 192 | + |
| 193 | +### Added |
| 194 | + |
| 195 | +* PuppetForge::ReleaseForbidden added to acknowledge 403 status returned from release download request |
| 196 | + |
| 197 | +## v2.0.0 - 2015-08-13 |
| 198 | + |
| 199 | +### Added |
| 200 | + |
| 201 | +* PuppetForge::V3::Release can now verify the md5, unpack, and install a release tarball. |
| 202 | +* PuppetForge::Middleware::SymbolifyJson to change Faraday response hash keys into symbols. |
| 203 | +* PuppetForge::V3::Metadata to represent a release's metadata as an object. |
| 204 | +* PuppetForge::Connection to provide Faraday connections. |
| 205 | + |
| 206 | +### Changed |
| 207 | + |
| 208 | +* Failed API requests, such as those for a module that doesn't exist, throw a Faraday::ResourceNotFound error. |
| 209 | +* API requests are sent through Faraday directly rather than through Her. |
| 210 | +* PuppetForge::V3::Base#where and PuppetForge::V3::Base#all now send an API request immediately and return a paginated collection. |
| 211 | + |
| 212 | +### Removed |
| 213 | + |
| 214 | +* Dependency on Her (also removes dependency on ActiveSupport). |
0 commit comments