Skip to content

Commit

Permalink
v3.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Stein <[email protected]>
  • Loading branch information
texodus committed Jan 14, 2025
1 parent 1cdb085 commit f647f7a
Show file tree
Hide file tree
Showing 46 changed files with 108 additions and 60 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ rustflags = ["-C", "target-feature=+crt-static", "--cfg=web_sys_unstable_apis"]
[future-incompat-report]
frequency = 'never'

# TODO this is required to synth public releases on GH Actions
[patch.crates-io]
perspective-client = { path = "rust/perspective-client" }
perspective-server = { path = "rust/perspective-server" }

[unstable]
bindeps = true
package-workspace = true
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ rust/perspective/src/ts/ts-rs
rust/target*
Vagrantfile
vcpkg
venv/
venv/
rust/perspective-python/perspective_python-*.data
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# [v3.3.0](https://github.com/finos/perspective/releases/tag/v3.3.0)

_14 January 2025_ ([Full changelog](https://github.com/finos/perspective/compare/v3.2.1...v3.3.0))

**Breaking**

- Unbundled JavaScript builds [#2890](https://github.com/finos/perspective/pull/2890)

Misc

- Add build support for `Memory64` [#2888](https://github.com/finos/perspective/pull/2888)

# [v3.2.1](https://github.com/finos/perspective/releases/tag/v3.2.1)

_23 December 2024_ ([Full changelog](https://github.com/finos/perspective/compare/v3.2.0...v3.2.1))
Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cpp/perspective/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"author": "The Perspective Authors",
"license": "Apache-2.0",
"version": "3.2.1",
"version": "3.3.0",
"main": "./dist/esm/perspective.cpp.js",
"files": [
"dist/esm/**/*",
Expand Down
12 changes: 12 additions & 0 deletions docs/md/how_to/javascript/importing.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ await Promise.all([
]);
```

You'll also need to target `esnext` in your `vite.config.js` in order to run the
`build` step:

```javascript
import { defineConfig } from "vite";
export default defineConfig({
build: {
target: "esnext",
},
});
```

### ESBuild

```javascript
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-docs",
"version": "3.2.1",
"version": "3.3.0",
"private": true,
"scripts": {
"build": "node build.js && docusaurus build",
Expand Down
2 changes: 1 addition & 1 deletion examples/blocks/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "blocks",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "A collection of simple client-side Perspective examples for `http://bl.ocks.org`.",
"scripts": {
"start": "mkdirp dist && node --experimental-wasm-memory64 --experimental-modules server.mjs",
Expand Down
8 changes: 4 additions & 4 deletions examples/blocks/src/superstore/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ index.html: 48 {
},
"viewers": {
"PERSPECTIVE_GENERATED_ID_0": {
"version": "3.2.1",
"version": "3.3.0",
"plugin": "Datagrid",
"plugin_config": {
"columns": {},
Expand Down Expand Up @@ -68,7 +68,7 @@ index.html: 48 {
"settings": false
},
"PERSPECTIVE_GENERATED_ID_1": {
"version": "3.2.1",
"version": "3.3.0",
"plugin": "Datagrid",
"plugin_config": {
"columns": {},
Expand Down Expand Up @@ -110,7 +110,7 @@ index.html: 48 {
"settings": false
},
"PERSPECTIVE_GENERATED_ID_3": {
"version": "3.2.1",
"version": "3.3.0",
"plugin": "Datagrid",
"plugin_config": {
"columns": {},
Expand Down Expand Up @@ -139,7 +139,7 @@ index.html: 48 {
"settings": false
},
"PERSPECTIVE_GENERATED_ID_2": {
"version": "3.2.1",
"version": "3.3.0",
"plugin": "Treemap",
"plugin_config": {},
"columns_config": {},
Expand Down
2 changes: 1 addition & 1 deletion examples/esbuild-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "esbuild-example",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An esbuild example app built using `@finos/perspective-viewer`.",
"scripts": {
"build": "node build.js",
Expand Down
2 changes: 1 addition & 1 deletion examples/esbuild-remote/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "esbuild-remote",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An example of 2 Perspectives, one client and one server, streaming via Apache Arrow.",
"scripts": {
"start": "node build.js && node server/index.mjs"
Expand Down
2 changes: 1 addition & 1 deletion examples/python-aiohttp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python-aiohttp",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An example of editing a `perspective-python` server from the browser.",
"scripts": {
"start": "PYTHONPATH=../../python/perspective python3 server.py"
Expand Down
2 changes: 1 addition & 1 deletion examples/python-starlette/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python-starlette",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An example of editing a `perspective-python` server from the browser.",
"scripts": {
"start": "PYTHONPATH=../../python/perspective python3 server.py"
Expand Down
2 changes: 1 addition & 1 deletion examples/python-tornado-streaming/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python-tornado-streaming",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An example of streaming a `perspective-python` server to the browser.",
"scripts": {
"start": "PYTHONPATH=../../python/perspective python3 server.py"
Expand Down
2 changes: 1 addition & 1 deletion examples/python-tornado/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python-tornado",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An example of editing a `perspective-python` server from the browser.",
"scripts": {
"start": "PYTHONPATH=../../python/perspective python3 server.py"
Expand Down
2 changes: 1 addition & 1 deletion examples/react-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-example",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An example app built using `@finos/perspective-viewer`.",
"scripts": {
"build": "node build.js",
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ edition = "2021"
publish = false

[dependencies]
perspective = { version = "3.2.1" }
perspective = { version = "3.3.0" }
axum = { version = ">=0.7,<2", features = ["ws"] }
futures = "0.3"
tokio = { version = "1.0", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-axum/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rust-axum",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An example of a Rust/Axum virtual Perspective server",
"scripts": {
"start": "cargo run"
Expand Down
2 changes: 1 addition & 1 deletion examples/vite-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite-example",
"private": true,
"version": "0.0.0",
"version": "3.3.0",
"type": "module",
"scripts": {
"start": "vite",
Expand Down
19 changes: 19 additions & 0 deletions examples/vite-example/vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
// ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
// ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
// ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
// ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
// ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
// ┃ Copyright (c) 2017, the Perspective Authors. ┃
// ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
// ┃ This file is part of the Perspective library, distributed under the terms ┃
// ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

import { defineConfig } from "vite";

export default defineConfig({
build: {
target: "esnext",
},
});
2 changes: 1 addition & 1 deletion examples/webpack-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webpack-example",
"private": true,
"version": "3.2.1",
"version": "3.3.0",
"description": "An example app built using `@finos/perspective-viewer`.",
"scripts": {
"webpack_build": "webpack",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "git",
"url": "https://github.com/finos/perspective"
},
"version": "3.2.1",
"version": "3.3.0",
"changelog": {
"labels": {
"enhancement": "Added",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-cli",
"version": "3.2.1",
"version": "3.3.0",
"description": "Perspective.js CLI",
"main": "src/js/index.js",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-jupyterlab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-jupyterlab",
"version": "3.2.1",
"version": "3.3.0",
"description": "A Jupyterlab extension for the Perspective library, designed to be used with perspective-python.",
"files": [
"dist/**/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer-d3fc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-viewer-d3fc",
"version": "3.2.1",
"version": "3.3.0",
"description": "Perspective.js D3FC Plugin",
"unpkg": "./dist/cdn/perspective-viewer-d3fc.js",
"jsdelivr": "./dist/cdn/perspective-viewer-d3fc.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer-datagrid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-viewer-datagrid",
"version": "3.2.1",
"version": "3.3.0",
"description": "Perspective datagrid plugin based on `regular-table`",
"unpkg": "dist/cdn/perspective-viewer-datagrid.js",
"jsdelivr": "dist/cdn/perspective-viewer-datagrid.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer-openlayers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-viewer-openlayers",
"version": "3.2.1",
"version": "3.3.0",
"unpkg": "dist/cdn/perspective-viewer-openlayers.js",
"jsdelivr": "dist/cdn/perspective-viewer-openlayers.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-workspace/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-workspace",
"version": "3.2.1",
"version": "3.3.0",
"description": "Perspective Workspace",
"files": [
"dist/**/*",
Expand Down
2 changes: 1 addition & 1 deletion rust/lint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[package]
name = "perspective-lint"
description = "A CLI utility to lint rust code"
version = "3.2.1"
version = "3.3.0"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion rust/perspective-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

[package]
name = "perspective-client"
version = "3.2.1"
version = "3.3.0"
authors = ["Andrew Stein <[email protected]>"]
edition = "2021"
description = "A data visualization and analytics component, especially well-suited for large and/or streaming datasets."
Expand Down
2 changes: 1 addition & 1 deletion rust/perspective-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finos/perspective-client",
"version": "3.2.1",
"version": "3.3.0",
"description": "",
"private": true,
"repository": {
Expand Down
Loading

0 comments on commit f647f7a

Please sign in to comment.