Skip to content

release: Quicktype v23.1.0 #2610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 28, 2025
Merged

release: Quicktype v23.1.0 #2610

merged 4 commits into from
Apr 28, 2025

Conversation

inferrinizzard
Copy link
Contributor

@inferrinizzard inferrinizzard commented May 30, 2024

Description

  • Strongly typed language configs and options for internal development
  • Add better typed support for custom renderers

Related Issue

Motivation and Context

Previous Behaviour / Output

image

New Behaviour / Output

image

How Has This Been Tested?

Screenshots (if appropriate):

* standardise json formatting

* fix @types in deps

* add file association for schema files

* uses const type for All array

* move python args to own constructor

* make constructor first in misc languages

* add generics to TargetLanguage for names and extension

* fix generics for JavaScript + subclassing

* add strict types for language names and display names

* move language displayName, names, extension to class static members

* add strict typing for language name

* ♻️

* Revert "move language displayName, names, extension to class static members"

This reverts commit 5ca879c.

* add generics to TargetLanguage for names and extension

* fix generics for JavaScript + subclassing

* ♻️

* install eslint packages

* add eslint config

* remove tslint

* eslint autofix

* update eslint rules, eslintignore

* add lint:fix script

* update eslint rules, eslintignore

* add lint:fix script

* add import rules

* add import rules

* update import rules

* reduce excess style rules

* downgrade remaining to warnings

* fix enum values

fixup! fix enum values

* add all missing accessibility modifiers

fixup! add all missing accessibility modifiers

fixup! add all missing accessibility modifiers

* fix nullish errors

* update import rules

* fix all require imports

* fix all imports

* reduce excess style rules

* fix any types

fixup! fix any types

fixup! fix any types

* fix misc errors

* downgrade remaining to warnings

* return types

* fix types errors

* fix json import for test tsconfig

* auto lint fix

* fix lint errors in extension

* fix lint errors in Elixir

* make ref.pushElement public

* fix misc

* fix accidental public in CSharp raw text get

* use full generics for all languages to all extensibility

* add generics for elixir

* typescript 4.9 doesn't support const generics yet

* export LanguageName type and predicates

* fix type safety for extension

* fix type safety for cli

* reduce target language generic to singular config object

* update all non-inherited target languages to have external language config

* flatten all languages to extend from TargetLanguage

* fix new lint errors

* Merge branch 'refactor/imports/languages'

* fix package-lock

* lint fixed

* use LanguageName in cli index

* fix type errors in test

* add docs for creating custom languages and renderers

* update README
* standardise json formatting

* fix @types in deps

* add file association for schema files

* uses const type for All array

* move python args to own constructor

* make constructor first in misc languages

* add generics to TargetLanguage for names and extension

* fix generics for JavaScript + subclassing

* add strict types for language names and display names

* move language displayName, names, extension to class static members

* add strict typing for language name

* ♻️

* Revert "move language displayName, names, extension to class static members"

This reverts commit 5ca879c.

* add generics to TargetLanguage for names and extension

* fix generics for JavaScript + subclassing

* ♻️

* install eslint packages

* add eslint config

* remove tslint

* eslint autofix

* update eslint rules, eslintignore

* add lint:fix script

* update eslint rules, eslintignore

* add lint:fix script

* add import rules

* add import rules

* update import rules

* reduce excess style rules

* downgrade remaining to warnings

* fix enum values

fixup! fix enum values

* add all missing accessibility modifiers

fixup! add all missing accessibility modifiers

fixup! add all missing accessibility modifiers

* fix nullish errors

* update import rules

* fix all require imports

* fix all imports

* reduce excess style rules

* fix any types

fixup! fix any types

fixup! fix any types

* fix misc errors

* downgrade remaining to warnings

* return types

* fix types errors

* fix json import for test tsconfig

* auto lint fix

* fix lint errors in extension

* fix lint errors in Elixir

* make ref.pushElement public

* fix misc

* fix accidental public in CSharp raw text get

* use full generics for all languages to all extensibility

* add generics for elixir

* typescript 4.9 doesn't support const generics yet

* export LanguageName type and predicates

* fix type safety for extension

* fix type safety for cli

* reduce target language generic to singular config object

* strongly type Renderer Options with map for enums

* support existing tuple params

* update all non-inherited target languages to have external language config

* flatten all languages to extend from TargetLanguage

* fix new lint errors

* Merge branch 'refactor/imports/languages'

* fix package-lock

* lint fixed

* use LanguageName in cli index

* fix type errors in test

* add docs for creating custom languages and renderers

* update README

* working tuple type generics

* re-export All through index

* move language specific types into own file

* use map arg for EnumOption instead of tuple

* remove custom NoInfer

* split OptionMap and OptionValues types

* update EnumOptions to use map

* update getOptions to return options object instead of array

* aggregate language options types

* fix naming style options for C langs

* use LanguageOptions in Run

* readd NoInfer util type

* add LanguageOptions type

* move RendererOptions to own dir

* move options types to own file

* update type of LanguageOptions to reflect input

* fix types errors in cli script

* rename back to RendererOptions

* fix type error for fixtures.ts

* update messageError

* update getOptionValues to use name instead of key

* require defaults for EnumOptions

* rename options types

* remove unused members of OptionDefinition

* fix defaults for c-based
@inferrinizzard inferrinizzard changed the title wip: release: Quicktype v23.1.0 release: Quicktype v23.1.0 Apr 28, 2025
@inferrinizzard inferrinizzard marked this pull request as ready for review April 28, 2025 15:05
@inferrinizzard inferrinizzard merged commit da1238c into master Apr 28, 2025
22 checks passed
@inferrinizzard inferrinizzard deleted the release/v23.1.0 branch April 28, 2025 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant