diff --git a/CHANGELOG.md b/CHANGELOG.md index 719e4bb25..c0c999c13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,19 +5,19 @@ By far most changes relate to `atomic-server`, so if not specified, assume the c **Changes to JS assets (including the front-end and JS libraries) are not shown here**, but in [`/browser/CHANGELOG`](/browser/CHANGELOG.md). See [STATUS.md](server/STATUS.md) to learn more about which features will remain stable. -## UNRELEASED +## [v0.37.0] - 2024-02-01 +- Refactor `atomic_lib::Resource` propval methods (e.g. `set_propval` => `set`), make them chainable. #822 +- Make `set_propval` and `set_propval_shortname` chainable #785 +- Deterministic serialization JSON AD #794 - Use `musl` + `alpine` builds for docker images, way smaller images #620 - Support multi-platform docker builds #731 - Remove deprecated ENV vars #732 - Fix no Agent as drive - Add `clear` option to error component (resets all front-end state) - Add `Agent::from_secret` #785 -- Make `set_propval` and `set_propval_shortname` chainable #785 - Don't use default agent when fetching with Db #787 -- Deterministic serialization JSON AD #794 - Fix HTTPS / TLS setup #768 -- Refactor `atomic_lib::Resource` propval methods (e.g. `set_propval` => `set`), make them chainable. #822 ## [v0.36.1] - 2023-12-06 diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index 8748f7921..baaefd39b 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -200,7 +200,11 @@ So please first send an e-mail to joep@ontola.io describing the issue, and then 1. Commit changes 1. Make sure all tests run properly -1. Use `cargo workspaces version patch` (and maybe replace `patch` with the `minor`) to update all `cargo.toml` files in one command. You'll need to `cargo install cargo-workspaces` if this command is not possible. +1. Test, build and update the `/browser` versions (`package.json` files, see contribute.md) +1. Use `cargo workspaces version patch --no-git-commit` (and maybe replace `patch` with the `minor`) to update all `cargo.toml` files in one command. You'll need to `cargo install cargo-workspaces` if this command is not possible. +1. Publish to cargo: `cargo publish`. First `lib`, then `cli` and `server`. +1. Publish to `npm` (see `browser/contribute.md`) +1. Update the `CHANGELOG.md` files (browser and root) The following should be triggered automatically: diff --git a/Cargo.lock b/Cargo.lock index 85918ce2d..c4c7d1857 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -448,7 +448,7 @@ dependencies = [ [[package]] name = "atomic-cli" -version = "0.36.1" +version = "0.37.0" dependencies = [ "assert_cmd", "atomic_lib", @@ -462,7 +462,7 @@ dependencies = [ [[package]] name = "atomic-server" -version = "0.36.1" +version = "0.37.0" dependencies = [ "actix", "actix-cors", @@ -516,7 +516,7 @@ dependencies = [ [[package]] name = "atomic_lib" -version = "0.36.1" +version = "0.37.0" dependencies = [ "base64 0.21.0", "bincode", diff --git a/browser/CHANGELOG.md b/browser/CHANGELOG.md index 4bc7b6ec8..1145ac613 100644 --- a/browser/CHANGELOG.md +++ b/browser/CHANGELOG.md @@ -2,7 +2,7 @@ This changelog covers all three packages, as they are (for now) updated as a whole -## UNRELEASED +## v0.37.0 ### Atomic Browser diff --git a/browser/cli/package.json b/browser/cli/package.json index bd10501a8..7e124ba4a 100644 --- a/browser/cli/package.json +++ b/browser/cli/package.json @@ -1,5 +1,5 @@ { - "version": "0.36.1", + "version": "0.37.0", "author": "Polle Pas", "dependencies": { "@tomic/lib": "workspace:*", diff --git a/browser/data-browser/package.json b/browser/data-browser/package.json index ce8febac7..f7f7dd010 100644 --- a/browser/data-browser/package.json +++ b/browser/data-browser/package.json @@ -1,5 +1,5 @@ { - "version": "0.35.0", + "version": "0.37.0", "author": { "email": "joep@ontola.io", "name": "Joep Meindertsma" diff --git a/browser/lib/package.json b/browser/lib/package.json index c80ace7e8..c7d25bb72 100644 --- a/browser/lib/package.json +++ b/browser/lib/package.json @@ -1,5 +1,5 @@ { - "version": "0.36.1", + "version": "0.37.0", "author": "Joep Meindertsma", "dependencies": { "@noble/ed25519": "1.6.0", diff --git a/browser/react/package.json b/browser/react/package.json index 5a8ea4ac1..0e79d8a22 100644 --- a/browser/react/package.json +++ b/browser/react/package.json @@ -1,5 +1,5 @@ { - "version": "0.36.1", + "version": "0.37.0", "author": "Joep Meindertsma", "description": "Atomic Data React library", "dependencies": { diff --git a/browser/svelte/package.json b/browser/svelte/package.json index 752132601..2d27a4ac2 100644 --- a/browser/svelte/package.json +++ b/browser/svelte/package.json @@ -47,5 +47,5 @@ "type": "module", "types": "dist/index.d.ts", "typings": "./dist/index.d.ts", - "version": "0.36.1" + "version": "0.37.0" } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 35a497057..e09c16ae1 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -6,10 +6,10 @@ license = "MIT" name = "atomic-cli" readme = "README.md" repository = "https://github.com/atomicdata-dev/atomic-server" -version = "0.36.1" +version = "0.37.0" [dependencies] -atomic_lib = {version = "0.36.1", path = "../lib", features = ["config", "rdf"]} +atomic_lib = {version = "0.37.0", path = "../lib", features = ["config", "rdf"]} clap = {version = "4", features = ["cargo"]} colored = "2" dirs = "4" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 73b08f392..78321d1aa 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" name = "atomic_lib" readme = "README.md" repository = "https://github.com/atomicdata-dev/atomic-server" -version = "0.36.1" +version = "0.37.0" # Enables benchmarks to use the features, such as Db [[bench]] diff --git a/server/Cargo.toml b/server/Cargo.toml index 48860beb2..42121e0a4 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" name = "atomic-server" readme = "./README.md" repository = "https://github.com/atomicdata-dev/atomic-server" -version = "0.36.1" +version = "0.37.0" include = ["src/**/*", "Cargo.toml", "assets_tmp", "build.rs"] [[bin]] @@ -88,7 +88,7 @@ version = ">= 4.0.1" [dependencies.atomic_lib] features = ["config", "db", "rdf", "html"] path = "../lib" -version = "0.36.1" +version = "0.37.0" [dependencies.clap] features = ["derive", "env", "cargo"]