Skip to content

Commit 24d2a96

Browse files
authored
Merge pull request #319 from wolfadex/version_0-8-0
version 0.8.0
2 parents 648121b + 1bf09c9 commit 24d2a96

5 files changed

Lines changed: 135 additions & 110 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.8.0] - 2026-06-17
11+
1012
### Fixed
1113

1214
- [Missing fields with recursive `allOf.$ref` inheritance](https://github.com/wolfadex/elm-open-api-cli/pull/182). [Adam DiCarlo](https://github.com/adamdicarlo0)
15+
- Paths security should override global security. [Adam DiCarlo](https://github.com/adamdicarlo0)
16+
- Replace "OneOf" type names with hash to reduce the size, to avoid a corrupted cache issue with the Elm compiler [lucamug](https://github.com/lucamug)
1317

1418
### Added
1519

1620
- Support for params being passed in the header
17-
- Support for `type : null`
18-
- Support for `const : <value>`
21+
- Support for oauth2
22+
- HTTP BearerToken support
1923
- [Support for `additionalProperties` in objects](https://github.com/wolfadex/elm-open-api-cli/pull/184). [Adam DiCarlo](https://github.com/adamdicarlo0)
24+
- Support for `application/octet-stream`. [Rónán](https://github.com/ronanyeah)
25+
- Support for path-level parameters. [Neyts Zupan](https://github.com/zupo)
26+
- [Leonardo Taglialegne](https://github.com/miniBill):
27+
- Support for `type : null`
28+
- Support for `const : <value>`
29+
- Improved error messages
30+
- Warnings for missing formats
31+
- Support for URI format
32+
- Support for the post-authentication token use in oauth2
33+
- Support for object params
34+
- Support for bytes
35+
- Handle duplicate server listings
36+
- Support for UUIDs format
37+
- Improved YAML support
38+
- Support for cookie authentication
39+
- Support for `anyOf` where possible
40+
- Support for `password` format
41+
- Lists of 2 or 3 are now formated as `Tuple`s
42+
- Support for `multipart/form-data`
43+
- Support for recursive types
44+
- Support for regex pattern
45+
2046

2147
## [0.7.0] - 2024-09-23
2248

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022-2025 Wolfgang Schuster
1+
Copyright (c) 2022-2026 Wolfgang Schuster
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

cli/elm.json

Lines changed: 68 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,72 @@
11
{
2-
"type": "application",
3-
"source-directories": [
4-
"src",
5-
"../src"
6-
],
7-
"elm-version": "0.19.1",
8-
"dependencies": {
9-
"direct": {
10-
"dillonkearns/elm-cli-options-parser": "5.0.1",
11-
"dillonkearns/elm-pages": "12.2.1",
12-
"elm/bytes": "1.0.8",
13-
"elm/core": "1.0.5",
14-
"elm/json": "1.1.4",
15-
"elm/parser": "1.1.0",
16-
"elm/regex": "1.0.0",
17-
"elm/url": "1.0.0",
18-
"elmcraft/core-extra": "2.3.0",
19-
"json-tools/json-schema": "1.0.2",
20-
"json-tools/json-value": "1.0.1",
21-
"mdgriffith/elm-codegen": "6.0.3",
22-
"miniBill/elm-fast-dict": "1.2.6",
23-
"miniBill/elm-parser-error-extra": "1.0.1",
24-
"miniBill/elm-yaml": "1.0.0",
25-
"pithub/elm-parser-bug-workaround": "1.0.0",
26-
"robinheghan/murmur3": "1.0.0",
27-
"the-sett/elm-pretty-printer": "3.3.1",
28-
"wolfadex/elm-ansi": "3.0.1",
29-
"wolfadex/elm-open-api": "2.0.0"
30-
},
31-
"indirect": {
32-
"BrianHicks/elm-string-graphemes": "1.0.4",
33-
"Chadtech/elm-bool-extra": "2.4.2",
34-
"MaybeJustJames/yaml": "2.1.7",
35-
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
36-
"avh4/elm-color": "1.0.0",
37-
"danyx23/elm-mimetype": "4.0.1",
38-
"dillonkearns/elm-bcp47-language-tag": "2.0.0",
39-
"dillonkearns/elm-date-or-date-time": "2.0.0",
40-
"dillonkearns/elm-form": "3.1.0",
41-
"dillonkearns/elm-ts-json": "2.1.3",
42-
"dividat/elm-semver": "2.0.0",
43-
"elm/browser": "1.0.2",
44-
"elm/file": "1.0.5",
45-
"elm/html": "1.0.1",
46-
"elm/http": "2.0.0",
47-
"elm/random": "1.0.0",
48-
"elm/time": "1.0.0",
49-
"elm/virtual-dom": "1.0.5",
50-
"elm-community/dict-extra": "2.4.0",
51-
"elm-community/json-extra": "4.3.0",
52-
"elm-community/list-extra": "8.7.0",
53-
"elm-explorations/test": "2.2.1",
54-
"fredcy/elm-parseint": "2.0.1",
55-
"jluckyiv/elm-utc-date-strings": "1.0.0",
56-
"justinmimbs/date": "4.1.0",
57-
"miniBill/elm-codec": "2.3.1",
58-
"miniBill/elm-unicode": "1.1.2",
59-
"noahzgordon/elm-color-extra": "1.0.2",
60-
"pithub/elm-parser-extra": "1.0.0",
61-
"robinheghan/fnv1a": "1.0.0",
62-
"rtfeldman/elm-css": "18.0.0",
63-
"rtfeldman/elm-hex": "1.0.0",
64-
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
65-
"stil4m/elm-syntax": "7.3.9",
66-
"stil4m/structured-writer": "1.0.3",
67-
"the-sett/elm-syntax-dsl": "6.0.5",
68-
"zwilias/elm-utf-tools": "2.0.1"
69-
}
2+
"type": "application",
3+
"source-directories": ["src", "../src"],
4+
"elm-version": "0.19.1",
5+
"dependencies": {
6+
"direct": {
7+
"dillonkearns/elm-cli-options-parser": "5.0.1",
8+
"dillonkearns/elm-pages": "12.2.1",
9+
"elm/bytes": "1.0.8",
10+
"elm/core": "1.0.5",
11+
"elm/json": "1.1.4",
12+
"elm/parser": "1.1.0",
13+
"elm/regex": "1.0.0",
14+
"elm/url": "1.0.0",
15+
"elmcraft/core-extra": "2.3.0",
16+
"json-tools/json-schema": "1.0.2",
17+
"json-tools/json-value": "1.0.1",
18+
"mdgriffith/elm-codegen": "6.0.3",
19+
"miniBill/elm-fast-dict": "1.2.6",
20+
"miniBill/elm-parser-error-extra": "1.0.1",
21+
"miniBill/elm-yaml": "1.0.0",
22+
"pithub/elm-parser-bug-workaround": "1.0.0",
23+
"robinheghan/murmur3": "1.0.0",
24+
"the-sett/elm-pretty-printer": "3.3.1",
25+
"wolfadex/elm-ansi": "3.0.1",
26+
"wolfadex/elm-open-api": "2.0.0"
7027
},
71-
"test-dependencies": {
72-
"direct": {},
73-
"indirect": {}
28+
"indirect": {
29+
"BrianHicks/elm-string-graphemes": "1.0.4",
30+
"Chadtech/elm-bool-extra": "2.4.2",
31+
"MaybeJustJames/yaml": "2.1.7",
32+
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
33+
"avh4/elm-color": "1.0.0",
34+
"danyx23/elm-mimetype": "4.0.1",
35+
"dillonkearns/elm-bcp47-language-tag": "2.0.0",
36+
"dillonkearns/elm-date-or-date-time": "2.0.0",
37+
"dillonkearns/elm-form": "3.1.0",
38+
"dillonkearns/elm-ts-json": "2.1.3",
39+
"dividat/elm-semver": "2.0.0",
40+
"elm/browser": "1.0.2",
41+
"elm/file": "1.0.5",
42+
"elm/html": "1.0.1",
43+
"elm/http": "2.0.0",
44+
"elm/random": "1.0.0",
45+
"elm/time": "1.0.0",
46+
"elm/virtual-dom": "1.0.5",
47+
"elm-community/dict-extra": "2.4.0",
48+
"elm-community/json-extra": "4.3.0",
49+
"elm-community/list-extra": "8.7.0",
50+
"elm-explorations/test": "2.2.1",
51+
"fredcy/elm-parseint": "2.0.1",
52+
"jluckyiv/elm-utc-date-strings": "1.0.0",
53+
"justinmimbs/date": "4.1.0",
54+
"miniBill/elm-codec": "2.3.1",
55+
"miniBill/elm-unicode": "1.1.2",
56+
"noahzgordon/elm-color-extra": "1.0.2",
57+
"pithub/elm-parser-extra": "1.0.0",
58+
"robinheghan/fnv1a": "1.0.0",
59+
"rtfeldman/elm-css": "18.0.0",
60+
"rtfeldman/elm-hex": "1.0.0",
61+
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
62+
"stil4m/elm-syntax": "7.3.9",
63+
"stil4m/structured-writer": "1.0.3",
64+
"the-sett/elm-syntax-dsl": "6.0.5",
65+
"zwilias/elm-utf-tools": "2.0.1"
7466
}
67+
},
68+
"test-dependencies": {
69+
"direct": {},
70+
"indirect": {}
71+
}
7572
}

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
node = "latest"

package.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
2-
"name": "elm-open-api",
3-
"version": "0.7.0",
4-
"description": "A tool for generating Elm SDKs from OpenAPI Specs.",
5-
"main": "dist/elm-open-api.js",
6-
"bin": "dist/elm-open-api.js",
7-
"type": "module",
8-
"scripts": {
9-
"dev": "cd cli && elm-pages run src/Cli.elm",
10-
"docs": "elm make --docs=docs.json",
11-
"build": "cd cli && elm-pages bundle-script src/Cli.elm --output ../dist/elm-open-api.js --optimize 1",
12-
"review": "elm-review",
13-
"review:watch": "elm-review --watch --fix",
14-
"format": "elm-format src tests --validate",
15-
"test": "elm-test",
16-
"test:gen": "cd cli && elm-pages run src/TestGenScript.elm",
17-
"test:watch": "elm-test --watch",
18-
"pub": "npm run build && npm publish"
19-
},
20-
"author": "Wolfgang Schuster",
21-
"license": "MIT",
22-
"devDependencies": {
23-
"@lydell/elm-json": "0.2.13-1",
24-
"@redocly/cli": "1.11.0",
25-
"elm": "0.19.1-6",
26-
"elm-codegen": "^0.6.3",
27-
"elm-format": "0.8.7",
28-
"elm-optimize-level-2": "0.3.5",
29-
"elm-pages": "^3.5.0",
30-
"elm-review": "^2.13.5",
31-
"elm-test": "^0.19.1-revision17",
32-
"lamdera": "^0.19.1-1.4.0",
33-
"vite": "^6.0.3"
34-
},
35-
"volta": {
36-
"node": "20.11.0"
37-
}
2+
"name": "elm-open-api",
3+
"version": "0.8.0",
4+
"description": "A tool for generating Elm SDKs from OpenAPI Specs.",
5+
"main": "dist/elm-open-api.js",
6+
"bin": "dist/elm-open-api.js",
7+
"type": "module",
8+
"scripts": {
9+
"dev": "cd cli && elm-pages run src/Cli.elm",
10+
"docs": "elm make --docs=docs.json",
11+
"build": "cd cli && elm-pages bundle-script src/Cli.elm --output ../dist/elm-open-api.js --optimize 1",
12+
"review": "elm-review",
13+
"review:watch": "elm-review --watch --fix",
14+
"format": "elm-format src tests --validate",
15+
"test": "elm-test",
16+
"test:gen": "cd cli && elm-pages run src/TestGenScript.elm",
17+
"test:watch": "elm-test --watch",
18+
"pub": "npm run build && npm publish"
19+
},
20+
"author": "Wolfgang Schuster",
21+
"license": "MIT",
22+
"devDependencies": {
23+
"@lydell/elm-json": "0.2.13-1",
24+
"@redocly/cli": "1.11.0",
25+
"elm": "0.19.1-6",
26+
"elm-codegen": "^0.6.3",
27+
"elm-format": "0.8.7",
28+
"elm-optimize-level-2": "0.3.5",
29+
"elm-pages": "^3.5.0",
30+
"elm-review": "^2.13.5",
31+
"elm-test": "^0.19.1-revision17",
32+
"lamdera": "^0.19.1-1.4.0",
33+
"vite": "^6.0.3"
34+
},
35+
"volta": {
36+
"node": "20.11.0"
37+
}
3838
}

0 commit comments

Comments
 (0)