This repository was archived by the owner on Jul 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathwhats_new.html
207 lines (197 loc) · 9.43 KB
/
whats_new.html
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta content='IE=edge' http-equiv='X-UA-Compatible'>
<meta content='en' http-equiv='Content-Language'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
<meta content='276VSYOko8B8vIu1i8i5qbj7_ql5PXo0dU69XQy-SL' name='globalsign-domain-verification'>
<title>
Bundler: The best way to manage a Ruby application's gems
</title>
<link href='/whats_new.html' rel='canonical'>
<script src="/application.min.js"></script>
<link href="/application.css" rel="stylesheet" />
<link href='/images/apple-touch-icon.png' rel='apple-touch-icon' sizes='180x180'>
<link href='/images/favicon-32x32.png' rel='icon' sizes='32x32' type='image/png'>
<link href='/images/favicon-16x16.png' rel='icon' sizes='16x16' type='image/png'>
<link href='/manifest.json' rel='manifest'>
<link color='#50bced' href='/images/safari-pinned-tab.svg' rel='mask-icon'>
<meta content='bundler.io' name='apple-mobile-web-app-title'>
<meta content='bundler.io' name='application-name'>
<meta content='#ffffff' name='theme-color'>
<link rel="alternate" type="application/atom+xml" title="Atom Feed" href="/blog/feed.xml" />
</head>
<body class=''>
<nav class='navbar navbar-expand-md navbar-light'>
<div class='container-md'>
<a href="/" class="navbar-brand me-auto fw-bold">Bundler</a>
<button aria-controls='bs-navbar-collapse' aria-expanded='false' aria-label='Toggle navigation' class='navbar-toggler' data-bs-target='#bs-navbar-collapse' data-bs-toggle='collapse' type='button'>
<span class='navbar-toggler-icon'></span>
</button>
<div class='collapse navbar-collapse flex-grow-0' id='bs-navbar-collapse'>
<ul class='navbar-nav'>
<li class='nav-item'>
<input class='input-search my-1 ps-1 pt-1' id='input-search' placeholder='Type to search...' type='text'>
<svg class='text-opacity-40 m-1 mb-2' style='width: 1rem; height: 1rem; fill: currentcolor;' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'>
<!-- Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. -->
<path d='M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z'></path>
</svg>
</li>
<li class='nav-item'><a href="/docs.html" class="nav-link">Docs</a></li>
<li class='nav-item'><a href="/contributors.html" class="nav-link">Team</a></li>
<li class='nav-item'><a href="/blog" class="nav-link">Blog</a></li>
<li class='nav-item'><a href="https://github.com/rubygems/rubygems/tree/master/bundler" target="_blank" rel="noopener noreferrer" class="nav-link">Repository</a></li>
</ul>
</div>
</div>
</nav>
<div class='bg-light-blue header'>
<img src="/images/docs_header_transparent_bg.png" srcset="/images/docs_header_transparent_bg.png 1x, /images/[email protected] 2x, /images/[email protected] 3x" class="img-fluid header-padding" style="max-width: 400px;" alt="" />
</div>
<div class='container'>
<div class='row flex-column flex-md-row-reverse'>
<div class='col-12 col-md-9 contents guide' id='page-content-wrapper'>
<div class='container guide'>
<h1>What's New in each Release</h1>
<div class='row'>
<div class='col-12'>
<a href="/v2.3/whats_new.html" class="btn btn-sm btn-primary">v2.3</a>
<a href="/v2.2/whats_new.html" class="btn btn-sm btn-primary">v2.2</a>
<a href="/v2.1/whats_new.html" class="btn btn-sm btn-primary">v2.1</a>
<a href="/v2.0/whats_new.html" class="btn btn-sm btn-primary">v2.0</a>
<a href="/v1.17/whats_new.html" class="btn btn-sm btn-primary">v1.17</a>
<a href="/v1.16/whats_new.html" class="btn btn-sm btn-primary">v1.16</a>
<a href="/v1.15/whats_new.html" class="btn btn-sm btn-primary">v1.15</a>
<a href="/v1.14/whats_new.html" class="btn btn-sm btn-primary">v1.14</a>
<a href="/v1.13/whats_new.html" class="btn btn-sm btn-secondary">v1.13</a>
<a href="/v1.12/whats_new.html" class="btn btn-sm btn-primary">v1.12</a>
</div>
</div>
<p>
The
<a href="/blog/2016/09/08/bundler-1-13.html">Bundler 1.13 announcement</a>
includes context and a more detailed explanation of the changes in this version. This is a summary of the biggest changes. As always, a detailed list of every change is provided in
<a href="https://github.com/bundler/bundler/blob/1-13-stable/CHANGELOG.md">the changelog</a>.
</p>
<h3>New <code>doctor</code> command</h3>
<div class='contents'>
<div class='bullet'>
<div class='description'>
<p>
Add the <code>doctor</code> command for automated troubleshooting. So far, it can automatically detect gems that have been compiled against libraries that no longer exist, and compile them again to fix them.
(Thanks <a href="https://github.com/mistydemeo">@mistydemeo</a>!)
</p>
</div>
</div>
</div>
<h3>Support for <code>required_ruby_version</code></h3>
<div class='contents'>
<div class='bullet'>
<div class='description'>
<p>
Gems that declare a <code>required_ruby_version</code> will now resolve correctly as long as your Gemfile contains a <code>ruby</code> declaration. If a gem cannot be resolved because of your Ruby version, the error will correctly indicate that your Ruby version conflicts with your other gem version requirements.
</p>
</div>
</div>
</div>
<h3>Manage locked platforms</h3>
<div class='contents'>
<div class='bullet'>
<div class='description'>
<p>
In the past, the only way to resolve your Gemfile on a new platform (like <code>java</code> or <code>mswin</code>) was to run <code>bundle install</code> on that platform. We've added explicit options to the <code>lock</code> command to allow managing platforms. Platforms can be added using <code>bundle lock --add-platform NAME</code>, and platforms can be removed using <code>bundle lock --remove-platform NAME</code>.
</p>
</div>
</div>
</div>
<h3>Fine controls for the <code>update</code> command</h3>
<div class='contents'>
<div class='bullet'>
<div class='description'>
<p></p>
The <code>update</code> command now has several options to enable users to fine-tune exactly what it is that they will get, using the new flags <code>--major</code>, <code>--minor</code>, <code>--patch</code>, and <code>--strict</code>. It was also recently pointed out to us that running <code>update</code> could even result in some locked gems being changed to an older version! We can’t change the default behavior to avoid that until version 2.0, but for now we’ve added a config setting. To prevent the <code>update</code> command from ever “upgrading” you to an older version, run <code>bundle config only_update_to_newer_versions true</code>.
</div>
</div>
</div>
<h3>Experimental plugin system</h3>
<div class='contents'>
<div class='bullet'>
<div class='description'>
<p>
The plugin system also supports "source" plugins, which means it should be possible to use gems from Subversion, Mercurial, S3, or anything else you can think of. In addition to source plugins, we've started adding new "lifecycle" hooks. That means plugins will be able to hook in and run their own code before, during, or after the install or update process.
</p>
</div>
</div>
</div>
<h3>Experimental Bundler version locking</h3>
<div class='contents'>
<div class='bullet'>
<div class='description'>
<p>
automatically trampoline to the bundler version locked in the lockfile, only updating to the running version on <code>bundle update --bundler</code> (@segiddins)
</p>
</div>
</div>
</div>
<div class='contents'>
<div class='bullet'>
<div class='description'></div>
Bundler 1.13 also includes:
<ul>
<li>Support for RubyGems 2.6.4</li>
<li>Automatic gem installation for <code>bundler/inline</code></li>
<li>Dramatic resolver optimizations</li>
<li>Better load-based <code>exec</code> command</li>
<li>Support for setting "mirror" servers by hostname</li>
<li>Automatic retrying for gem downloads</li>
</ul>
<a href="https://github.com/bundler/bundler/blob/1-13-stable/CHANGELOG.md" class="btn btn-primary">Full 1.13 changelog</a>
</div>
</div>
</div>
</div>
<div class='col-12 col-md-3 mt-4' id='sidebar-wrapper'>
<div class='sidebar-nav'>
<h4>Guides</h4>
<ul>
<li class=''>
<a href="/v1.15/guides/creating_gem.html">Developing a RubyGem using Bundler</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/v1.15/guides/using_bundler_in_applications.html">Using Bundler In Applications</a>
</li>
<li class='separator'>
<hr>
</li>
</ul>
</div>
</div>
</div>
</div>
<script src="/anchors.min.js"></script>
<div class='bg-light-blue'>
<div class='container'>
<div class='contents'>
<div class='edit-on-github text-center'>
<a href="https://github.com/rubygems/bundler-site/blob/master/source/v1.13/whats_new.html.haml">Edit this document on GitHub</a> if you caught an error or noticed something was missing.
</div>
</div>
</div>
</div>
<div class='footer'>
<nav class='navbar justify-content-center'>
<ul class='navbar-nav'>
<li class='nav-item'><a href="/docs.html" class="nav-link px-3">Docs</a></li>
<li class='nav-item'><a href="/contributors.html" class="nav-link px-3">Team</a></li>
<li class='nav-item'><a href="/blog" class="nav-link px-3">Blog</a></li>
<li class='nav-item'><a href="/about.html" class="nav-link px-3">About</a></li>
<li class='nav-item'><a href="https://github.com/rubygems/rubygems/tree/master/bundler" class="nav-link px-3">Repository</a></li>
</ul>
</nav>
</div>
</body>
</html>