Skip to content

Commit

Permalink
release version 2.1.3 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki authored Apr 5, 2022
1 parent bb30871 commit 4fd08d6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
### MathBox Changelog

#### 2.1.3

Some bugfixes:

- [do not call inspect if mathbox was destroyed](https://github.com/unconed/mathbox/pull/23) Fixes an issue where Mathbox would asynchronously error if instances were destroyed immediately after creation.
- [Add a Jupyter Notebook example](https://github.com/unconed/mathbox/pull/17) _Note: This currently uses an outdated version of Mathbox._
- [Fix sampling bug](https://gitgud.io/unconed/mathbox/-/merge_requests/36) Fixes a bug where `width`, `height`, and `depth` could be increased but not decreased
- Mathbox has been moved from GitGud to Github. Various CI/Development enhancements:
- https://github.com/unconed/mathbox/pull/22, https://github.com/unconed/mathbox/pull/20, https://github.com/unconed/mathbox/pull/11

#### 2.1.2

- Typescript Improvements:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mathbox",
"version": "2.1.2",
"version": "2.1.3",
"description": "Presentation-quality WebGL math graphing",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import * as util from "./util";
import { Bootstrap } from "threestrap/src/bootstrap.js";
import { Context as ctx } from "./context.js";

export const version = "2.1.1";
export const version = "2.1.3";

// Just because
export const π = Math.PI;
Expand Down
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -804,3 +804,5 @@ export type MathBoxOptions = any;
export declare function mathBox(
opts?: MathBoxOptions
): MathboxSelection<"root">;

export declare const version: string;
7 changes: 7 additions & 0 deletions test/mathBox.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import * as MathBox from "../src";
import * as packageJson from "../package.json";
import { smallPause } from "./test_utils";

describe("MathBox.version", () => {
it("matches package.json", () => {
expect(packageJson.version).toBe(MathBox.version);
});
});

describe("mathBox", () => {
describe("ready", () => {
it("it calls inspect asynchronously", async () => {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"moduleResolution": "node",
"strictNullChecks": true,
"baseUrl": "./",
"declaration": true
"declaration": true,
"resolveJsonModule": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 4fd08d6

Please sign in to comment.