Skip to content

Commit

Permalink
chore(master): release 0.4.32
Browse files Browse the repository at this point in the history
  • Loading branch information
jerome-benoit committed Nov 3, 2024
1 parent 4fd41ee commit 236a265
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/release-please/manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.4.31"
".": "0.4.32"
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.32](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.31...v0.4.32) (2024-11-03)


### ✨ Polish

* cleanup JS runtime detection code ([b366f0e](https://github.com/poolifier/poolifier-web-worker/commit/b366f0ecdc5e34a5942c73dd04ea8c9b1619e2a6))
* migrate to @std/expect ([#73](https://github.com/poolifier/poolifier-web-worker/issues/73)) ([459c2f9](https://github.com/poolifier/poolifier-web-worker/commit/459c2f9307928971520a63d99ac17f7ca1b59647))
* refine browser JS runtime detection ([a545ddd](https://github.com/poolifier/poolifier-web-worker/commit/a545ddd26bfd577ea28dd4dd4b4c0236138b5a60))


### 🧪 Tests

* remove unneeded Linux ignore ([4fd41ee](https://github.com/poolifier/poolifier-web-worker/commit/4fd41ee03fe16c848990c37c754be9aa69f7d2c1))

## [0.4.31](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.30...v0.4.31) (2024-10-26)

### ⚡ Performance
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ for more details**:
<!-- deno-fmt-ignore -->

```js
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/[email protected].31/browser/mod.js'</script>
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/[email protected].32/browser/mod.js'</script>
```

```js
Expand All @@ -158,7 +158,7 @@ import {
DynamicThreadPool,
FixedThreadPool,
PoolEvents,
} from 'https://cdn.jsdelivr.net/npm/[email protected].31/browser/mod.js'
} from 'https://cdn.jsdelivr.net/npm/[email protected].32/browser/mod.js'
</script>
```

Expand Down
24 changes: 19 additions & 5 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "@poolifier/poolifier-web-worker",
"version": "0.4.31",
"version": "0.4.32",
"exports": "./src/mod.ts",
"compilerOptions": {
"lib": ["deno.worker"],
"lib": [
"deno.worker"
],
"strict": true
},
"tasks": {
Expand All @@ -24,7 +26,9 @@
"documentation": "deno doc ./src/mod.ts"
},
"test": {
"include": ["./tests/**/*.test.mjs"]
"include": [
"./tests/**/*.test.mjs"
]
},
"fmt": {
"semiColons": false,
Expand All @@ -37,8 +41,18 @@
"@std/testing": "jsr:@std/testing@^1.0.4"
},
"publish": {
"include": ["LICENSE", "README.md", "deno.json", "src/**/*.ts"]
"include": [
"LICENSE",
"README.md",
"deno.json",
"src/**/*.ts"
]
},
"lock": false,
"exclude": ["./coverage", "./dist/browser", "./dist/esm", "./npm"]
"exclude": [
"./coverage",
"./dist/browser",
"./dist/esm",
"./npm"
]
}
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "poolifier-web-worker",
"version": "0.4.31",
"version": "0.4.32",
"description": "poolifier-web-worker",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/dynamicExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
availableParallelism,
DynamicThreadPool,
PoolEvents,
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version

const pool = new DynamicThreadPool(
Math.floor(availableParallelism() / 2),
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/fixedExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
availableParallelism,
FixedThreadPool,
PoolEvents,
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version

const pool = new FixedThreadPool(
availableParallelism(),
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/multiFunctionExample.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
availableParallelism,
FixedThreadPool,
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version

const pool = new FixedThreadPool(
availableParallelism(),
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/multiFunctionWorker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version

function fn0(data) {
console.info('Executing fn0')
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/yourWorker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version

function yourFunction() {
for (let i = 0; i <= 1000; i++) {
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/typescript/pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
availableParallelism,
DynamicThreadPool,
FixedThreadPool,
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version
import type { MyData, MyResponse } from './worker.ts'

const workerFileURL = new URL('./worker.ts', import.meta.url)
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/typescript/worker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version

export interface MyData {
ok: 0 | 1
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sonar.organization=poolifier
sonar.typescript.lcov.reportPaths=coverage/lcov.info
sonar.projectName=poolifier-web-worker
# x-release-please-start-version
sonar.projectVersion=0.4.31
sonar.projectVersion=0.4.32
# x-release-please-end
sonar.host.url=https://sonarcloud.io
sonar.sources=src
Expand Down
2 changes: 1 addition & 1 deletion src/pools/version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// x-release-please-start-version
export const version = '0.4.31'
export const version = '0.4.32'
// x-release-please-end

0 comments on commit 236a265

Please sign in to comment.