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>
248
248
<sectionid="id1">
249
-
<h2>2.1.1 (2024-11-07)<aclass="headerlink" href="#id1" title="Link to this heading">¶</a></h2>
249
+
<h2>2.1.2 (2024-11-07)<aclass="headerlink" href="#id1" title="Link to this heading">¶</a></h2>
250
+
</section>
250
251
<sectionid="major-changes">
251
-
<h3>Major Changes<aclass="headerlink" href="#major-changes" title="Link to this heading">¶</a></h3>
252
+
<h2>Major Changes<aclass="headerlink" href="#major-changes" title="Link to this heading">¶</a></h2>
253
+
<ulclass="simple">
254
+
<li><p>array-api-strict now requires NumPy >= 2.1 and Python >= 3.10</p></li>
255
+
</ul>
256
+
</section>
257
+
<sectionid="id2">
258
+
<h2>2.1.1 (2024-11-07)<aclass="headerlink" href="#id2" title="Link to this heading">¶</a></h2>
259
+
<sectionid="id3">
260
+
<h3>Major Changes<aclass="headerlink" href="#id3" title="Link to this heading">¶</a></h3>
252
261
<ulclass="simple">
253
262
<li><p>Remove the <codeclass="docutils literal notranslate"><spanclass="pre">__array__</span></code> method from array-api-strict arrays. This means they
254
263
will no longer be implicitly converted to NumPy arrays when passed to <codeclass="docutils literal notranslate"><spanclass="pre">np</span></code>
@@ -269,10 +278,10 @@ <h3>Minor Changes<a class="headerlink" href="#minor-changes" title="Link to this
269
278
</ul>
270
279
</section>
271
280
</section>
272
-
<sectionid="id2">
273
-
<h2>2.1 (2024-10-18)<aclass="headerlink" href="#id2" title="Link to this heading">¶</a></h2>
274
-
<sectionid="id3">
275
-
<h3>Major Changes<aclass="headerlink" href="#id3" title="Link to this heading">¶</a></h3>
281
+
<sectionid="id4">
282
+
<h2>2.1 (2024-10-18)<aclass="headerlink" href="#id4" title="Link to this heading">¶</a></h2>
283
+
<sectionid="id5">
284
+
<h3>Major Changes<aclass="headerlink" href="#id5" title="Link to this heading">¶</a></h3>
276
285
<ulclass="simple">
277
286
<li><p>The default version of the array API standard is now 2023.12. 2022.12 can
278
287
still be enabled via the <aclass="reference internal" href="api.html#array-api-strict-flags"><spanclass="std std-ref">flags API</span></a>.</p></li>
@@ -288,18 +297,18 @@ <h3>Major Changes<a class="headerlink" href="#id3" title="Link to this heading">
288
297
exception. (Thanks to <aclass="reference external" href="https://github.com/betatim">@betatim</a>).</p></li>
289
298
</ul>
290
299
</section>
291
-
<sectionid="id4">
292
-
<h3>Minor Changes<aclass="headerlink" href="#id4" title="Link to this heading">¶</a></h3>
300
+
<sectionid="id6">
301
+
<h3>Minor Changes<aclass="headerlink" href="#id6" title="Link to this heading">¶</a></h3>
293
302
<ulclass="simple">
294
303
<li><p>Avoid implicitly relying on <codeclass="docutils literal notranslate"><spanclass="pre">__array__</span></code> in some places. These changes should
295
304
not be usef visible.</p></li>
296
305
</ul>
297
306
</section>
298
307
</section>
299
-
<sectionid="id5">
300
-
<h2>2.0.1 (2024-07-01)<aclass="headerlink" href="#id5" title="Link to this heading">¶</a></h2>
301
-
<sectionid="id6">
302
-
<h3>Minor Changes<aclass="headerlink" href="#id6" title="Link to this heading">¶</a></h3>
308
+
<sectionid="id7">
309
+
<h2>2.0.1 (2024-07-01)<aclass="headerlink" href="#id7" title="Link to this heading">¶</a></h2>
310
+
<sectionid="id8">
311
+
<h3>Minor Changes<aclass="headerlink" href="#id8" title="Link to this heading">¶</a></h3>
303
312
<ulclass="simple">
304
313
<li><p>Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
305
314
n-D arrays but also made 1-D arrays raise. The standard does not explicitly
@@ -308,10 +317,10 @@ <h3>Minor Changes<a class="headerlink" href="#id6" title="Link to this heading">
308
317
</ul>
309
318
</section>
310
319
</section>
311
-
<sectionid="id7">
312
-
<h2>2.0 (2024-06-27)<aclass="headerlink" href="#id7" title="Link to this heading">¶</a></h2>
313
-
<sectionid="id8">
314
-
<h3>Major Changes<aclass="headerlink" href="#id8" title="Link to this heading">¶</a></h3>
320
+
<sectionid="id9">
321
+
<h2>2.0 (2024-06-27)<aclass="headerlink" href="#id9" title="Link to this heading">¶</a></h2>
322
+
<sectionid="id10">
323
+
<h3>Major Changes<aclass="headerlink" href="#id10" title="Link to this heading">¶</a></h3>
315
324
<ulclass="simple">
316
325
<li><p>array-api-strict has a new set of <aclass="reference internal" href="api.html#array-api-strict-flags"><spanclass="std std-ref">flags</span></a> that can
317
326
be used to dynamically enable or disable features in array-api-strict. These
@@ -330,23 +339,23 @@ <h3>Major Changes<a class="headerlink" href="#id8" title="Link to this heading">
330
339
change the default version to 2023.12.</p></li>
331
340
</ul>
332
341
</section>
333
-
<sectionid="id9">
334
-
<h3>Minor Changes<aclass="headerlink" href="#id9" title="Link to this heading">¶</a></h3>
342
+
<sectionid="id11">
343
+
<h3>Minor Changes<aclass="headerlink" href="#id11" title="Link to this heading">¶</a></h3>
335
344
<ulclass="simple">
336
345
<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>
337
346
<li><p>Add some missing names to <codeclass="docutils literal notranslate"><spanclass="pre">__all__</span></code>.</p></li>
338
347
</ul>
339
348
</section>
340
349
</section>
341
-
<sectionid="id10">
342
-
<h2>1.1.1 (2024-04-29)<aclass="headerlink" href="#id10" title="Link to this heading">¶</a></h2>
350
+
<sectionid="id12">
351
+
<h2>1.1.1 (2024-04-29)<aclass="headerlink" href="#id12" title="Link to this heading">¶</a></h2>
343
352
<ulclass="simple">
344
353
<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
345
354
<codeclass="docutils literal notranslate"><spanclass="pre">'2021.12'</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">'2022.12'</span></code>.</p></li>
346
355
</ul>
347
356
</section>
348
-
<sectionid="id11">
349
-
<h2>1.1 (2024-04-08)<aclass="headerlink" href="#id11" title="Link to this heading">¶</a></h2>
357
+
<sectionid="id13">
358
+
<h2>1.1 (2024-04-08)<aclass="headerlink" href="#id13" title="Link to this heading">¶</a></h2>
350
359
<ulclass="simple">
351
360
<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>
352
361
<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
@@ -355,8 +364,8 @@ <h2>1.1 (2024-04-08)<a class="headerlink" href="#id11" title="Link to this headi
355
364
<li><p>Add broadcasting support to <codeclass="docutils literal notranslate"><spanclass="pre">cross</span></code>.</p></li>
356
365
</ul>
357
366
</section>
358
-
<sectionid="id12">
359
-
<h2>1.0 (2024-01-24)<aclass="headerlink" href="#id12" title="Link to this heading">¶</a></h2>
367
+
<sectionid="id14">
368
+
<h2>1.0 (2024-01-24)<aclass="headerlink" href="#id14" title="Link to this heading">¶</a></h2>
360
369
<p>This is the first release of <codeclass="docutils literal notranslate"><spanclass="pre">array_api_strict</span></code>. It is extracted from
361
370
<codeclass="docutils literal notranslate"><spanclass="pre">numpy.array_api</span></code>, which was included as an experimental submodule in NumPy
362
371
versions prior to 2.0. Note that the commit history in this repository is
@@ -440,28 +449,30 @@ <h2>1.0 (2024-01-24)<a class="headerlink" href="#id12" title="Link to this headi
0 commit comments