Skip to content

Commit 3a25bc2

Browse files
authored
Merge pull request #12 from rdf-elixir/json-ld-1.1
JSON-LD 1.1 support
2 parents 389724c + ff15447 commit 3a25bc2

File tree

2,950 files changed

+77910
-10700
lines changed

Some content is hidden

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

2,950 files changed

+77910
-10700
lines changed

.credo.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
{Credo.Check.Refactor.MatchInCondition, false},
99
{Credo.Check.Refactor.CyclomaticComplexity, false},
1010
{Credo.Check.Refactor.UnlessWithElse, false},
11-
{Credo.Check.Refactor.NegatedConditionsWithElse, false}
11+
{Credo.Check.Refactor.NegatedConditionsWithElse, false},
12+
{Credo.Check.Refactor.CondStatements, false},
13+
{Credo.Check.Refactor.FunctionArity, max_arity: 10}
1214
]
1315
}
1416
]

.github/actions/elixir-setup/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ runs:
6464
otp-version: ${{ inputs.otp-version }}
6565

6666
- name: Get deps cache
67-
uses: actions/cache@v2
67+
uses: actions/cache@v4
6868
with:
6969
path: deps/
7070
key: deps-${{ inputs.cache-key }}-${{ runner.os }}-${{ hashFiles('**/mix.lock') }}
7171
restore-keys: |
7272
deps-${{ inputs.cache-key }}-${{ runner.os }}-
7373
7474
- name: Get build cache
75-
uses: actions/cache@v2
75+
uses: actions/cache@v4
7676
id: build-cache
7777
with:
7878
path: _build/${{env.MIX_ENV}}/
@@ -81,7 +81,7 @@ runs:
8181
build-${{ inputs.cache-key }}-${{ runner.os }}-${{ inputs.otp-version }}-${{ inputs.elixir-version }}-${{ env.MIX_ENV }}-
8282
8383
- name: Get Hex cache
84-
uses: actions/cache@v2
84+
uses: actions/cache@v4
8585
id: hex-cache
8686
with:
8787
path: ~/.hex

.github/workflows/elixir-build-and-test.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,30 @@ on:
1111
jobs:
1212
build:
1313
name: Build and test
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
env:
1616
MIX_ENV: test
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
strategy:
1919
matrix:
2020
include:
21-
- pair:
22-
elixir: 1.13.4
23-
otp: 23.3
24-
build-flags: --warnings-as-errors
25-
- pair:
26-
elixir: 1.14.5
27-
otp: 24.3
28-
build-flags: --warnings-as-errors
2921
- pair:
3022
elixir: 1.15.7
3123
otp: 25.3
32-
build-flags: --warnings-as-errors
24+
build-flags:
3325
- pair:
3426
elixir: 1.16.2
3527
otp: 26.2
36-
build-flags: --warnings-as-errors
3728
- pair:
38-
elixir: 1.17.2
39-
otp: 27.0
29+
elixir: 1.17.3
30+
otp: 27.3
31+
- pair:
32+
elixir: 1.18.3
33+
otp: 27.3
4034
build-flags: --warnings-as-errors
4135
steps:
4236
- name: Checkout repository
43-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
4438

4539
- name: Setup Elixir Project
4640
uses: ./.github/actions/elixir-setup

.github/workflows/elixir-dialyzer.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
MIX_ENV: dev
1717
strategy:
1818
matrix:
19-
elixir: ["1.17.2"]
20-
otp: ["27.0.1"]
19+
elixir: ["1.18.3"]
20+
otp: ["27.3.0"]
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Setup Elixir Project
2727
uses: ./.github/actions/elixir-setup
@@ -34,7 +34,7 @@ jobs:
3434
# Don't cache PLTs based on mix.lock hash, as Dialyzer can incrementally update even old ones
3535
# Cache key based on Elixir & Erlang version (also useful when running in matrix)
3636
- name: Restore PLT cache
37-
uses: actions/cache@v3
37+
uses: actions/cache@v4
3838
id: plt_cache
3939
with:
4040
key: plt-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}-${{ hashFiles('**/*.ex') }}

.github/workflows/elixir-quality-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
elixir: ["1.17.2"]
18-
otp: ["27.0.1"]
17+
elixir: ["1.18.3"]
18+
otp: ["27.3.0"]
1919

2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Setup Elixir Project
2525
uses: ./.github/actions/elixir-setup

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/) and
55
[Keep a CHANGELOG](http://keepachangelog.com).
66

77

8+
## Unreleased
9+
10+
Elixir versions < 1.15 and OTP version < 25 are no longer supported
11+
12+
[Compare v0.3.9...HEAD](https://github.com/rdf-elixir/jsonld-ex/compare/v0.3.9...HEAD)
13+
14+
15+
816
## 0.3.9 - 2024-08-07
917

1018
This version is just upgraded to RDF.ex 2.0.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.9
1+
0.4.0-pre

config/config.exs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import Config
2+
3+
import_config "#{Mix.env()}.exs"

config/dev.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import Config

config/prod.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import Config

config/test.exs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import Config
2+
3+
config :json_ld,
4+
max_contexts_loaded: 5,
5+
w3c_test_suite_run_mode: :local

0 commit comments

Comments
 (0)