All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Implement Atob via K6 encoding (#86)
- Extended pm.request with support for headers, url, method, name, id, body, body.raw (#136)
- Fix initialization of headers for each K6 request (#98)
- Bumped dependencies: uuuid, postman-collection, oauth-1.0a
- Handle mixing ESM and commonJS to be ready for k6 v0.53.0
- Bump minimal Node version to 18.x
- Code refactoring with optional chaining to provide JS safe code
- Support for pm.response.headers.all() & pm.response.headers.get() (thanks to the contribution of @aegrey)
- Upgraded dependencies: crypto-js 4.2.0, postman-collection 4.3.0, postman-collection-transformer 4.1.8
- Docker build -t postman-to-k6 (#114)
- Upgraded dependencies: get-func-name, word-wrap, semver, xmi2js
- Fixed missing module prettier (#96)
- Support for Postman files upload (experimental)(#93, #28, #83)
- Build postman-to-k6 as a Docker image
- Bump json5 from 2.1.3 to 2.2.3
- Bumped minimatch from 3.0.4 to 3.1.2 and other vulnerable dependencies
- Added missing scripts to the
package.json
file.
- Extend pm.variables.replaceIn to support Postman static & dynamic variables (#69)
- Transform Postman API exported wrapped collection & environment objects (#67)
- Enhanced auto-import of libs (#68)
- Replace the Postman variables in the global, environment and collection scopes (#64)
- Use correct directory paths for importing libs (#49)
- Auth headers with
-
in the key name are handled properly (#62) - Bump dependencies like husky, urijs, papaparse, chai, aws4, shell-quote, trim-off-newlines, minimist (#70)
- Allows variables that evaluate to falsy to be returned (#23)
- Temporary fix to overcome missing optional chaining support
- Minor enhancement to convert the CLI parameter to camelCased options for easier usage in the CLI options file
- Added the option to generate K6 Request tags for reporting purpose.
- Added option to use a file to pass all CLI options.
- Added option to generate a K6 JSON summary through the handleSummary() callback.
- Updated readme
- Migrated the "integration" tests to use Ava snapshots instead of the hardcoded comparison for easier maintenance
- Fixes a bug that when using the --skip-pre/--skip-post options was passed, the converter did not remove the pre-request/post-request scripts at the collection or folder level. (grafana#105)
- Updated readme to remove the docker hub reference to prevent confusion with the original package, since this fork does not build dockers.
- Extend support for Postman random functions/dynamic variables (grafana#92)
- Exclude disabled headers when converting requests (grafana#103)
- Implement postman replaceIn function
- Extended tests for url encode
- Extended tests for encoding of space characters
- Extended test to include checks for randomPhoneNumber & isoTimestamp
- Bumped dependencies for ajv, browserify, eslint, lodash, postman-collection, postman-collection-transformer, strip-json-comments, urijs
- Bumped dev dependencies for ava
- Bug fix for unwanted conversion of Postman query variables (#106 / #104)
1.1.0 - 2020-05-22
- Support for api key authorization.
1.0.0 - 2020-05-14
- Switched code style from standardjs to eslint and prettier
- ci workflows moved to github actions
- Automated deployment of version tags to dockerhub and npm registry
0.5.0 - 2020-03-24
- Support for tags
- Body in aws4 auth calls
- Dependency versions
0.4.0 - 2019-11-21
- Support for file uploads.
- Support empty query string in requests using AWSv4 signature authentication
0.3.1 - 2019-10-28
- Polyfill for Object.setPrototypeOf method when a conversion uses any dependency requiring it.
0.3.0 - 2019-08-23
- Support GraphQL variables.
0.2.0 - 2019-08-22
- Dockerfile and installation instructions on how to use Docker image from DockerHub.
- Support for injecting OAuth1 credentials when converting a collection.
- Support for splitting requests into separate JS files for easier rearrangement of logic post-conversion.
- Support for GraphQL body mode.
- Resolution of variables in request bodies.
0.1.2 - 2019-03-28
- Support alternate no-body encoding.
0.1.1 - 2019-03-26
- Postinstall command.
- Don't ignore scripts folder when packaging npm package.
0.1.0 - 2019-03-26
- Support for prerequest scripts.
- Support for test scripts.
- Support for variables (at all scopes + dynamic).
- Support for data files.
- Support for authentication methods (except Hawk).
- Support for postman.* interface.
- Support for pm.* interface.
- Support for global variables exposed by Postman: globals environment data iteration.
- Support for xml2Json conversion.
- Support for file formats v2 and v2.1.
- Installation and usage instructions to recommend nvm to avoid filesystem permission issues when installing the tool globally with
npm install -g ...