Skip to content

Conversation

@erunion
Copy link
Member

@erunion erunion commented Jun 16, 2023

It's been about a year now since I last rebased upstream into our fork! 😅

🧰 Changes

  • Updated everything to the latest upstream.
  • Fixed a bug in php:curl snippets where booleans were being changed to null

dimitropoulos and others added 30 commits April 26, 2022 08:30
see Kong#248 and the commits therein for more context.  Essentially:
- the original client fixtures were unchanged, which hopefully means the 
- all source code is now in strict mode TypeScript
- tests are now all in jest
- the file structure was reorganized so that everything for a particular client is in one place
- the CLI is updated and now using yargs
- all dependencies were updated and some (i.e. `format.utils`) were able to be removed entirely
- more work left to do (including CI with GitHub Actions, for example), but this is a start
)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* Add Github Build Workflow (#250)

* Edit job name

* Replace install with ci on GH workflow

* Add matrix with major node versions (14, 16, 18)

* Disable fail-fast

* Remove node v14 from build GH action
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
…257)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* Remove travis links

* Update README.md

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
…#269)

* fix: issue where query strings in R wouldn't be properly concatenated

* adds (and respects) indent options to httr, plus double looping fix

now, indent is respected, and also avoiding running Object.keys twice per run since we can just run it once with .entries

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* add header namesspace to prevent header errors

* update fixtures

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* swift/nsurlsession adds `as Any` to print for error

* adds OVERWRITE_EVERYTHING to ease fixture snapshot resetting

* updates fixtures

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Sergey Zakharchenko <szakharchenko@digital-loggers.com>
…ost params (#192)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
…#198)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* go/native: adds insecureSkipVerify

* node/native: adds insecureSkipVerify

* python/python3: adds insecureSkipVerify

* ruby/native: adds insecureSkipVerify

* shell/curl: adds insecureSkipVerify

Co-authored-by: Tim Perry <pimterry@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Tim Perry <pimterry@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* php/curl: use json_encode for CURLOPT_POSTFIELDS

* php/http1: use json_encode when body is JSON

* php/http2: use json_encode when body is JSON

Co-authored-by: Andrii Kostenko <andrey@kostenko.name>
* Exclude package.json from build to fix output paths

* keeps bin pointing at cli output

* makes rootDir explicit

* removes unused cli build scripts

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
],
postData: {
mimeType: 'application/json',
text: '{"number":1,"string":"f\\"oo","arr":[1,2,3],"nested":{"a":"b"},"arr_mix":[1,"a",{"arr_mix_nested":{}}],"boolean":false}',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to this part of this fixture to an empty array because the empty object was throwing off some of our unit test assertions.

Comment on lines +8 to +9
case '[object Boolean]':
return obj;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any JSON object with a boolean in here was having that boolean rewritten to null. woof

@erunion erunion marked this pull request as ready for review June 16, 2023 22:47
@erunion erunion added the enhancement New feature or request label Jun 16, 2023
@erunion erunion merged commit c085c36 into main Jun 16, 2023
@erunion erunion deleted the rebase/upstream branch June 16, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants