Skip to content

Commit efec1b0

Browse files
committed
v3.1.5
Signed-off-by: Andrew Stein <steinlink@gmail.com>
1 parent 126a6a1 commit efec1b0

File tree

48 files changed

+116
-80
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+116
-80
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,9 +716,12 @@ jobs:
716716
- name: Verify licenses are installed
717717
shell: bash
718718
run: |
719-
pip show -f perspective-python > wheel_installed_files.txt
720-
grep licenses/LICENSE.md wheel_installed_files.txt
721-
grep licenses/LICENSE_THIRDPARTY_cargo.yml wheel_installed_files.txt
719+
pip show -f perspective-python | tee wheel_installed_files.txt
720+
# Maturin got this wrong: the packages should be in .dist-info/licenses/
721+
# Newer versions of Maturin will fix it, so search for either location.
722+
# https://github.com/PyO3/maturin/pull/862 https://github.com/PyO3/maturin/pull/2181
723+
grep -E '.dist-info/(license|license_files)/LICENSE.md' wheel_installed_files.txt
724+
grep -E '.dist-info/(license|license_files)/LICENSE_THIRDPARTY_cargo.yml' wheel_installed_files.txt
722725
723726
- name: Verify labextension
724727
shell: bash

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# [v3.1.5](https://github.com/finos/perspective/releases/tag/v3.1.5)
2+
3+
_15 November 2024_ ([Full changelog](https://github.com/finos/perspective/compare/v3.1.5-test1...v3.1.5))
4+
5+
Features
6+
7+
- Relax `Table` schema constructor [#2850](https://github.com/finos/perspective/pull/2850)
8+
9+
Fixes
10+
11+
- Fix `perspective-workspace` restore call on errored table [#2851](https://github.com/finos/perspective/pull/2851)
12+
- Fix `integer` cast expression function [#2842](https://github.com/finos/perspective/pull/2842)
13+
- Import importlib metadata submodule [#2841](https://github.com/finos/perspective/pull/2841)
14+
15+
Misc
16+
17+
- Update ExprTk [#2825](https://github.com/finos/perspective/pull/2825)
18+
- sdist licensing follow ups [#2843](https://github.com/finos/perspective/pull/2843)
19+
120
# [v3.1.4](https://github.com/finos/perspective/releases/tag/v3.1.4)
221

322
_7 November 2024_ ([Full changelog](https://github.com/finos/perspective/compare/v3.1.4-test8...v3.1.4))

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ and/or [Jupyterlab](https://jupyterlab.readthedocs.io/en/stable/).
7575
<tr>
7676
<td><a href="https://www.youtube.com/watch?v=v5Y5ftlGNhU"><img width="240" src="https://img.youtube.com/vi/v5Y5ftlGNhU/0.jpg" /></a></td>
7777
<td><a href="https://www.youtube.com/watch?v=lDpIu4dnp78"><img width="240" src="https://img.youtube.com/vi/lDpIu4dnp78/0.jpg" /></a></td>
78-
<td><a href="https://www.youtube.com/watch?v=0ut-ynvBpGI"><img width="240" src="https://img.youtube.com/vi/0ut-ynvBpGI/0.jpg" /></a></td>
78+
<td><a href="https://www.youtube.com/watch?v=IO-HJsGdleE"><img width="240" src="https://img.youtube.com/vi/IO-HJsGdleE/0.jpg" /></a></td>
79+
7980
</tr>
8081
<tr>
8182
<td><a href="https://github.com/texodus"><code>@texodus</code></a></td>
@@ -84,7 +85,7 @@ and/or [Jupyterlab](https://jupyterlab.readthedocs.io/en/stable/).
8485
</tr>
8586
<tr>
8687
<td><a href="https://www.youtube.com/watch?v=no0qChjvdgQ"><img width="240" src="https://img.youtube.com/vi/no0qChjvdgQ/0.jpg" /></a></td>
87-
<td><a href="https://www.youtube.com/watch?v=IO-HJsGdleE"><img width="240" src="https://img.youtube.com/vi/IO-HJsGdleE/0.jpg" /></a></td>
88+
<td><a href="https://www.youtube.com/watch?v=0ut-ynvBpGI"><img width="240" src="https://img.youtube.com/vi/0ut-ynvBpGI/0.jpg" /></a></td>
8889
<td></td>
8990
</tr>
9091
</tbody></table>

cpp/perspective/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"author": "The Perspective Authors",
55
"license": "Apache-2.0",
6-
"version": "3.1.4",
6+
"version": "3.1.5",
77
"main": "./dist/esm/perspective.cpp.js",
88
"files": [
99
"dist/esm/**/*",

cpp/perspective/src/cpp/scalar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ t_tscalar::operator%=(const t_tscalar& rhs) {
409409
return *this;
410410
}
411411

412-
t_tscalar::operator std::size_t () const {
412+
t_tscalar::operator std::size_t() const {
413413
switch (get_dtype()) {
414414
case perspective::t_dtype::DTYPE_INT64:
415415
return static_cast<std::size_t>(get<std::int64_t>());

cpp/perspective/src/include/perspective/exprtk.h

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ namespace details {
4444
template <typename T>
4545
inline std::uint64_t to_uint64_impl(const T& v, t_tscalar_type_tag);
4646

47-
4847
#define define_unary_function_impl_header(FunctionName) \
4948
template <typename T> \
5049
inline T FunctionName##_impl(const T v, t_tscalar_type_tag);
@@ -115,12 +114,13 @@ namespace details {
115114
define_binary_function_impl_header(nand )
116115
define_binary_function_impl_header(nor )
117116
define_binary_function_impl_header(xnor )
118-
// clang-format on
117+
// clang-format on
119118

120119
#undef define_binary_function_impl_header
121120

122-
template <typename T>
123-
inline T and_impl(const T v0, const T v1, t_tscalar_type_tag);
121+
template <typename T>
122+
inline T
123+
and_impl(const T v0, const T v1, t_tscalar_type_tag);
124124

125125
template <typename T>
126126
inline T or_impl(const T v0, const T v1, t_tscalar_type_tag);
@@ -281,11 +281,14 @@ namespace details {
281281
case perspective::t_dtype::DTYPE_INT8:
282282
return static_cast<std::int32_t>(v.get<std::int8_t>());
283283
case perspective::t_dtype::DTYPE_UINT64:
284-
return static_cast<std::int32_t>(v.get<std::uint64_t>());
284+
return static_cast<std::int32_t>(v.get<std::uint64_t>()
285+
);
285286
case perspective::t_dtype::DTYPE_UINT32:
286-
return static_cast<std::int32_t>(v.get<std::uint32_t>());
287+
return static_cast<std::int32_t>(v.get<std::uint32_t>()
288+
);
287289
case perspective::t_dtype::DTYPE_UINT16:
288-
return static_cast<std::int32_t>(v.get<std::uint16_t>());
290+
return static_cast<std::int32_t>(v.get<std::uint16_t>()
291+
);
289292
case perspective::t_dtype::DTYPE_UINT8:
290293
return static_cast<std::int32_t>(v.get<std::uint8_t>());
291294
case perspective::t_dtype::DTYPE_FLOAT64:
@@ -313,11 +316,14 @@ namespace details {
313316
case perspective::t_dtype::DTYPE_INT8:
314317
return static_cast<std::int64_t>(v.get<std::int8_t>());
315318
case perspective::t_dtype::DTYPE_UINT64:
316-
return static_cast<std::int64_t>(v.get<std::uint64_t>());
319+
return static_cast<std::int64_t>(v.get<std::uint64_t>()
320+
);
317321
case perspective::t_dtype::DTYPE_UINT32:
318-
return static_cast<std::int64_t>(v.get<std::uint32_t>());
322+
return static_cast<std::int64_t>(v.get<std::uint32_t>()
323+
);
319324
case perspective::t_dtype::DTYPE_UINT16:
320-
return static_cast<std::int64_t>(v.get<std::uint16_t>());
325+
return static_cast<std::int64_t>(v.get<std::uint16_t>()
326+
);
321327
case perspective::t_dtype::DTYPE_UINT8:
322328
return static_cast<std::int64_t>(v.get<std::uint8_t>());
323329
case perspective::t_dtype::DTYPE_FLOAT64:
@@ -337,21 +343,28 @@ namespace details {
337343
}
338344
switch (v.get_dtype()) {
339345
case perspective::t_dtype::DTYPE_INT64:
340-
return static_cast<std::uint64_t>(v.get<std::int64_t>());
346+
return static_cast<std::uint64_t>(v.get<std::int64_t>()
347+
);
341348
case perspective::t_dtype::DTYPE_INT32:
342-
return static_cast<std::uint64_t>(v.get<std::int32_t>());
349+
return static_cast<std::uint64_t>(v.get<std::int32_t>()
350+
);
343351
case perspective::t_dtype::DTYPE_INT16:
344-
return static_cast<std::uint64_t>(v.get<std::int16_t>());
352+
return static_cast<std::uint64_t>(v.get<std::int16_t>()
353+
);
345354
case perspective::t_dtype::DTYPE_INT8:
346355
return static_cast<std::uint64_t>(v.get<std::int8_t>());
347356
case perspective::t_dtype::DTYPE_UINT64:
348-
return static_cast<std::uint64_t>(v.get<std::uint64_t>());
357+
return static_cast<std::uint64_t>(v.get<std::uint64_t>()
358+
);
349359
case perspective::t_dtype::DTYPE_UINT32:
350-
return static_cast<std::uint64_t>(v.get<std::uint32_t>());
360+
return static_cast<std::uint64_t>(v.get<std::uint32_t>()
361+
);
351362
case perspective::t_dtype::DTYPE_UINT16:
352-
return static_cast<std::uint64_t>(v.get<std::uint16_t>());
363+
return static_cast<std::uint64_t>(v.get<std::uint16_t>()
364+
);
353365
case perspective::t_dtype::DTYPE_UINT8:
354-
return static_cast<std::uint64_t>(v.get<std::uint8_t>());
366+
return static_cast<std::uint64_t>(v.get<std::uint8_t>()
367+
);
355368
case perspective::t_dtype::DTYPE_FLOAT64:
356369
return static_cast<std::uint64_t>(v.get<double>());
357370
case perspective::t_dtype::DTYPE_FLOAT32:

cpp/perspective/src/include/perspective/scalar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ struct PERSPECTIVE_EXPORT t_tscalar {
146146
t_tscalar& operator/=(const t_tscalar& rhs);
147147
t_tscalar& operator%=(const t_tscalar& rhs);
148148

149-
operator std::size_t () const;
149+
operator std::size_t() const;
150150

151151
t_tscalar add_typesafe(const t_tscalar& rhs) const;
152152
t_tscalar sub_typesafe(const t_tscalar& rhs) const;

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@finos/perspective-docs",
3-
"version": "3.1.4",
3+
"version": "3.1.5",
44
"private": true,
55
"scripts": {
66
"build": "node build.js && docusaurus build",

examples/blocks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "blocks",
33
"private": true,
4-
"version": "3.1.4",
4+
"version": "3.1.5",
55
"description": "A collection of simple client-side Perspective examples for `http://bl.ocks.org`.",
66
"scripts": {
77
"start": "mkdirp dist && node --experimental-modules server.mjs",

0 commit comments

Comments
 (0)