Skip to content

Commit

Permalink
feat!: release version 1 (asyncapi#674)
Browse files Browse the repository at this point in the history
## [1.0.0](asyncapi/modelina@v0.59.9...v1.0.0) (2023-01-23)

### Upgrade Steps

You can find the migration details here: https://github.com/asyncapi/modelina/blob/master/docs/migration.md 

Dont hesitate to reach out if you need help migrating to version 1.

### Breaking Changes
There is no specific PR that contains the breaking changes but is part of multiple PRs. See the migration part above.

### New Features
* feat: add Rust Generator (asyncapi#818)
* feat: add Kotlin model generator (asyncapi#1074)
* feat: add Python generator (asyncapi#863)
* feat: add jsonbinpack preset for TypeScript (asyncapi#854)
* feat: add support for AsyncAPI 2.5 (asyncapi#893)
* feat: add support for oneOf and anyOf as UnionModel (asyncapi#899)
* feat: integrate new AsyncAPI parser version (asyncapi#925)
* feat: add C# Newtonsoft preset (asyncapi#970)
* feat: add access to entire property object in constrainer (asyncapi#985)
* feat: add precise csharp enum type (asyncapi#1047)
* feat: add dependency manager (asyncapi#1063)

### Bug Fixes
* fix: unwrapping dictionaries not working in marshaling preset (asyncapi#855)
* fix: import path of helpers in DartRenderer (asyncapi#794)
* fix: modelina cannot be used in website environments (asyncapi#843)
* fix: duplicate dependencies being rendered (asyncapi#842)
* fix: inner references not being found (asyncapi#844)
* fix: root level references are not handled for JSON Schema (asyncapi#829)
* fix: wrong typescript number type used for integers (asyncapi#902)
* fix: merging CommonModel properties should not carry over properties to other models (asyncapi#917)
* fix: duplicate and self dependencies should not be rendered (asyncapi#903)
* fix: python generates unusable class for empty properties (asyncapi#901)
* fix: javascript should not split out enums (asyncapi#926)
* fix: typescript marshaling preset not caring about external models (asyncapi#927)
* fix: typescript rendering wrong array type when union (asyncapi#928)
* fix: java dictionary constrainer gives unusable integer type for map value (asyncapi#929)
* fix: remove unintended characters for typescript marshaling preset (asyncapi#935)
* fix: enable processor options to be passed processors (asyncapi#920)
* fix: references are getting incorrect model names (asyncapi#951)
* fix: enum generator for Java should use strict types for it's values (asyncapi#944)
* fix: implicit python import error (asyncapi#981)
* fix: rust compile errors on enum members containing digits (asyncapi#994)
* fix: add `exec` as a reserved keyword for Python (asyncapi#1000)
* fix: c# newtonsoft preset syntax errors (asyncapi#1004)
* fix: rust enum renderer only working for JSON Schema inputs (asyncapi#1001)
* fix: dependencies are rendered twice (asyncapi#1002)
* fix: rust impl new fn for Boxed values (asyncapi#1013)
* fix: solving blackbox tests problems (asyncapi#905)
* fix: structs missing pub keyword in RustGenerator (asyncapi#1021)
* fix: reserved keywords in Rust should be case-sensitive (asyncapi#1031)
* fix: pattern properties not being accounted for (asyncapi#1006)
* fix: csharp generator does not render optional types for optional properties (asyncapi#1051)
* fix: polymorphic / union models rendered with index in enum member name (asyncapi#1056)
* fix: add Jackson annotations at the field level (asyncapi#1059)
* fix: improve integration with old AsyncAPI parser (asyncapi#1050)
* fix: add Java constraints annotations at the field level (asyncapi#1067)
* fix: java generator could generate illegal package names (asyncapi#1084)

### Other Changes
* docs: new core data model (asyncapi#530)
* refactor: introduce new core models (asyncapi#655)
* refactor: add CommonModel conversion to MetaModel (asyncapi#677)
* refactor: add TypeScript constrainer (asyncapi#683)
* refactor: add JavaScript constrainer (asyncapi#693)
* refactor: add Go constrainer (asyncapi#695)
* refactor: add splitter (asyncapi#676)
* refactor: add C# constrainer (asyncapi#696)
* refactor: add Java constrainer (asyncapi#694)
* refactor: simplified constraints and type mapping (asyncapi#725)
* refactor: convert CSharp to new constraint setup (asyncapi#735)
* refactor: convert Go to new constraint setup (asyncapi#732)
* refactor: convert TS to new constraint setup (asyncapi#736)
* refactor: convert JS to new constraint setup (asyncapi#741)
* refactor: add object property model (asyncapi#758)
* chore: refactored model setup to support generators (asyncapi#766)
* chore: refactored input processors (asyncapi#767)
* chore: refactored TypeScript and generator implementation (asyncapi#765)
* chore: refactored Java to new core model (asyncapi#769)
* chore: refactored Go generator (asyncapi#771)
* chore: refactored CSharp generator (asyncapi#770)
* chore: refactored JavaScript generator  (asyncapi#773)
* chore: refactored dart generator (asyncapi#778)
* chore: fix build errors (asyncapi#779)
* chore: fix file generator tests (asyncapi#782)
* chore: add test and fix constrain implementation (asyncapi#781)
* chore: fix wrongful import (asyncapi#783)
* refactor: switch interpretation of pattern properties (asyncapi#791)
* refactor: fix constrain helpers and add test (asyncapi#792)
* chore: convert to any model from common model (asyncapi#793)
* chore: remove old post interpreter and fix tests (asyncapi#795)
* chore: fix TypeHelpers tests (asyncapi#802)
* chore: fix generator and renderer tests (asyncapi#803)
* chore: remove unnecessary common model test (asyncapi#798)
* chore: remove name helpers (asyncapi#801)
* chore: fix tests for OutputModel (asyncapi#800)
* chore: give constrained properties access to the raw property (asyncapi#799)
* chore: fix enum model conversion (asyncapi#797)
* chore: fix contains property check failing (asyncapi#810)
* chore: removed unused property and fix general tests (asyncapi#809)
* chore: refactor dart generators and test (asyncapi#796)
* chore: rewrite java generator tests (asyncapi#804)
* chore: rewrite TypeScript generator tests (asyncapi#806)
* chore: rewrite CSharp generator tests (asyncapi#807)
* chore: rewrite javascript generator tests (asyncapi#805)
* fix: remaining test and implementation issues (asyncapi#824)
* docs: move banner location (asyncapi#865)
* docs: update language documentation (asyncapi#862)
* docs: add migration guidelines (asyncapi#860)
* docs: update input processing documentation (asyncapi#859)
* docs: update constraint documentation (asyncapi#858)
* chore: remove unused functions (asyncapi#849)
* docs: update usage documentation (asyncapi#857)
* docs: update preset documentation (asyncapi#861)
* refactor: simplified example tests (asyncapi#868)
* chore: add a template for new generators (asyncapi#850)
* docs: remove duplicate dart output (asyncapi#892)
* test: update snapshot for failing test (asyncapi#907)
* chore: add a new example for json-schema-draft4-from-object (asyncapi#897)
* chore: add a new example for JSON schema draft 6 (asyncapi#933)
* ci: use @swc/jest to speedup tests (asyncapi#938)
* ci: fix broken release pipeline (asyncapi#956)
* docs: add contribution guidelines for processors (asyncapi#950)
* chore: add missing test dependency for docker (asyncapi#992)
* docs: add contributing guidelines for presets (asyncapi#990)
* docs: improve readme with use-cases and examples (asyncapi#1034)
* chore: add missing blackbox scripts (asyncapi#1046)
* docs: add versioning and maintenance section (asyncapi#991)
* test: update snapshots (asyncapi#1064)
* docs: fix the wrong link to constraint example (asyncapi#1065)
* test: added example to generate all models within the same file (asyncapi#1054)
* chore: added prettier config (asyncapi#838)
* chore: format code (asyncapi#1088)


Co-authored-by: Kenneth Aasan <k.aasan@sportradar.com>, Co-authored-by: Leigh Johnson <hi@leighjohnson.me>, Co-authored-by: Maciej Urbańczyk <urbanczyk.maciej.95@gmail.com>, Co-authored-by: Nitin Tejuja <95347924+nitintejuja@users.noreply.github.com>, Co-authored-by: Amit Kumar Sharma <ksamit1110@gmail.com>, Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com>, Co-authored-by: Andrey Zaytsev <zaytsevand@outlook.com>, Co-authored-by: Zbigniew Malcherczyk <zmalcherczyk@gmail.com>, Co-authored-by: Yushi OMOTE <yushiomote@gmail.com>, Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>, Co-authored-by: Artur Ciocanu <ciocanu@adobe.com>, Co-authored-by: Julian R <mail@julianrapp.de>, Co-authored-by: Anay Sarkar <53341181+anaysarkar7@users.noreply.github.com>, Co-authored-by: Louis Xhaferi <louis.xhaferi@gmx.de>, Co-authored-by: Akshat Nema <76521428+akshatnema@users.noreply.github.com>
  • Loading branch information
jonaslagoni and akshatnema authored Jan 23, 2023
1 parent 299a954 commit a242f9b
Show file tree
Hide file tree
Showing 710 changed files with 69,653 additions and 10,816 deletions.
23 changes: 23 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,18 @@
"example"
]
},
{
"login": "zaytsevand",
"name": "Andrey Zaytsev",
"avatar_url": "https://avatars.githubusercontent.com/u/5207748?v=4",
"profile": "https://github.com/zaytsevand",
"contributions": [
"code",
"example",
"doc",
"test"
]
},
{
"login": "codingtenshi",
"name": "Tenshi Codes",
Expand Down Expand Up @@ -439,6 +451,17 @@
"test"
]
},
{
"login": "anaysarkar7",
"name": "Anay Sarkar",
"avatar_url": "https://avatars.githubusercontent.com/u/53341181?v=4",
"profile": "https://linktr.ee/anaysarkar7",
"contributions": [
"example",
"code",
"test"
]
},
{
"login": "LouisXhaferi",
"name": "Louis Xhaferi",
Expand Down
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.github/
docs/
7 changes: 6 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
node_modules
docs
lib
output
output
src/generators/template
test/generators/template
examples/integrate-with-react
src/processors/TemplateInputProcessor.ts
test/processors/TemplateInputProcessor.spec.ts
25 changes: 7 additions & 18 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
"@typescript-eslint",
"sonarjs",
"security",
"github"
"github",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:sonarjs/recommended",
"plugin:security/recommended"
"plugin:security/recommended",
"prettier"
],
"rules": {
"strict": 0,
Expand Down Expand Up @@ -78,30 +80,15 @@
],
"no-spaced-func": 2,
"semi-spacing": 2,
"quotes": [
2,
"single"
],
"key-spacing": [
2,
{
"beforeColon": false,
"afterColon": true
}
],
"indent": [
2,
2
],
"no-lonely-if": 2,
"no-floating-decimal": 2,
"brace-style": [
2,
"1tbs",
{
"allowSingleLine": true
}
],
"comma-style": [
2,
"last"
Expand Down Expand Up @@ -183,7 +170,9 @@
"prefer-const": 2,
"prefer-spread": 2,
"prefer-template": 2,
"@typescript-eslint/no-unused-vars": 2
"@typescript-eslint/no-unused-vars": 2,
"prettier/prettier": 2,
"sonarjs/no-identical-functions": "off"
},
"overrides": [
{
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/if-nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- master
# below lines are not enough to have release supported for these branches
# make sure configuration of `semantic-release` package mentions these branches
- next
- next-spec
- next-major
- next-major-spec
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ node_modules
.vscode
coverage
lib
*.DS_Store
*.DS_Store
.idea
output
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": true,
"trailingComma": "none",
"singleQuote": true,
"printWidth": 80
}
Loading

0 comments on commit a242f9b

Please sign in to comment.