Commit Graph

39 Commits

Author SHA1 Message Date
anthony 01d29ee023 Initial and very naive conversion v2.0 => v2.1 (#10) 2023-09-17 23:59:37 +08:00
anthony 3c1871ce1f Conversion to 2.0 (--v2.0), improvements and fixes (#10)
First of all, now you can convert a collection manually exported from Postman UI.

Until this commit, any collection json had to be inside of root 'collection' object. Postman API returns collections in a such way and that was my case. So any collection exported using UI was mistakenly not detected as correct one.

The second thing that it is now possible to convert collections from v2.1 to v2.0 using --v2.0 flag. Even if they are exported via Postman API, of course.

Also some important refactorings are here.
2023-09-17 23:09:19 +08:00
anthony 5c85f23514 Bump version 2023-09-10 15:58:31 +08:00
anthony 35e1984326 JSON body & header was fixed 2023-09-10 15:57:39 +08:00
anthony 1dc5f7deaf Bump version 2023-09-10 15:31:41 +08:00
anthony 0b4317f56a Introducing --var and some improvements in variables interpolation
- now you can override any env variable, see README to find out how --var works
- improvements around env and vars storage
- some tiny ram optimizations in Processor (not sure if it useful nor necessary, actually)
2023-09-10 15:28:09 +08:00
anthony 8ab615c062 README misc 2023-09-10 09:17:12 +08:00
anthony da763a5a2f Bump version v1.3.0 2023-09-10 09:14:03 +08:00
anthony af9406be47 Merge pull request 'v1.3.0' (#11) from dev into master
Reviewed-on: #11
2023-09-10 01:12:37 +00:00
anthony 1345b7eddb Refactorings
- important curl and wget improvements
- initial test coverage
- setters and getters in Request classes
- namespace fixes
- some additions in README
- docblocks and code-style
2023-09-10 09:03:54 +08:00
anthony 3734327357 Merge pull request 'v1.2.4' (#9) from dev into master
Reviewed-on: #9
v1.2.4
2023-08-13 15:44:53 +00:00
anthony af9c360684 Bump version 2023-08-13 23:43:21 +08:00
anthony 44f437eaf3 Misc edits in texts and output 2023-08-13 23:42:24 +08:00
anthony 1ebdffe2a6 Fixed again non-existent env when interpolating vars 2023-08-13 23:41:54 +08:00
anthony d854732143 Merge pull request 'dev' (#7) from dev into master
Reviewed-on: #7
v1.2.3
2023-08-13 15:12:22 +00:00
anthony 9b021296eb Bump version 2023-08-13 23:11:52 +08:00
anthony d581afa793 Fixed non-existent env when interpolating vars 2023-08-13 23:11:37 +08:00
anthony 95ca655eb0 Merge pull request 'v1.2.2' (#5) from dev into master
Reviewed-on: #5
v1.2.2
2023-08-13 03:04:03 +00:00
anthony 25887a47d3 Bump version 2023-08-13 11:02:59 +08:00
anthony 1f7816c917 When env was no set then dont try to collect vars from it
(cherry picked from commit fa8ad15fdd691fb4ea5db431062e89b512a9d526)
2023-08-13 11:02:08 +08:00
anthony fb7b4baa32 Fixed wget file format
(cherry picked from commit 0febfd38aa3047555d34f7e125adb3773ee8a2da)
2023-08-13 11:02:07 +08:00
anthony 2c4eedbf8b When collection has no vars then dont try to collect them
(cherry picked from commit ee7528186f69e811b1b4db8e69ea2e4ec0ea2613)
2023-08-13 11:02:07 +08:00
anthony c790adf611 Merge pull request 'v1.2.1' (#4) from dev into master
Reviewed-on: #4
v1.2.1
2023-08-13 02:51:31 +00:00
anthony c6094566b4 Fixed error when -o is missied 2023-08-13 10:50:52 +08:00
anthony 0ac5e64c17 Merge pull request 'v1.2.0' (#3) from dev into master
Reviewed-on: #3
v1.2.0
2023-08-13 02:28:33 +00:00
anthony 40cc852328 Bump version 2023-08-13 10:26:46 +08:00
anthony c4961b1238 Several cool features
- replace vars from collection by default
- replace vars from environment file with -e
- bearer auth header
2023-08-13 10:26:22 +08:00
anthony c630af8795 Little output edit to prepare to some in-progress messages 2023-08-10 15:44:21 +08:00
anthony 9947987c20 Some refactorings in content generation 2023-08-10 15:43:18 +08:00
anthony c5f928dc47 Merge pull request 'v1.1.1' (#2) from dev into master
Reviewed-on: #2
v1.1.1
2023-08-10 05:33:30 +00:00
anthony 2081aa935a Bump version 2023-08-10 13:31:23 +08:00
anthony 1b3dd8b677 Improved detection of collections (affected on -f and -d) 2023-08-10 13:30:20 +08:00
anthony 9613697ada Fixed count bug 2023-08-09 21:31:08 +08:00
anthony 9ed0ddf79b Merge pull request 'v1.1.0' (#1) from dev into master
Reviewed-on: #1
v1.1.0
2023-08-04 01:28:43 +00:00
anthony b9c804b0f6 Bump version 2023-08-04 09:23:48 +08:00
anthony 882fbe4713 Time and RAM stats after conversion 2023-08-04 09:23:17 +08:00
anthony aa583e7d43 Fixed some mistakes while processing -d 2023-08-04 09:05:22 +08:00
anthony 3b94911895 First basic ready-to-use implementation v1.0.0 2023-08-03 16:43:17 +08:00
anthony 5cc681de63 Initial commit 2023-08-03 12:44:18 +08:00