Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
5e5df23
Expose the prefer-const-values Typescript language setting via CLI
kriswest Oct 17, 2023
317deef
Merge pull request #2426 from kriswest/expose-prefer-const-values
schani Nov 13, 2023
958d199
Fix Python class member comment placement (#2443)
usefulalgorithm Nov 17, 2023
2a60269
Adding a golang flag to allow all non-required struct fields to be se…
SirAlvarex Nov 30, 2023
838c5e0
added option to rust keywords (#2399)
darklyspaced Jan 6, 2024
a15f806
Updated Newtonsoft.Json csharp library to 13.0.3 (#2493)
jambyung Feb 14, 2024
fa751ab
Fixing failing unit test causing CI pipeline to fail (#2494)
Adam724 Feb 14, 2024
1fd39ff
removes default leading comment in Crystal (#2479)
inferrinizzard Feb 14, 2024
0427ff6
fix: Make private members of TypeScriptZodRenderer protected (#2476)
inferrinizzard Feb 14, 2024
63bbff0
Update test-pr.yaml (#2454)
airtonix Feb 14, 2024
78a5b7e
apply Sendable unless it's class and mutable. (#2473)
nh7a Feb 14, 2024
67cc045
Rust: Add option to skip serializing empty optional fields (#2397)
gudjonragnar Feb 14, 2024
9d1ad9a
fix: missing description emit when freezed is used (#2394)
marvin-kolja Feb 14, 2024
cb0adcd
Adding missing export of new Golang option (#2450)
SirAlvarex Feb 14, 2024
6e26b76
C# add keep property name options (#2316)
CabinIkaros Feb 14, 2024
2793074
Improve Error Messaging for Enumeration Conversion (#2431)
karaketir16 Feb 14, 2024
2b10c8f
Revert "Update test-pr.yaml (#2454)" (#2500)
dvdsgl Feb 14, 2024
fdd4052
add supportsOptionalClassProperties to TypeScriptZod target language …
inferrinizzard Feb 14, 2024
4382ecc
style: format code with Prettier (#2501)
deepsource-autofix[bot] Feb 14, 2024
c188aba
feat: Support more leading comment types (#2482)
inferrinizzard Feb 14, 2024
1c47411
Update README.md
dvdsgl Feb 14, 2024
d68b2ba
style: format code with Prettier (#2502)
deepsource-autofix[bot] Feb 14, 2024
f440afd
fixed #2411 and typothing in script/quicktype comments: doesn't exis…
feefladder Feb 14, 2024
1f89a97
feat(Golang): Add support for native golang Date/Time types (#2306)
gifanonim Feb 14, 2024
cab3d94
fix: Typescript zod (and effect) language uses block scoped variables…
kriswest Feb 14, 2024
ac1429f
style: format code with Prettier (#2503)
deepsource-autofix[bot] Feb 14, 2024
bb5f033
fix: enum property overriding when using $ref #2319 (#2326)
DanielBretzigheimer Feb 14, 2024
916cd94
Fix omit empty (#2505)
Adam724 Feb 15, 2024
0b5924d
C++: force include for types in vector and map (#2403)
black-desk Mar 1, 2024
99d4dca
Fix Bug with Go time package imports (#2528)
rekram1-node Mar 9, 2024
d300356
Fix Bug with misplaced Go time imports (#2531)
rekram1-node Mar 18, 2024
648282d
add prettierignore (#2541)
inferrinizzard Mar 30, 2024
36fb7fa
update for latest @effect/schema (#2537)
tim-smart Mar 30, 2024
562bb54
Add GH Issue and PR Templates (#2520)
inferrinizzard Mar 30, 2024
f287a5d
style: format code with Prettier (#2542)
deepsource-autofix[bot] Mar 30, 2024
d4fb094
build(deps): bump readable-stream and @types/readable-stream (#2514)
dependabot[bot] Mar 30, 2024
b25ab3a
build(deps): bump @types/urijs from 1.19.19 to 1.19.25 (#2513)
dependabot[bot] Mar 30, 2024
37229c3
build(deps-dev): bump @types/browser-or-node from 1.3.0 to 1.3.2 (#2512)
dependabot[bot] Mar 30, 2024
0d974b4
build(deps-dev): bump ts-node from 10.9.1 to 10.9.2 (#2511)
dependabot[bot] Mar 30, 2024
a92aa33
Add readonly option for TypeScript Language (#2534)
inferrinizzard Mar 31, 2024
4c52581
Confirming djsiegel@gmail.com ownership of glideapps/quicktype for VS
dvdsgl Apr 9, 2024
a4a05d5
Import VS Code extension from glideapps/quicktype-vscode (#2559)
dvdsgl Apr 13, 2024
7e168a5
remove unused Smithy4sRenderer (#2548)
inferrinizzard Apr 13, 2024
6ab969e
build(deps): bump moment from 2.29.4 to 2.30.1 (#2546)
dependabot[bot] Apr 13, 2024
12e3ad1
build(deps-dev): bump @types/shelljs from 0.8.12 to 0.8.15 (#2547)
dependabot[bot] Apr 13, 2024
10e8b0a
build(deps): bump yaml from 2.3.1 to 2.4.1 (#2544)
dependabot[bot] Apr 13, 2024
8575cde
fix to_float output for Python (#2549)
inferrinizzard Apr 13, 2024
a550841
fix(ts-input): Replace topLevelName for TypeScript input if first typ…
inferrinizzard Apr 13, 2024
6820689
style: format code with Prettier (#2561)
deepsource-autofix[bot] Apr 13, 2024
19c0b3f
Swift - Integrate access level settings with CodingKeys protocol conf…
brenoxp Apr 13, 2024
32ec44e
style: format code with Prettier (#2563)
deepsource-autofix[bot] Apr 13, 2024
e4a4430
Elixir (#2553)
mitchsayre Apr 13, 2024
c874003
style: format code with Prettier (#2565)
deepsource-autofix[bot] Apr 13, 2024
046dc5b
build(deps-dev): bump deep-equal from 2.2.2 to 2.2.3 (#2543)
dependabot[bot] Apr 14, 2024
5ddbd5f
Fix unicode-properties import (#2566)
dvdsgl Apr 14, 2024
5a396be
build(deps): bump js-base64 from 3.7.5 to 3.7.7 (#2567)
dependabot[bot] Apr 17, 2024
8547cf7
build(deps): bump @glideapps/ts-necessities from 2.1.3 to 2.2.3 (#2568)
dependabot[bot] Apr 18, 2024
0608204
build(deps-dev): bump @types/command-line-usage from 5.0.2 to 5.0.4 (…
dependabot[bot] Apr 19, 2024
8d4169b
refactor: update fetch import for node v21+ compatibility (#2573)
avallete Apr 19, 2024
0804c4c
build(deps-dev): bump @types/node from 18.14.0 to 18.19.31 (#2570)
dependabot[bot] Apr 20, 2024
32028a8
fix: Emit top level primitives for missing Languages (#2552)
inferrinizzard Apr 20, 2024
e1bb838
remove deepsource.toml (#2575)
inferrinizzard Apr 25, 2024
49e9e03
fix: Resolve ReadableStream types issue in test suite (#2581)
inferrinizzard Apr 28, 2024
19bba82
update to latest @effect/schema (#2574)
tim-smart Apr 28, 2024
8eb481f
build(deps-dev): bump @typescript-eslint/parser from 7.6.0 to 7.7.0 (…
dependabot[bot] Apr 28, 2024
7f0b11c
build(deps-dev): bump prettier from 3.0.1 to 3.2.5 (#2579)
dependabot[bot] Apr 28, 2024
22e34d2
build(deps): bump browser-or-node from 2.1.1 to 3.0.0 (#2580)
dependabot[bot] Apr 28, 2024
84859e1
build(deps-dev): bump @types/lodash from 4.14.197 to 4.17.0 (#2583)
dependabot[bot] Apr 29, 2024
bc0608f
remove unused types devDeps (#2586)
inferrinizzard Apr 29, 2024
e50d5a0
chore: Replace tslint with eslint (#2555)
inferrinizzard Apr 30, 2024
79b94e5
chore: ESLint fixes (#2558)
inferrinizzard May 12, 2024
50713eb
fix: update `dist/index.js` to `dist/src/index.js` (#2594)
chenrui333 May 13, 2024
ec49e95
Revert "fix: update `dist/index.js` to `dist/src/index.js` (#2594)" (…
dvdsgl May 13, 2024
2d4ce03
fix: Restores old build output by removing package.json import (#2596)
inferrinizzard May 13, 2024
be6a937
refactor: Split monolithic language files into dirs with component fi…
inferrinizzard May 18, 2024
1ad532b
Revert import order to fix imported class being not yet defined (#2599)
flovouin May 18, 2024
02d860f
Revert "Revert import order to fix imported class being not yet defin…
dvdsgl May 18, 2024
8521c65
Fail the workflow if anything earlier fails (#2601)
dvdsgl May 18, 2024
3ddcadf
Revert "Revert "Revert import order to fix imported class being not y…
dvdsgl May 18, 2024
ed1ffa4
chore(rust): Strongly type Rust NamingStyles (#2602)
inferrinizzard May 18, 2024
b284302
allow running test pr workflow for release branches
inferrinizzard May 30, 2024
7b5d1ae
Merge pull request #2609 from glideapps/repo/test-pr-release-branches
inferrinizzard May 30, 2024
29bb816
refactor: Fixes some easier dependency cycles (#2605)
inferrinizzard May 31, 2024
37320e7
feat(python): add --pydantic-base-model option (#2604)
alpoi Jan 20, 2025
c7837e6
fix: punycode error for non CI (#2587)
avallete Apr 23, 2025
63db12c
fix: Revert GH Actions to use Ubuntu 22.04 (#2701)
inferrinizzard Apr 24, 2025
d1a3956
Refine Go renderer's generated file header comment. (#2708)
tessig Apr 24, 2025
96f888e
feat: expose various emit functions to subclasses (#2658)
jhosteny Apr 24, 2025
1265276
Disable Swift CI check due to gpg issue (#2712)
inferrinizzard Apr 28, 2025
da1238c
release: Quicktype v23.1.0 (#2610)
inferrinizzard Apr 28, 2025
472075a
update to latest effect/Schema (#2646)
tim-smart Apr 29, 2025
8a91789
Fix text in C++ default statement (#2623)
Crayon2000 Apr 30, 2025
088dadc
fix: Options parse check (#2723)
inferrinizzard May 1, 2025
7143aee
Refactor out import cycles (#2733)
inferrinizzard May 12, 2025
7cd667e
release: Quicktype v23.2.0 (#2743)
inferrinizzard May 15, 2025
3b96de8
Fix fetch with build-time substitution (#2744)
inferrinizzard May 17, 2025
63b028f
Fix fetch for ci but not publish (#2745)
inferrinizzard May 17, 2025
4a20324
Fix publish check for ci (#2746)
inferrinizzard May 17, 2025
ea36c22
fix(C#): added dependency usings based on types present in renderCont…
sakets594 May 18, 2025
b747e4b
chore: Clean up OptionDefinition (#2747)
inferrinizzard May 18, 2025
4195020
fix: Extend OptionDefinition from command-line-args, fix positional a…
inferrinizzard May 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .deepsource.toml

This file was deleted.

56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
name: New Bug Report
about: Use this template for reporting new bugs.
title: "[BUG]: bug description here"
labels: bug
---

<!--- Provide a general summary of the issue in the Title above -->

## Issue Type

<!--- Is this an issue with quicktype output, input parsing, or during runtime ? -->

## Context (Environment, Version, Language)

<!-- What input format and what target output language were you using ? -->

Input Format:
Output Language:

<!-- Please specify how you were using the library (CLI, npm package, or app.quicktype.io) and what version, if applicable -->

CLI, npm, or app.quicktype.io:
Version:

## Description

<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Input Data

<!--- Please provide a snippet of your input data. -->
<!--- Please truncate if it is too large and ideally isolate to a minimum reproducible example -->

## Expected Behaviour / Output

<!--- Tell us what should happen / what output should be generated -->

## Current Behaviour / Output

<!--- Tell us what happens instead of the expected behavior / what output is currently generated -->

## Steps to Reproduce

<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->

1.
2.
3.
4.

## Possible Solution

<!--- Optional, suggest a fix/reason for the bug, -->
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
# contact_links:
# - name: GitHub Community Support
# url: https://github.com/orgs/community/discussions
# about: Please ask and answer questions here.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Feature Request
about: Use this template for requesting new features.
title: "[FEATURE]: feature description here"
labels: enhancement
---

<!--- Provide a general summary of the feature in the Title above -->

## Context (Input, Language)

<!-- What input format and what target output language would this affect ? -->

Input Format:
Output Language:

## Description

<!--- How would this feature benefit you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Current Behaviour / Output

<!--- Tell us what happens / what output is currently generated -->

## Proposed Behaviour / Output

<!--- Tell us what should happen / what output should be generated -->

## Solution

<!-- Describe or propose a potential solution -->

## Alternatives

<!-- Please describe any alternatives you have considered and how they do or do not work for you -->

## Context

<!-- Add any additional context here, if applicable -->
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## Description

<!--- Describe your changes in detail -->

## Related Issue

<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## Previous Behaviour / Output

<!--- Provide an example of what was happening before your change -->

## New Behaviour / Output

<!--- Provide an example of what now happens after your change -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran, including any new unit tests --->

## Screenshots (if appropriate):
5 changes: 4 additions & 1 deletion .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ on:

jobs:
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/setup
env:
PUBLISH: true
- run: npm run pub
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
echo "source_key=$SOURCE_KEY" >> $GITHUB_ENV

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
cache: npm
Expand Down
32 changes: 22 additions & 10 deletions .github/workflows/test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ on:
pull_request:
branches:
- master
- "release/**"
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/setup
Expand All @@ -31,19 +32,20 @@ jobs:
- csharp,schema-csharp,schema-json-csharp,graphql-csharp,csharp-SystemTextJson
- json-ts-csharp
- dart,schema-dart
- swift,schema-swift
# - swift,schema-swift # pgp issue
- javascript-prop-types
- ruby
- php
- scala3,schema-scala3
- elixir,schema-elixir,graphql-elixir

# Partially working
# - schema-typescript # TODO Unify with typescript once fixed

# Implementation is too outdated to test in GitHub Actions
# - elm,schema-elm

# Language is too niche / obscure to test easily on ubuntu-latest
# Language is too niche / obscure to test easily on ubuntu-22.04
# - pike,schema-pike

# Not yet started
Expand All @@ -54,18 +56,18 @@ jobs:
# Never tested?
# - crystal

runs-on: [ubuntu-latest]
runs-on: [ubuntu-22.04]

include:
# Rust is very slow, so we use a larger runner
- fixture: rust,schema-rust
runs-on: ubuntu-latest-8-cores
runs-on: ubuntu-latest-16-cores
# Kotlin is also slow
- fixture: kotlin,schema-kotlin,kotlin-jackson,schema-kotlin-jackson
runs-on: ubuntu-latest-8-cores
runs-on: ubuntu-latest-16-cores

- fixture: objective-c
runs-on: macos-11
# - fixture: objective-c # segfault on compiled test cmd
# runs-on: macos-latest

name: ${{ matrix.fixture }}
steps:
Expand Down Expand Up @@ -176,10 +178,20 @@ jobs:
- run: echo '@main def hello() = println("We need this spam print statement for bloop to exit correctly...")' | scala-cli _
if: ${{ contains(matrix.fixture, 'scala3') }}

- name: Install Elixir
if: ${{ contains(matrix.fixture, 'elixir') }}
uses: erlef/setup-beam@v1
with:
elixir-version: "1.15.7"
otp-version: "26.0"

- run: QUICKTEST=true FIXTURE=${{ matrix.fixture }} npm test

test-complete:
if: ${{ cancelled() || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') }}
needs: test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- run: echo 🎉
- run: |
echo "Some workflows have failed!"
exit 1
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ test/fixtures/objective-c/quicktype
/.bsp
.metals
.scala-build
.vscode
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.12.0
v22.14.0
1 change: 0 additions & 1 deletion .prettierrc

This file was deleted.

76 changes: 38 additions & 38 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "quicktype",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/ts-node/dist/_bin.js",
"runtimeArgs": ["--nolazy"],
"args": [
"--project",
"src/cli/tsconfig.json",
"src/cli/index.ts",
"--lang",
"dart",
"--src-lang",
"json",
"./test/inputs/json/priority/blns-object.json"
],
"cwd": "${workspaceRoot}",
"protocol": "inspector"
},
{
"name": "test",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/ts-node/dist/_bin.js",
"args": ["--project", "test/tsconfig.json", "test/test.ts"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"env": {
"CPUs": "1",
"FIXTURE": "golang"
}
}
]
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "quicktype",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/ts-node/dist/_bin.js",
"runtimeArgs": ["--nolazy"],
"args": [
"--project",
"src/cli/tsconfig.json",
"src/cli/index.ts",
"--lang",
"dart",
"--src-lang",
"json",
"./test/inputs/json/priority/blns-object.json"
],
"cwd": "${workspaceRoot}",
"protocol": "inspector"
},
{
"name": "test",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/ts-node/dist/_bin.js",
"args": ["--project", "test/tsconfig.json", "test/test.ts"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"env": {
"CPUs": "1",
"FIXTURE": "golang"
}
}
]
}
Loading