Skip to content

Commit a3d2a82

Browse files
authored
Release 4.3.0 (#147)
* internal: rename test:all script to test-all; internal: change test-all script * chore: add nullable enum data contract to test schema * refactor: small refactoring routes js module * chore: refactored routes.js * fix: www-url-formencoded request bodies #146 * fix: enum + nullable issue #145, feat: improved types descriptions * docs: update CHANGELOG; chore: refresh swagger schemas * feat: better naming of enum keys (like UPPER_CASE) (issue #108); docs: update CHANGELOG * fix: problem with silently fails CLI with creating new folder (#141); internal: refresh dependencies, docs: update CHANGELOG; * bump: up version to 4.3.0 * feat: improve js doc for data contracts * fix: problem with duplicate null keyword
1 parent ba1a687 commit a3d2a82

Some content is hidden

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

53 files changed

+1094
-355
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
include:
1414
- stage: generate&validate
1515
script:
16-
- npm run test:all
16+
- npm run test-all
1717

1818
notifications:
1919
slack:

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# next release
22

3+
# 4.3.0
4+
5+
Fixes:
6+
- Client generation for `Content-Type: application/x-www-form-urlencoded` (issue #146, thanks @Larox)
7+
- enum + nullable: true doesn't compute the good type (issue #145, thanks @RoXuS)
8+
- Underscores are omitted from enum keys (issue #108, thanks @eolant)
9+
- CLI silently fails if the directory to put new files in doesn't exist yet (issue #141, thanks @Styn)
10+
11+
Features:
12+
- Improved type description
13+
14+
Internal:
15+
- dependencies update:
16+
- `"js-yaml": "^4.0.0"` (`"^3.14.1"`)
17+
- `"make-dir": "^3.1.0"`
18+
- `"swagger2openapi": "^7.0.5"` (`"^7.0.4"`)
19+
- Difference in templates:
20+
- `data-contracts.eta`
21+
![dataContracts430](./assets/changelog_assets/http-client-template-diff-4.3.0.jpg)
22+
323
# 4.2.0
424
Features:
525
- new hook `onCreateRequestParams` which allows modify request params (`--extract-request-params` option) before sending it to route info

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ When we change it to `--module-name-index 1` then Api class have two properties
164164

165165
❗❗❗ Please use the `next` branch :)
166166

167-
If you need to check your changes at schemas in `tests` folder before create a PR just run command `npm run test:all`
167+
If you need to check your changes at schemas in `tests` folder before create a PR just run command `npm run test-all`
168168

169169
## Contributors ✨
170170

Loading

package-lock.json

Lines changed: 92 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)