Releases: readmeio/api
v7.0.0-beta.13
Note
The minimum required version of Node.js is now v20.10.0.
What's Changed
- chore(deps-dev): bump ip from 2.0.0 to 2.0.1 by @dependabot in #858
- chore(deps): bump es5-ext from 0.10.62 to 0.10.64 by @dependabot in #860
- chore(deps): bump vitest from 1.2.2 to 1.3.1 by @dependabot in #861
- chore(deps): bump semver and @types/semver by @dependabot in #862
- chore(deps): use lodash instead of per method packages by @jdleesmiller in #859
- chore(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in #867
- chore(deps-dev): bump the minor-development-deps group with 10 updates by @dependabot in #872
- chore(deps): bump ts-morph from 21.0.1 to 22.0.0 by @dependabot in #871
- chore(deps): bump figures from 6.0.1 to 6.1.0 by @dependabot in #868
- chore(deps): bump json-schema-to-ts from 3.0.0 to 3.0.1 by @dependabot in #869
- fix: swap out
ts-nodefortsimpby @kanadgupta in #873 - chore: bump deps, fix types by @kanadgupta in #874
- fix: zsh compatibility for
apiinstallation instructions by @erunion in #875 - chore(deps-dev): bump the minor-development-deps group with 5 updates by @dependabot in #876
- chore(deps): bump @readme/openapi-parser from 2.5.0 to 2.5.1 by @dependabot in #877
- chore(deps): bump oas from 24.2.1 to 24.3.1 by @dependabot in #878
- chore(deps): bump @readme/oas-to-har from 23.2.5 to 23.2.8 by @dependabot in #879
- chore(deps-dev): bump knip from 4.6.0 to 5.11.0 by @dependabot in #880
- chore(deps-dev): bump ejs from 3.1.9 to 3.1.10 by @dependabot in #881
- chore(deps): bump validate-npm-package-name from 5.0.0 to 5.0.1 by @dependabot in #892
- chore(deps): bump json-schema-to-ts from 3.0.1 to 3.1.0 by @dependabot in #891
- chore(deps): bump commander from 11.1.0 to 12.1.0 by @dependabot in #888
- chore(deps): bump ssri from 10.0.5 to 10.0.6 by @dependabot in #885
- chore(deps): bump @readme/oas-to-har from 23.2.8 to 23.2.13 by @dependabot in #889
- chore(deps): bump semver from 7.6.0 to 7.6.2 by @dependabot in #884
- chore(deps-dev): bump the minor-development-deps group with 7 updates by @dependabot in #883
- chore(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #896
- feat: support other package managers by @DaniAkash in #895
- feat: use project name rather than
sdkin sdk snippet by @darrenyong in #898 - chore(deps): bump ts-morph from 22.0.0 to 23.0.0 by @dependabot in #907
- chore(deps): bump fetch-har from 11.1.0 to 11.1.1 by @dependabot in #905
- chore(deps-dev): bump fetch-mock from 9.11.0 to 10.0.7 by @dependabot in #906
- chore(deps-dev): bump conventional-changelog-cli from 4.1.0 to 5.0.0 by @dependabot in #903
- chore(deps-dev): bump the minor-development-deps group across 1 directory with 9 updates by @dependabot in #911
- chore(deps): bump update-notifier from 7.0.0 to 7.2.0 by @dependabot in #920
- chore(deps): bump preferred-pm from 3.1.3 to 4.0.0 by @dependabot in #916
- chore(deps-dev): bump the minor-development-deps group with 10 updates by @dependabot in #914
- chore(deps): bump oas from 24.3.6 to 24.5.3 by @dependabot in #917
- chore(deps): bump @readme/oas-to-har from 23.2.13 to 23.2.21 by @dependabot in #919
- chore(deps-dev): bump fetch-mock from 10.1.1 to 11.1.3 by @dependabot in #929
- chore(deps): bump ora from 8.0.1 to 8.1.0 by @dependabot in #928
- chore(deps): bump update-notifier from 7.2.0 to 7.3.0 by @dependabot in #926
- chore(deps): bump oas from 24.5.3 to 24.7.0 by @dependabot in #925
- chore(deps-dev): bump axios from 1.7.2 to 1.7.7 by @dependabot in #931
- chore(deps): bump micromatch from 4.0.5 to 4.0.8 by @dependabot in #930
- chore(deps): bump @readme/oas-to-har from 23.2.21 to 23.2.23 by @dependabot in #924
- chore(deps): bump json-schema-to-ts from 3.1.0 to 3.1.1 by @dependabot in #923
- chore(deps-dev): bump the minor-development-deps group across 1 directory with 6 updates by @dependabot in #932
- chore(deps): bump by @kanadgupta in #935
- chore(deps): bump by @kanadgupta in #949
- chore(deps): bump oas from 25.0.2 to 25.0.3 by @dependabot in #956
- chore(deps): bump ts-morph from 23.0.0 to 24.0.0 by @dependabot in #953
- chore(deps): bump @readme/oas-to-har from 24.0.0 to 24.0.1 by @dependabot in #952
- chore(deps-dev): bump the minor-development-deps group with 5 updates by @dependabot in #951
- fix: use correct import attributes syntax by @kanadgupta in #957
- fix: use dynamic import for node-specific libraries by @kanadgupta in #820
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #958
- chore(deps): bump @readme/oas-to-har from 24.0.1 to 24.0.2 by @dependabot in #960
- chore(deps): bump ci-info from 4.0.0 to 4.1.0 by @dependabot in #961
- chore(deps): bump ora from 8.1.0 to 8.1.1 by @dependabot in #963
- chore(deps): bump nanoid from 3.3.7 to 3.3.8 by @dependabot in #968
- chore(deps): bump @readme/oas-to-har from 24.0.2 to 24.0.5 by @dependabot in #975
- chore(deps-dev): bump the minor-development-deps group across 1 directory with 5 updates by @dependabot in #977
- chore(deps): bump commander from 12.1.0 to 13.0.0 by @dependabot in #974
- chore(deps): bump ts-morph from 24.0.0 to 25.0.0 by @dependabot in #973
- chore(deps): bump chalk from 5.3.0 to 5.4.1 by @dependabot in #972
- fix: import attributes, dep bumps by @kanadgupta in #978
- chore(deps): bump vite from 5.4.11 to 5.4.14 by @dependabot in #980
- chore(deps): bump oas from 25.2.1 to 25.3.0 by @dependabot in #983
- chore(deps): bump semver from 7.6.3 to 7.7.0 by @dependabot in #982
- chore(deps-dev): bump the minor-development-deps group with 5 updates by @dependabot in #981
- chore(deps): bump remove-undefined-objects from 5.0.0 to 6.0.0 by @dependabot in #989
- chore(deps): bump commander from 13.0.0 to 13.1.0 by @dependabot in #988
- chore(deps): bump preferred-pm from 4.0.0 to 4.1.0 by @dependabot in #987
- chore(deps): bump @readme/oas-to-har from 24.0.5 to 24.0.7 by @dependabot in #986
- chore(deps): upgrading out of date deps by @erunion in #993
- chore(deps): bump vitest from 3.0.4 to 3.0.5 by @dependabot in #994
- refactor: swapping out our test dependency on
fetch-mockfornockby @erunion in #995 - chore(deps): bump semver from 7.7.0 to 7.7.1 by @dependabot in #998
- chore(deps): bump ts-morph from 25.0.0 to 25.0.1 by @dependabot in #999
- chore(deps): bump ora from 8.1.1 to 8.2.0 by @dependabot in #1001
- chore(deps): bump vitest from 3.0.5 to 3.0.7 by @dependabot in #1000
- chore(deps): bump preferred-pm from 4.1.0 to 4.1.1 by @dependabot in #1002
- ci: running
attwalong our test suite by @erunion in #1004 - chore(deps): upgrading
typescriptandtsupby @erunion in #1005 - chore(deps-dev): upgrading our eslint standards to support TS 5.8 by @erunion in #1006
- feat: drop support for node 18 by @erunion in #1007
- chore(deps): ...
v6.1.3
v6.1.2
Full Changelog: v6.1.1...v6.1.2
v7.0.0-beta.5
This release includes a few more QoL changes as we get closer to a broader v7 release. Appreciate your patience, folks!
Feel free to leave any feedback over in #791 — we'd love to hear from you!
What's Changed
- test: add mocks for
packageVersionby @kanadgupta in #811 - feat(api): import schemas in the types file as types by @erunion in #815
- feat(api): small CLI quality-of-life changes by @kanadgupta in #818
- test: run
tscon SDK fixtures by @kanadgupta in #819 - chore(deps-dev): bump tsup from 7.2.0 to 8.0.1 by @dependabot in #831
- chore(deps): bump fetch-har from 11.0.1 to 11.1.0 by @dependabot in #830
- chore(deps): bump @readme/oas-to-har from 23.2.0 to 23.2.1 by @dependabot in #829
- chore(deps): bump oas from 24.0.0 to 24.1.0 by @dependabot in #827
- chore(deps-dev): bump lerna from 7.4.2 to 8.0.0 by @dependabot in #826
- chore(deps): bump formdata-to-string from 2.0.1 to 2.0.2 by @dependabot in #825
- chore(deps): bump emphasize from 6.0.0 to 7.0.0 by @dependabot in #828
- chore(deps): bump vite from 4.4.9 to 5.0.5 by @dependabot in #834
- chore(deps): bump github/codeql-action from 2 to 3 by @dependabot in #837
- chore(deps): bump ora from 7.0.1 to 8.0.1 by @dependabot in #839
- chore(deps): bump ts-morph from 20.0.0 to 21.0.1 by @dependabot in #841
- chore(deps): bump json-schema-to-ts from 2.9.2 to 3.0.0 by @dependabot in #842
- chore(deps): upgrading out of date deps by @erunion in #843
- chore(deps): bump vite from 5.0.5 to 5.0.12 by @dependabot in #847
- chore(deps): bump reserved2 from 0.1.5 to 0.1.6 by @dependabot in #853
- chore(deps): bump vitest from 1.1.1 to 1.2.2 by @dependabot in #852
- chore(deps-dev): bump knip from 3.9.0 to 4.2.3 by @dependabot in #851
- feat: avoid modifying the response object when calling response.text() by @franciscopantojag in #854
- fix: ensure prepareServer respects server variables when custom url is the same as the OAS url by @yoitsro in #855
- fix: package name for ESM syntax by @EugenGedroyc in #857
- feat(api): export SDK by @yoitsro in #856
New Contributors
- @franciscopantojag made their first contribution in #854
- @yoitsro made their first contribution in #855
- @EugenGedroyc made their first contribution in #857
Full Changelog: v7.0.0-beta.4...v7.0.0-beta.5
v7.0.0-beta.4
api v7 is around the corner folks! Here's a quick summary of the changes since api v6:
- We've totally overhauled our SDK generation strategy so the generated SDK's types and module resolution should be consistent across all modern1 JavaScript environments (CommonJS, ES Modules, TypeScript, etc.). The CLI no longer asks confusing configuration questions about the type of JavaScript SDK you want to generate — it now generates a fully-typed JavaScript SDK that ✨ just works ✨ in pretty much every modern JavaScript environment.
- New
apiCLI commands to help you better manage your SDK installation(s) — commands to list and uninstall your SDKs. - Lots of little DX niceties (license generation, configuration files with sensible defaults, etc.) so you can generate and publish a high-quality SDK to the NPM registry within minutes 🚀
api v7 is available in beta if you want to give it a whirl!
npx api@next install [your API definition here]Got any feedback for us? Head on over to #791 and let us know what you think, we'd love to hear from you!
What's Changed
- chore(deps): bumping out of date deps by @erunion in #711
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #712
- chore(deps): upgrading to typescript 5 by @erunion in #719
- chore(deps): bump json-schema-to-ts from 2.6.2-beta.0 to 2.9.2 by @dependabot in #718
- chore(deps-dev): bump the minor-development-deps group with 1 update by @dependabot in #720
- chore(deps): bump commander from 10.0.0 to 11.0.0 by @dependabot in #703
- feat: drop support for node 16 and move to require native fetch by @erunion in #722
- feat: deprecating the dynamic
apientrypoint by @erunion in #723 - refactor(core): moving the core library into an isolated package by @erunion in #725
- refactor(ts): strict mode by @kanadgupta in #696
- refactor(api): cleaning up the api directory now that core is split out by @erunion in #728
- feat: moving node imports over to using the node: prefix by @erunion in #729
- ci: knip by @kanadgupta in #730
- refactor: rename
@api/coretoapi.coreby @kanadgupta in #731 - fix: try renaming core pkg to
@readme/api-coreby @kanadgupta in #732 - chore(deps-dev): bump oas-normalize from 8.4.1 to 10.1.0 by @dependabot in #726
- chore(deps): bump by @kanadgupta in #735
- chore(deps): bump @readme/oas-to-har from 20.1.1 to 23.0.8 by @dependabot in #741
- chore(deps): bump by @kanadgupta in #742
- chore(deps): bump
oas+ friends by @kanadgupta in #743 - chore(deps): npm up by @kanadgupta in #744
- chore(deps): bump fetch-har by @kanadgupta in #745
- chore(deps): bump vitest from 0.34.5 to 0.34.6 by @dependabot in #751
- chore(deps-dev): bump the minor-development-deps group with 4 updates by @dependabot in #750
- refactor: remove
make-diras a dep by @kanadgupta in #746 - fix(api): storage dir not being set properly by @erunion in #753
- feat: migrate
apiandcoreto ESM by @kanadgupta in #733 - refactor(api): minor refactors to how some internal language classes are used by @erunion in #755
- fix(api): nestling generated schemas into a new
schemas/directory by @erunion in #756 - chore(deps): bump undici from 5.25.2 to 5.26.3 by @dependabot in #757
- chore(deps-dev): bump @babel/traverse from 7.23.0 to 7.23.2 by @dependabot in #758
- feat(api): proper esm support and codegen overhauls by @erunion in #754
- refactor(core): removing
oasas a dependency on codegen'd SDKs by @erunion in #760 - feat(codegen): required devDeps are now listed in
package.jsonby @erunion in #761 - fix(cli): specs not being dereferenced when installed + fixture refactors by @erunion in #762
- feat(core): moving
json-schema-to-tsdirectly into thecorepackage by @erunion in #764 - chore(deps): bumping all out of date dependencies by @erunion in #765
- feat(cli): prompting the user to use
info.titlefor their installed SDK by @erunion in #763 - feat(httpsnippet-client-api): updates for v7 compatibility + custom variable support by @erunion in #767
- fix(httpsnippet-client-api): retain casing for non-reserved headers by @erunion in #768
- feat(api): codegen'd sdks now look a little bit nicer by @erunion in #769
- feat(api): exposing
openapi.jsonto codegen'dpackage.jsonfiles by @erunion in #771 - fix(cjs): include get-stream directly in bundle by @kanadgupta in #770
- feat(api): adding a
$schemaproperty to generatedapi.jsonlockfiles by @erunion in #773 - feat(api): creation of a new
listcommand by @erunion in #775 - ci: cleanup by @kanadgupta in #778
- feat: add a placeholder
READMEfile in codegen'd directory by @kanadgupta in #774 - feat(api): addition of a new uninstall command by @erunion in #776
- refactor(lockfile): consolidate TS and JSON schema type definitions by @kanadgupta in #777
- fix: add caret to package.json dep by @kanadgupta in #779
- fix(core): funky type issues with the main export exporting multiple things by @erunion in #781
- feat(api): improvements to the installation screen by @erunion in #783
- ci(api): fixing our smoketest suite by @erunion in #784
- refactor(api): refactor core to handle HAR generation for code snippets by @erunion in #785
- feat(api): creating LICENSE files and and SDK headings by @erunion in #786
- feat: tsconfig, gitignore, npm script enhancements by @kanadgupta in #782
- fix(core): refactoring
FromSchemaout of core by @erunion in #787 - refactor(snippets): moving the library over to be an HTTPSnippet plugin by @erunion in #792
- fix(api): run
npm installwith--ignore-scriptsby @erunion in #793 - feat: syntax highlighting on example snippet by @kanadgupta in #795
- feat(codegen): expose
package.jsoninexportsobject by @kanadgupta in #796 - feat: throw error for legacy dynamic
requireusers by @kanadgupta in #794 - chore(deps): upgrading all of our oas deps to their latest releases by @erunion in #797
- feat(core): bring
FromSchemaback into core by @kanadgupta in #801 - chore(deps): bump figures from 5.0.0 to 6.0.1 by @dependabot in #805
- chore(deps-dev): bump the minor-development-deps group with 19 updates by @dependabot in #804
- chore(deps): bump actions/setup-node from 3 to 4 by @dependabot in #803
- chore(deps): upgrading
oasto its latest release by @erunion in #808 - test: add tests for CLI commands by @kanadgupta in #799
- feat: convert SDK output to module by @kanadgupta in #802
- feat: add example code snippet to README by @kanadgupta in #809
- fix(httpsnippet-client-api): making external deps no longer external by @erunion in #810
Full Changelog: v6.1.1...v7.0.0-beta.4
-
Note that
apinow requires Node.js v18 or greater if you're a Node.js user, and TypeScript 5.2 if you're a TypeScript user. ↩
v6.1.1
What's Changed
- refactor: removing code formatting + upgrading to prettier 3 by @erunion in #688
- chore(deps): bump semver from 7.5.2 to 7.5.4 by @dependabot in #689
- chore(deps-dev): bump @commitlint/config-conventional from 17.6.6 to 17.6.7 by @dependabot in #687
- chore(deps-dev): bump eslint from 8.44.0 to 8.46.0 by @dependabot in #684
- feat(test): moving unit tests over to vitest by @erunion in #691
- chore(deps-dev): bump @commitlint/cli from 17.6.6 to 17.7.1 by @dependabot in #694
- chore(deps-dev): bump type-fest from 3.5.4 to 4.2.0 by @dependabot in #693
- fix: various quirks with how we handle
acceptheaders by @erunion in #699
Full Changelog: v6.1.0...v6.1.1
v6.1.0
What's Changed
- refactor: moving unit tests over to jest by @erunion in #672
- feat: extend unit testing to node 20 by @erunion in #673
- feat(cli): adding a new
--identifieroption for supplying an SDK identifier by @erunion in #675 - fix(codegen): don't surface error responses as method return types by @erunion in #674
Full Changelog: v6.0.1...v6.1.0
v6.0.0
v5.0.8
What's Changed
- chore(deps): bumping out of date deps by @erunion in #611
- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #613
- feat: add install flag to bypass prompt by @ezraripps in #625
New Contributors
- @ezraripps made their first contribution in #625
Full Changelog: v5.0.7...v5.0.8