You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1>Changelog<aclass="headerlink" href="#changelog" title="Link to this heading">¶</a></h1>
261
261
<sectionid="id1">
262
-
<h2>2.0 (2024-06-27)<aclass="headerlink" href="#id1" title="Link to this heading">¶</a></h2>
262
+
<h2>2.0.1 (2024-07-01)<aclass="headerlink" href="#id1" title="Link to this heading">¶</a></h2>
263
+
</section>
264
+
<sectionid="minor-changes">
265
+
<h2>Minor Changes<aclass="headerlink" href="#minor-changes" title="Link to this heading">¶</a></h2>
266
+
<ulclass="simple">
267
+
<li><p>Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
268
+
n-D arrays but also made 1-D arrays raise. The standard does not explicitly
269
+
disallow iteration on 1-D arrays, and the default Python <codeclass="docutils literal notranslate"><spanclass="pre">__iter__</span></code>
270
+
implementation allows it to work, so for now, it is kept intact as working.</p></li>
271
+
</ul>
272
+
</section>
273
+
<sectionid="id2">
274
+
<h2>2.0 (2024-06-27)<aclass="headerlink" href="#id2" title="Link to this heading">¶</a></h2>
263
275
<sectionid="major-changes">
264
276
<h3>Major Changes<aclass="headerlink" href="#major-changes" title="Link to this heading">¶</a></h3>
265
277
<ulclass="simple">
@@ -280,23 +292,23 @@ <h3>Major Changes<a class="headerlink" href="#major-changes" title="Link to this
280
292
change the default version to 2023.12.</p></li>
281
293
</ul>
282
294
</section>
283
-
<sectionid="minor-changes">
284
-
<h3>Minor Changes<aclass="headerlink" href="#minor-changes" title="Link to this heading">¶</a></h3>
295
+
<sectionid="id3">
296
+
<h3>Minor Changes<aclass="headerlink" href="#id3" title="Link to this heading">¶</a></h3>
285
297
<ulclass="simple">
286
298
<li><p>Calling <codeclass="docutils literal notranslate"><spanclass="pre">iter()</span></code> on an array now correctly raises <codeclass="docutils literal notranslate"><spanclass="pre">TypeError</span></code>.</p></li>
287
299
<li><p>Add some missing names to <codeclass="docutils literal notranslate"><spanclass="pre">__all__</span></code>.</p></li>
288
300
</ul>
289
301
</section>
290
302
</section>
291
-
<sectionid="id2">
292
-
<h2>1.1.1 (2024-04-29)<aclass="headerlink" href="#id2" title="Link to this heading">¶</a></h2>
303
+
<sectionid="id4">
304
+
<h2>1.1.1 (2024-04-29)<aclass="headerlink" href="#id4" title="Link to this heading">¶</a></h2>
293
305
<ulclass="simple">
294
306
<li><p>Fix the <codeclass="docutils literal notranslate"><spanclass="pre">api_version</span></code> argument to <codeclass="docutils literal notranslate"><spanclass="pre">__array_namespace__</span></code> to accept
295
307
<codeclass="docutils literal notranslate"><spanclass="pre">'2021.12'</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">'2022.12'</span></code>.</p></li>
296
308
</ul>
297
309
</section>
298
-
<sectionid="id3">
299
-
<h2>1.1 (2024-04-08)<aclass="headerlink" href="#id3" title="Link to this heading">¶</a></h2>
310
+
<sectionid="id5">
311
+
<h2>1.1 (2024-04-08)<aclass="headerlink" href="#id5" title="Link to this heading">¶</a></h2>
300
312
<ulclass="simple">
301
313
<li><p>Fix the <codeclass="docutils literal notranslate"><spanclass="pre">copy</span></code> flag in <codeclass="docutils literal notranslate"><spanclass="pre">__array__</span></code> for NumPy 2.0.</p></li>
302
314
<li><p>Add full <codeclass="docutils literal notranslate"><spanclass="pre">copy=False</span></code> support to <codeclass="docutils literal notranslate"><spanclass="pre">asarray()</span></code>. This is emulated in NumPy 1.26 by creating
@@ -305,8 +317,8 @@ <h2>1.1 (2024-04-08)<a class="headerlink" href="#id3" title="Link to this headin
305
317
<li><p>Add broadcasting support to <codeclass="docutils literal notranslate"><spanclass="pre">cross</span></code>.</p></li>
306
318
</ul>
307
319
</section>
308
-
<sectionid="id4">
309
-
<h2>1.0 (2024-01-24)<aclass="headerlink" href="#id4" title="Link to this heading">¶</a></h2>
320
+
<sectionid="id6">
321
+
<h2>1.0 (2024-01-24)<aclass="headerlink" href="#id6" title="Link to this heading">¶</a></h2>
310
322
<p>This is the first release of <codeclass="docutils literal notranslate"><spanclass="pre">array_api_strict</span></code>. It is extracted from
311
323
<codeclass="docutils literal notranslate"><spanclass="pre">numpy.array_api</span></code>, which was included as an experimental submodule in NumPy
312
324
versions prior to 2.0. Note that the commit history in this repository is
@@ -390,14 +402,16 @@ <h2>1.0 (2024-01-24)<a class="headerlink" href="#id4" title="Link to this headin
0 commit comments