Skip to content

Releases: khalidx/resource-x

v1.4.1

01 Jun 23:12
Compare
Choose a tag to compare

Adding proxy support.

rx can now be used behind a corporate proxy. Just make sure either the HTTPS_PROXY or HTTP_PROXY environment variable is set.

Features

None.

Fixes

  • Adding proxy support to the library for aws-sdk calls. The proxy solution is based on the following aws-sdk docs.

v1.4.0

04 May 05:45
Compare
Choose a tag to compare

Adding new generation features.

rx now generates useful files that you can use with other tools, like terraform and postman. Start with rx and continue your workflow with your favorite tools!

Features

  • Adding Postman Collections file generation
  • Adding Terraform file generation

Fixes

None.

v1.3.1

01 May 07:05
Compare
Choose a tag to compare

Simple patch release, with security related dependency updates.

Features

None.

Fixes

Dependencies:

  • Bump acorn from 6.2.0 to 6.4.1
  • Bump mixin-deep from 1.3.1 to 1.3.2
  • Bump lodash from 4.17.11 to 4.17.13
  • Bump lodash.merge from 4.6.1 to 4.6.2

Also a minor markdown change to the readme:

  • Updating the quick start section and adding a features section

v1.3.0

07 Jul 02:52
Compare
Choose a tag to compare

Minor features and fixes.

This release is focused around making the generated Swagger file easier to modify by hand, post-generation.

The schemas were being copied to every operation. If you went to change a schema in the generated Swagger file, you'd have to change it in all places. Now, the references are preserved, and changing any schema will update it in all places that it is referenced.

Features

  • Swagger now outputs as YAML instead of JSON (more readable and modifiable)
  • Consolidating file operations to file.ts

Fixes

  • Fixing missing body parameter in POST and PUT operations
  • Replacing yamljs with js-yaml
  • Leaving Swagger $refs in place when validating and saving the swagger.yaml
  • Ensuring the Swagger spec is dereferenced before injecting the AWS mock configuration
  • Fixing missing Swagger tags

v1.2.1

07 Jul 00:15
Compare
Choose a tag to compare

This release contains minor fixes.

This mainly solves the issues with the native binaries attached to previous releases (now removed), where the binaries would not start due to missing dependencies that were not bundled into the executable.

This release contains the latest working binaries.

Features

None.

Fixes

  • Replacing pkg with nexe for bundling native executables
  • Updating all npm dependencies to their latest versions
  • Updating Swagger types to use the latest types referenced in swagger-parser
  • Fixing scratch directory naming in test cases, as to not leave empty directories behind

v1.2.0

06 Jul 07:21
Compare
Choose a tag to compare

Another release, in such short time!

Minor features and fixes in this release. More features are coming soon!

Features

  • Adding request validation settings to the generated AWS API Gateway configuration
  • Adding (more, better) logging statements and colored log output
  • The rx generate command now prompts before overwriting the generated file
  • Adding a --debug option for verbose log output
  • Showing information about running --help when an invalid command is provided
  • Splitting CLI into a runtime and modules for easier testing
  • Linking to the Hacker News post in the README

Fixes

  • Fixing the way file paths are resolved for all rx commands
  • Removing the (mostly) redundant top-level CLI error wrappers
  • Removing the (unused) rx output command from the README

v1.1.0

02 Jul 03:11
Compare
Choose a tag to compare

The first update of many! More to come, very soon.

Features

  • GET and POST support exists. Adding support for PUT and DELETE.
  • Adding CORS (and OPTIONS) support for AWS API Gateway
  • Adding fake data generation for mock responses
  • Adding instructions for downloading native platform binaries
  • Implementing the rx undeploy command

Fixes

  • Shortening the CLI banner message
  • Fixing the missing sample.md file by including it in the npm package
  • Removing the unused rx output command
  • Removing POST support from items (POST should only be on the collection)