Skip to content

Commit e0bce8b

Browse files
authored
Merge branch 'develop' into deepMap-2
2 parents 832e91e + ad36350 commit e0bce8b

File tree

85 files changed

+1729
-1461
lines changed

Some content is hidden

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

85 files changed

+1729
-1461
lines changed

.github/workflows/browserstack.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,5 +259,7 @@ Neeraj Kumawat <42885320+nkumawat34@users.noreply.github.com>
259259
Emmanuel Ferdman <emmanuelferdman@gmail.com>
260260
Paul Korzhyk <paul.korzhyk@gmail.com>
261261
Francois <819179+fchu@users.noreply.github.com>
262+
witer33 <34513257+witer33@users.noreply.github.com>
263+
Hudsxn <jhudson98new@gmail.com>
262264

263265
# Generated by tools/update-authors.js

HISTORY.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# History
22

3+
# 2024-02-05, 14.2.1
4+
5+
- Fix: #3377 remove redundant dependency `@lambdatest/node-tunnel`.
6+
7+
# 2024-01-30, 14.2.0
8+
9+
- Feat: #3041, #3340 rename `apply` to `mapSlices` (#3357). Function
10+
`apply` is still available but is now marked deprecated. Thanks @gwhitney.
11+
- Fix: #3247 don't override type-native floor/ceil within tolerance of value
12+
(#3369). Thanks @gwhitney.
13+
- Fix: #3360 add bigint support to matrix indices and ranges (#3361).
14+
Thanks @gwhitney.
15+
- Fix: #3115 type definitions for matrixFrom* (#3371). Thanks @Hudsxn
16+
and @gwhitney.
17+
18+
# 2025-01-24, 14.1.0
19+
20+
- Feat: implement `bigint` support in functions `log`, `log2`, `log10`,
21+
`larger`, `smaller`, `max`, `min` (#3345). Thanks @gwhitney.
22+
- Fix: #3342 hexadecimal input not turned into a `bigint` (#3348).
23+
- Fix `randomInt()` not working (#3345).
24+
- Docs: fixed description of `sign` in the embedded docs (#3338).
25+
Thanks @witer33.
26+
327
# 2024-12-11, 14.0.1
428

529
- Fix: make derivative much faster (#3322). Thanks @paulftw.

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
math.js
22
https://github.com/josdejong/mathjs
33

4-
Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
4+
Copyright (C) 2013-2025 Jos de Jong <wjosdejong@gmail.com>
55

66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Math.js is an extensive math library for JavaScript and Node.js. It features a f
77
[![Version](https://img.shields.io/npm/v/mathjs.svg)](https://www.npmjs.com/package/mathjs)
88
[![Downloads](https://img.shields.io/npm/dm/mathjs.svg)](https://www.npmjs.com/package/mathjs)
99
[![Build Status](https://github.com/josdejong/mathjs/workflows/Node.js%20CI/badge.svg)](https://github.com/josdejong/mathjs/actions)
10-
[![Maintenance](https://img.shields.io/maintenance/yes/2024.svg)](https://github.com/josdejong/mathjs/graphs/commit-activity)
10+
[![Maintenance](https://img.shields.io/maintenance/yes/2025.svg)](https://github.com/josdejong/mathjs/graphs/commit-activity)
1111
[![License](https://img.shields.io/github/license/josdejong/mathjs.svg)](https://github.com/josdejong/mathjs/blob/master/LICENSE)
1212
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjosdejong%2Fmathjs.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjosdejong%2Fmathjs?ref=badge_shield)
1313
[![Codecov](https://codecov.io/gh/josdejong/mathjs/branch/develop/graph/badge.svg)](https://codecov.io/gh/josdejong/mathjs)
@@ -168,9 +168,9 @@ Additionally, the tests can be run on FireFox using [headless mode](https://deve
168168

169169
npm run test:browser
170170

171-
To run the tests remotely on BrowserStack, first set the environment variables `BROWSER_STACK_USERNAME` and `BROWSER_STACK_ACCESS_KEY` with your username and access key and then execute:
171+
To run the tests remotely on LambdaTest, first set the environment variables `LT_USERNAME` and `LT_ACCESS_KEY` with your username and access key and then execute:
172172

173-
npm run test:browserstack
173+
npm run test:lambdatest
174174

175175
You can separately run the code linter, though it is also executed with `npm test`:
176176

@@ -191,18 +191,18 @@ To see the coverage results, open the generated report in your browser:
191191

192192
### Continuous integration testing
193193

194-
Continuous integration tests are run on [Github Actions](https://github.com/josdejong/mathjs/actions) and [BrowserStack](https://www.browserstack.com) every time a commit is pushed to github. Github Actions runs the tests for different versions of node.js, and BrowserStack runs the tests on all major browsers.
194+
Continuous integration tests are run on [Github Actions](https://github.com/josdejong/mathjs/actions) and [LambdaTest](https://www.lambdatest.com) every time a commit is pushed to github. Github Actions runs the tests for different versions of node.js, and LambdaTest runs the tests on all major browsers.
195195

196-
[![BrowserStack](https://raw.github.com/josdejong/mathjs/master/misc/browserstack.png)](https://www.browserstack.com)
196+
[![LambdaTest](https://raw.github.com/josdejong/mathjs/master/misc/lambdatest.svg)](https://www.lambdatest.com)
197197

198-
Thanks Github Actions and BrowserStack for the generous free hosting of this open source project!
198+
Thanks, GitHub Actions and LambdaTest for the generous free hosting of this open source project!
199199

200200
## License
201201

202202
mathjs is published under the Apache 2.0 license:
203203

204204
```
205-
Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
205+
Copyright (C) 2013-2025 Jos de Jong <wjosdejong@gmail.com>
206206
207207
Licensed under the Apache License, Version 2.0 (the "License");
208208
you may not use this file except in compliance with the License.

bin/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* cat script.txt | mathjs > results.txt Run input stream, output to file
3131
*
3232
* @license
33-
* Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
33+
* Copyright (C) 2013-2025 Jos de Jong <wjosdejong@gmail.com>
3434
*
3535
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
3636
* use this file except in compliance with the License. You may obtain a copy

docs/core/extension.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@ where:
220220
created again when there is a change in the configuration. This is for
221221
example used for the constants like `pi`, which is different depending
222222
on the configsetting `number` which can be numbers or BigNumbers.
223+
- `formerly: string`. If present, the created function will also be
224+
accessible on the instance under the name given by the value of
225+
`formerly` as a (deprecated) synonym for the specified `name`. This
226+
facility should only be used when a function is renamed, to allow
227+
temporary use of the previous name, for backward compatibility.
223228

224229
Here an example of a factory function which depends on `multiply`:
225230

misc/Travis-CI-logo.png

-8.56 KB
Binary file not shown.

misc/browserstack.png

-8.31 KB
Binary file not shown.

misc/lambdatest.svg

Lines changed: 18 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)