Skip to content

Commit 7991179

Browse files
authored
3.0.0 (#244)
[ci skip] Signed-off-by: Alberto Ricart <[email protected]>
1 parent d7c3cbb commit 7991179

21 files changed

+48
-47
lines changed

bin/check-dep-versions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class ImportMap {
8282
const haveInternal = this.has(internalModule);
8383
if (haveInternal && version.compare(haveInternal) !== 0) {
8484
this.data.imports[internalModule] =
85-
`jsr:${module}@~${version.string()}/internal`;
85+
`jsr:${module}@${version.string()}/internal`;
8686
changed = true;
8787
}
8888
return changed;

bin/lib/bundle_versions.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ export class SemVer {
6868
if (this.minor > b.minor) return 1;
6969
if (this.micro < b.micro) return -1;
7070
if (this.micro > b.micro) return 1;
71-
if (this.qualifier === "") return 1;
72-
if (b.qualifier === "") return -1;
71+
72+
if (this.qualifier === "" && b.qualifier !== "") return 1;
73+
if (b.qualifier === "" && b.qualifier !== "") return -1;
7374

7475
// if we have non-empty qualifiers - we expect them to
7576
const q = parseInt(this.qualifier);

core/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nats-io/nats-core",
3-
"version": "3.0.0-RC4",
3+
"version": "3.0.0",
44
"exports": {
55
".": "./src/mod.ts",
66
"./internal": "./src/internal_mod.ts"

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nats-io/nats-core",
3-
"version": "3.0.0-RC4",
3+
"version": "3.0.0",
44
"files": [
55
"lib/",
66
"LICENSE",

core/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// This file is generated - do not edit
2-
export const version = "3.0.0-RC4";
2+
export const version = "3.0.0";

jetstream/deno.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nats-io/jetstream",
3-
"version": "3.0.0-RC4",
3+
"version": "3.0.0",
44
"exports": {
55
".": "./src/mod.ts",
66
"./internal": "./src/internal_mod.ts"
@@ -33,6 +33,6 @@
3333
"test": "deno test -A --parallel --reload --trace-leaks --quiet tests/ --import-map=import_map.json"
3434
},
3535
"imports": {
36-
"@nats-io/nats-core": "jsr:@nats-io/[email protected]-RC4"
36+
"@nats-io/nats-core": "jsr:@nats-io/[email protected]"
3737
}
3838
}

jetstream/import_map.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"imports": {
33
"@nats-io/nkeys": "jsr:@nats-io/[email protected]",
44
"@nats-io/nuid": "jsr:@nats-io/[email protected]",
5-
"@nats-io/nats-core": "jsr:@nats-io/[email protected]-RC4",
6-
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-RC4/internal",
5+
"@nats-io/nats-core": "jsr:@nats-io/[email protected]",
6+
"@nats-io/nats-core/internal": "jsr:@nats-io/[email protected]/internal",
77
"test_helpers": "../test_helpers/mod.ts",
88
"@std/io": "jsr:@std/[email protected]"
99
}

jetstream/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nats-io/jetstream",
3-
"version": "3.0.0-RC4",
3+
"version": "3.0.0",
44
"files": [
55
"lib/",
66
"LICENSE",
@@ -33,7 +33,7 @@
3333
},
3434
"description": "jetstream library - this library implements all the base functionality for NATS JetStream for javascript clients",
3535
"dependencies": {
36-
"@nats-io/nats-core": "3.0.0-RC4"
36+
"@nats-io/nats-core": "3.0.0"
3737
},
3838
"devDependencies": {
3939
"@types/node": "^22.13.10",

kv/deno.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nats-io/kv",
3-
"version": "3.0.0-RC4",
3+
"version": "3.0.0",
44
"exports": {
55
".": "./src/mod.ts",
66
"./internal": "./src/internal_mod.ts"
@@ -33,7 +33,7 @@
3333
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
3434
},
3535
"imports": {
36-
"@nats-io/nats-core": "jsr:@nats-io/[email protected]-RC4",
37-
"@nats-io/jetstream": "jsr:@nats-io/[email protected]-RC4"
36+
"@nats-io/nats-core": "jsr:@nats-io/[email protected]",
37+
"@nats-io/jetstream": "jsr:@nats-io/[email protected]"
3838
}
3939
}

kv/import_map.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"imports": {
3-
"@nats-io/nats-core": "jsr:@nats-io/[email protected]-RC4",
4-
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-RC4/internal",
5-
"@nats-io/jetstream": "jsr:@nats-io/[email protected]-RC4",
6-
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-RC4/internal",
3+
"@nats-io/nats-core": "jsr:@nats-io/[email protected]",
4+
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0/internal",
5+
"@nats-io/jetstream": "jsr:@nats-io/[email protected]",
6+
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0/internal",
77
"test_helpers": "../test_helpers/mod.ts",
88
"@nats-io/nkeys": "jsr:@nats-io/[email protected]",
99
"@nats-io/nuid": "jsr:@nats-io/[email protected]",

0 commit comments

Comments
 (0)