Skip to content
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

Feature/simplify api #15

Merged
merged 4 commits into from
Mar 13, 2024
Merged

Feature/simplify api #15

merged 4 commits into from
Mar 13, 2024

Conversation

szkiba
Copy link
Contributor

@szkiba szkiba commented Mar 13, 2024

xk6-faker v0.3.0 is here with a new JavaScript-like API 🎉!

This release includes:

  • New JavaScript-like API
  • API doc generated by TypeDoc

Breaking changes

New JavaScript-like API

One of the goals of the refactor is to replace the previous xk6-faker API, which mirrors the underlying go library API, with an API similar to the popular JavaScript faker libraries.

Another important goal was to increase maintainability. The previous implementation contained a lot of manually created, difficult-to-maintain code and test code. After the refactor, the codes and test codes that required a lot of manual work disappeared, code generation replaces them in many places.

New features

API doc generated by TypeDoc

The new API documentation website is much clearer and easier to use than the previous documentation. The generation is done using TypeDoc, which can be considered standard, so the appearance is similar to that of the usual TypeScript API documentation sites.

@szkiba szkiba linked an issue Mar 13, 2024 that may be closed by this pull request
@szkiba szkiba merged commit 9058df1 into master Mar 13, 2024
5 checks passed
@szkiba szkiba deleted the feature/simplify-api branch March 13, 2024 19:09
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.

Simplify API
1 participant