Skip to content

Commit

Permalink
v0.38
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Jun 8, 2024
1 parent e9df852 commit a4a94ee
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 46 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ trace-*.json
**/.temp
.DS_Store
.cargo
.tmp-earthly-out
artifact
server/assets_tmp

Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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.

## [v0.38.0] - UNRELEASED
## [v0.38.0] - 2024-06-08

- Remove `process-management` feature #324 #334
- Add `atomic_lib::client::search` for building queries #778
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion browser/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.37.0",
"version": "0.38.0",
"author": "Polle Pas",
"dependencies": {
"@tomic/lib": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion browser/data-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.37.0",
"version": "0.38.0",
"author": {
"email": "[email protected]",
"name": "Joep Meindertsma"
Expand Down
2 changes: 1 addition & 1 deletion browser/e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.36.0",
"version": "0.38.0",
"author": {
"email": "[email protected]",
"name": "Joep Meindertsma"
Expand Down
6 changes: 2 additions & 4 deletions browser/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.37.0",
"version": "0.38.0",
"author": "Joep Meindertsma",
"dependencies": {
"@noble/ed25519": "1.6.0",
Expand All @@ -20,9 +20,7 @@
"vitest": "^0.34.6",
"whatwg-fetch": "^3.6.2"
},
"files": [
"dist"
],
"files": ["dist"],
"gitHead": "2172c73d8df4e5f273e6386676abc91b6c5b2707",
"license": "MIT",
"main": "dist/index.js",
Expand Down
11 changes: 2 additions & 9 deletions browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"eslint-plugin-import": "^2.26.0"
},
"name": "@tomic/root",
"version": "0.36.0",
"version": "0.38.0",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -53,14 +53,7 @@
}
},
"workspaces": {
"packages": [
"e2e",
"lib",
"react",
"data-browser",
"svelte",
"cli"
]
"packages": ["e2e", "lib", "react", "data-browser", "svelte", "cli"]
},
"packageManager": "[email protected]"
}
6 changes: 2 additions & 4 deletions browser/react/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.37.0",
"version": "0.38.0",
"author": "Joep Meindertsma",
"description": "Atomic Data React library",
"dependencies": {
Expand All @@ -11,9 +11,7 @@
"peerDependencies": {
"react": ">17.0.2"
},
"files": [
"dist"
],
"files": ["dist"],
"license": "MIT",
"name": "@tomic/react",
"main-dev": "src/index.ts",
Expand Down
6 changes: 2 additions & 4 deletions browser/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"require": "./dist/index.cjs.js"
}
},
"files": [
"dist"
],
"files": ["dist"],
"license": "MIT",
"main": "./dist/index.cjs.js",
"module": "./dist/index.js",
Expand All @@ -47,5 +45,5 @@
"type": "module",
"types": "dist/index.d.ts",
"typings": "./dist/index.d.ts",
"version": "0.37.0"
"version": "0.38.0"
}
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ license = "MIT"
name = "atomic-cli"
readme = "README.md"
repository = "https://github.com/atomicdata-dev/atomic-server"
version = "0.37.0"
version = "0.38.0"

[dependencies]
atomic_lib = { version = "0.37.0", path = "../lib", features = [
atomic_lib = { version = "0.38.0", path = "../lib", features = [
"config",
"rdf",
] }
Expand Down
24 changes: 12 additions & 12 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "MIT"
name = "atomic_lib"
readme = "README.md"
repository = "https://github.com/atomicdata-dev/atomic-server"
version = "0.37.0"
version = "0.38.0"

# Enables benchmarks to use the features, such as Db
[[bench]]
Expand All @@ -17,21 +17,21 @@ name = "benchmarks"

[dependencies]
base64 = "0.21"
bincode = {version = "1", optional = true}
directories = {version = ">= 2, < 5", optional = true}
html2md = {version = "0.2.14", optional = true}
kuchikiki = {version = "0.8.2", optional = true}
lol_html = {version = "1", optional = true}
rand = {version = "0.8"}
bincode = { version = "1", optional = true }
directories = { version = ">= 2, < 5", optional = true }
html2md = { version = "0.2.14", optional = true }
kuchikiki = { version = "0.8.2", optional = true }
lol_html = { version = "1", optional = true }
rand = { version = "0.8" }
regex = "1"
ring = "0.17.6"
rio_api = {version = "0.8", optional = true}
rio_turtle = {version = "0.8", optional = true}
serde = {version = "1", features = ["derive"]}
rio_api = { version = "0.8", optional = true }
rio_turtle = { version = "0.8", optional = true }
serde = { version = "1", features = ["derive"] }
serde_jcs = "0.1.0"
serde_json = "1"
sled = {version = "0.34", optional = true, features = ["no_logs"]}
toml = {version = "0.8", optional = true}
sled = { version = "0.34", optional = true, features = ["no_logs"] }
toml = { version = "0.8", optional = true }
tracing = "0.1"
ureq = "2"
url = "2"
Expand Down
6 changes: 4 additions & 2 deletions lib/src/client/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,16 @@ mod tests {
filters.insert("name".to_string(), "John".to_string());
filters.insert("age".to_string(), "30".to_string());
let expected_filter_string = "name:\"John\" AND age:\"30\"";
assert_eq!(build_filter_string(&filters), expected_filter_string);
let expected_filter_string_alt = "age:\"30\" AND name:\"John\"";
let result = build_filter_string(&filters);
assert!(result == expected_filter_string || result == expected_filter_string_alt);
}

#[test]
fn test_build_search_subject() {
// Mimics lib/search.test.ts
let server_url = "https://test.com";
let query = "q=test";
let query = "test";
let opts = SearchOpts {
include: Some(true),
limit: Some(30),
Expand Down
4 changes: 2 additions & 2 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
name = "atomic-server"
readme = "./README.md"
repository = "https://github.com/atomicdata-dev/atomic-server"
version = "0.37.0"
version = "0.38.0"

[[bin]]
name = "atomic-server"
Expand Down Expand Up @@ -84,7 +84,7 @@ version = ">= 4.0.1"
[dependencies.atomic_lib]
features = ["config", "db", "rdf", "html"]
path = "../lib"
version = "0.37.0"
version = "0.38.0"

[dependencies.clap]
features = ["derive", "env", "cargo"]
Expand Down

0 comments on commit a4a94ee

Please sign in to comment.