Skip to content

Commit bd25760

Browse files
committed
Deploying to gh-pages from @ b625bbe 🚀
1 parent 72eacf5 commit bd25760

File tree

3 files changed

+81
-23
lines changed

3 files changed

+81
-23
lines changed

_sources/changelog.md.txt

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,32 @@
11
# Changelog
22

3-
### 2.0.1 (2024-07-01)
43

5-
## Minor Changes
4+
## 2.1 (2024-10-18)
5+
6+
## Major Changes
7+
8+
- The default version of the array API standard is now 2023.12. 2022.12 can
9+
still be enabled via the [flags API](array-api-strict-flags).
10+
11+
- Added support for multiple fake "devices", so that code testing against
12+
array-api-strict can check for proper device support. Currently there are
13+
three "devices", the "CPU" device, which is the default devices, and two
14+
pseudo "device" objects. This set of devices can be accessed with
15+
`array_api_strict.__array_namespace_info__().devices()` (requires the array
16+
API version to be set to 2023.12), and via the other array API APIs that
17+
return devices (like `x.device`). These devices do not correspond to any
18+
actual hardware and only exist for testing array API device semantics; for
19+
instance, implicitly combining arrays on different devices results in an
20+
exception. (Thanks to [@betatim](https://github.com/betatim)).
21+
22+
### Minor Changes
23+
24+
- Avoid implicitly relying on `__array__` in some places. These changes should
25+
not be usef visible.
26+
27+
## 2.0.1 (2024-07-01)
28+
29+
### Minor Changes
630

731
- Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
832
n-D arrays but also made 1-D arrays raise. The standard does not explicitly

changelog.html

Lines changed: 54 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -246,21 +246,48 @@
246246
<section class="tex2jax_ignore mathjax_ignore" id="changelog">
247247
<h1>Changelog<a class="headerlink" href="#changelog" title="Link to this heading"></a></h1>
248248
<section id="id1">
249-
<h2>2.0.1 (2024-07-01)<a class="headerlink" href="#id1" title="Link to this heading"></a></h2>
249+
<h2>2.1 (2024-10-18)<a class="headerlink" href="#id1" title="Link to this heading"></a></h2>
250250
</section>
251+
<section id="major-changes">
252+
<h2>Major Changes<a class="headerlink" href="#major-changes" title="Link to this heading"></a></h2>
253+
<ul class="simple">
254+
<li><p>The default version of the array API standard is now 2023.12. 2022.12 can
255+
still be enabled via the <a class="reference internal" href="api.html#array-api-strict-flags"><span class="std std-ref">flags API</span></a>.</p></li>
256+
<li><p>Added support for multiple fake “devices”, so that code testing against
257+
array-api-strict can check for proper device support. Currently there are
258+
three “devices”, the “CPU” device, which is the default devices, and two
259+
pseudo “device” objects. This set of devices can be accessed with
260+
<code class="docutils literal notranslate"><span class="pre">array_api_strict.__array_namespace_info__().devices()</span></code> (requires the array
261+
API version to be set to 2023.12), and via the other array API APIs that
262+
return devices (like <code class="docutils literal notranslate"><span class="pre">x.device</span></code>). These devices do not correspond to any
263+
actual hardware and only exist for testing array API device semantics; for
264+
instance, implicitly combining arrays on different devices results in an
265+
exception. (Thanks to <a class="reference external" href="https://github.com/betatim">&#64;betatim</a>).</p></li>
266+
</ul>
251267
<section id="minor-changes">
252-
<h2>Minor Changes<a class="headerlink" href="#minor-changes" title="Link to this heading"></a></h2>
268+
<h3>Minor Changes<a class="headerlink" href="#minor-changes" title="Link to this heading"></a></h3>
269+
<ul class="simple">
270+
<li><p>Avoid implicitly relying on <code class="docutils literal notranslate"><span class="pre">__array__</span></code> in some places. These changes should
271+
not be usef visible.</p></li>
272+
</ul>
273+
</section>
274+
</section>
275+
<section id="id2">
276+
<h2>2.0.1 (2024-07-01)<a class="headerlink" href="#id2" title="Link to this heading"></a></h2>
277+
<section id="id3">
278+
<h3>Minor Changes<a class="headerlink" href="#id3" title="Link to this heading"></a></h3>
253279
<ul class="simple">
254280
<li><p>Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
255281
n-D arrays but also made 1-D arrays raise. The standard does not explicitly
256282
disallow iteration on 1-D arrays, and the default Python <code class="docutils literal notranslate"><span class="pre">__iter__</span></code>
257283
implementation allows it to work, so for now, it is kept intact as working.</p></li>
258284
</ul>
259285
</section>
260-
<section id="id2">
261-
<h2>2.0 (2024-06-27)<a class="headerlink" href="#id2" title="Link to this heading"></a></h2>
262-
<section id="major-changes">
263-
<h3>Major Changes<a class="headerlink" href="#major-changes" title="Link to this heading"></a></h3>
286+
</section>
287+
<section id="id4">
288+
<h2>2.0 (2024-06-27)<a class="headerlink" href="#id4" title="Link to this heading"></a></h2>
289+
<section id="id5">
290+
<h3>Major Changes<a class="headerlink" href="#id5" title="Link to this heading"></a></h3>
264291
<ul class="simple">
265292
<li><p>array-api-strict has a new set of <a class="reference internal" href="api.html#array-api-strict-flags"><span class="std std-ref">flags</span></a> that can
266293
be used to dynamically enable or disable features in array-api-strict. These
@@ -279,23 +306,23 @@ <h3>Major Changes<a class="headerlink" href="#major-changes" title="Link to this
279306
change the default version to 2023.12.</p></li>
280307
</ul>
281308
</section>
282-
<section id="id3">
283-
<h3>Minor Changes<a class="headerlink" href="#id3" title="Link to this heading"></a></h3>
309+
<section id="id6">
310+
<h3>Minor Changes<a class="headerlink" href="#id6" title="Link to this heading"></a></h3>
284311
<ul class="simple">
285312
<li><p>Calling <code class="docutils literal notranslate"><span class="pre">iter()</span></code> on an array now correctly raises <code class="docutils literal notranslate"><span class="pre">TypeError</span></code>.</p></li>
286313
<li><p>Add some missing names to <code class="docutils literal notranslate"><span class="pre">__all__</span></code>.</p></li>
287314
</ul>
288315
</section>
289316
</section>
290-
<section id="id4">
291-
<h2>1.1.1 (2024-04-29)<a class="headerlink" href="#id4" title="Link to this heading"></a></h2>
317+
<section id="id7">
318+
<h2>1.1.1 (2024-04-29)<a class="headerlink" href="#id7" title="Link to this heading"></a></h2>
292319
<ul class="simple">
293320
<li><p>Fix the <code class="docutils literal notranslate"><span class="pre">api_version</span></code> argument to <code class="docutils literal notranslate"><span class="pre">__array_namespace__</span></code> to accept
294321
<code class="docutils literal notranslate"><span class="pre">'2021.12'</span></code> or <code class="docutils literal notranslate"><span class="pre">'2022.12'</span></code>.</p></li>
295322
</ul>
296323
</section>
297-
<section id="id5">
298-
<h2>1.1 (2024-04-08)<a class="headerlink" href="#id5" title="Link to this heading"></a></h2>
324+
<section id="id8">
325+
<h2>1.1 (2024-04-08)<a class="headerlink" href="#id8" title="Link to this heading"></a></h2>
299326
<ul class="simple">
300327
<li><p>Fix the <code class="docutils literal notranslate"><span class="pre">copy</span></code> flag in <code class="docutils literal notranslate"><span class="pre">__array__</span></code> for NumPy 2.0.</p></li>
301328
<li><p>Add full <code class="docutils literal notranslate"><span class="pre">copy=False</span></code> support to <code class="docutils literal notranslate"><span class="pre">asarray()</span></code>. This is emulated in NumPy 1.26 by creating
@@ -304,8 +331,8 @@ <h2>1.1 (2024-04-08)<a class="headerlink" href="#id5" title="Link to this headin
304331
<li><p>Add broadcasting support to <code class="docutils literal notranslate"><span class="pre">cross</span></code>.</p></li>
305332
</ul>
306333
</section>
307-
<section id="id6">
308-
<h2>1.0 (2024-01-24)<a class="headerlink" href="#id6" title="Link to this heading"></a></h2>
334+
<section id="id9">
335+
<h2>1.0 (2024-01-24)<a class="headerlink" href="#id9" title="Link to this heading"></a></h2>
309336
<p>This is the first release of <code class="docutils literal notranslate"><span class="pre">array_api_strict</span></code>. It is extracted from
310337
<code class="docutils literal notranslate"><span class="pre">numpy.array_api</span></code>, which was included as an experimental submodule in NumPy
311338
versions prior to 2.0. Note that the commit history in this repository is
@@ -389,16 +416,23 @@ <h2>1.0 (2024-01-24)<a class="headerlink" href="#id6" title="Link to this headin
389416
<div class="toc-tree">
390417
<ul>
391418
<li><a class="reference internal" href="#">Changelog</a><ul>
392-
<li><a class="reference internal" href="#id1">2.0.1 (2024-07-01)</a></li>
419+
<li><a class="reference internal" href="#id1">2.1 (2024-10-18)</a></li>
420+
<li><a class="reference internal" href="#major-changes">Major Changes</a><ul>
393421
<li><a class="reference internal" href="#minor-changes">Minor Changes</a></li>
394-
<li><a class="reference internal" href="#id2">2.0 (2024-06-27)</a><ul>
395-
<li><a class="reference internal" href="#major-changes">Major Changes</a></li>
422+
</ul>
423+
</li>
424+
<li><a class="reference internal" href="#id2">2.0.1 (2024-07-01)</a><ul>
396425
<li><a class="reference internal" href="#id3">Minor Changes</a></li>
397426
</ul>
398427
</li>
399-
<li><a class="reference internal" href="#id4">1.1.1 (2024-04-29)</a></li>
400-
<li><a class="reference internal" href="#id5">1.1 (2024-04-08)</a></li>
401-
<li><a class="reference internal" href="#id6">1.0 (2024-01-24)</a></li>
428+
<li><a class="reference internal" href="#id4">2.0 (2024-06-27)</a><ul>
429+
<li><a class="reference internal" href="#id5">Major Changes</a></li>
430+
<li><a class="reference internal" href="#id6">Minor Changes</a></li>
431+
</ul>
432+
</li>
433+
<li><a class="reference internal" href="#id7">1.1.1 (2024-04-29)</a></li>
434+
<li><a class="reference internal" href="#id8">1.1 (2024-04-08)</a></li>
435+
<li><a class="reference internal" href="#id9">1.0 (2024-01-24)</a></li>
402436
</ul>
403437
</li>
404438
</ul>

0 commit comments

Comments
 (0)