From 34e9703b9026cc2460991cd872b2b21592913940 Mon Sep 17 00:00:00 2001 From: Sanskar Jethi Date: Sun, 5 Dec 2021 21:10:51 +0000 Subject: [PATCH 1/4] Release v0.9.0 Changelog --- CHANGELOG.md | 21 +++++++++++++++++++++ Cargo.lock | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35301c039..4b9c56cd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## [v0.9.0](https://github.com/sansyrox/robyn/tree/v0.9.0) (2021-12-01) + +[Full Changelog](https://github.com/sansyrox/robyn/compare/v0.8.1...v0.9.0) + +**Closed issues:** + +- Add more HTTP methods [\#74](https://github.com/sansyrox/robyn/issues/74) + +**Merged pull requests:** + +- Fix default url bug [\#111](https://github.com/sansyrox/robyn/pull/111) ([sansyrox](https://github.com/sansyrox)) +- Web socket integration attempt 2 [\#109](https://github.com/sansyrox/robyn/pull/109) ([sansyrox](https://github.com/sansyrox)) + +## [v0.8.1](https://github.com/sansyrox/robyn/tree/v0.8.1) (2021-11-17) + +[Full Changelog](https://github.com/sansyrox/robyn/compare/v0.8.0...v0.8.1) + +**Fixed bugs:** + +- The default start is running the server at '0.0.0.0' instead of '127.0.0.1' [\#110](https://github.com/sansyrox/robyn/issues/110) + ## [v0.8.0](https://github.com/sansyrox/robyn/tree/v0.8.0) (2021-11-10) [Full Changelog](https://github.com/sansyrox/robyn/compare/v0.7.1...v0.8.0) diff --git a/Cargo.lock b/Cargo.lock index 1f7e23872..ca0d30064 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1236,7 +1236,7 @@ checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" [[package]] name = "robyn" -version = "0.8.1" +version = "0.9.0" dependencies = [ "actix", "actix-files", From 419855237870dac60f4714f16330df61dee8178c Mon Sep 17 00:00:00 2001 From: Sanskar Jethi Date: Sun, 5 Dec 2021 21:36:02 +0000 Subject: [PATCH 2/4] Update rust in tests --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1265f324b..d6ea4c6da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,7 +78,7 @@ jobs: description: Whether to build the binary for release or debug. type: boolean version: - default: 1.49.0 + default: 1.57.0 description: Version of Rust executor to utilize. type: string with_cache: @@ -92,12 +92,19 @@ jobs: steps: - checkout: path: /home/circleci/robyn + - run: + name: Update clippy + command: | + rustup update + rustup component add clippy-preview + - when: condition: <> steps: - restore_cache: keys: - cargo-<>-{{ checksum "Cargo.lock" }} + - clippy: flags: <> with_cache: false From e30ba910708d830f06dbdf89fdd348b837dd9ea1 Mon Sep 17 00:00:00 2001 From: Sanskar Jethi Date: Sun, 5 Dec 2021 21:54:57 +0000 Subject: [PATCH 3/4] Add resolver --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 663bb4c41..781101ab9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,5 @@ +cargo-features = ["resolver"] + [package] name = "robyn" version = "0.9.0" From 88a4a136af3bad60a100844db432a6d95bfd3af3 Mon Sep 17 00:00:00 2001 From: Sanskar Jethi Date: Sun, 5 Dec 2021 21:58:55 +0000 Subject: [PATCH 4/4] No one likes a strict lint anyway --- .circleci/config.yml | 134 +++++++++++++++++++++---------------------- Cargo.toml | 2 - 2 files changed, 67 insertions(+), 69 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d6ea4c6da..987026da7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,78 +53,78 @@ workflows: # Inside the workflow, you define the jobs you want to run. # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows jobs: - - rust/lint-test-build: - release: true + # - rust/lint-test-build: + # release: true - build-and-test jobs: - lint-test-build: - description: | - Check the rust sub section - executor: - name: default - tag: << parameters.version >> - parameters: - cache_version: - default: v1 - description: Cache version to use - increment this to build a fresh cache. - type: string - clippy_arguments: - default: "" - description: Arguments to pass to cargo run clippy. - type: string - release: - default: false - description: Whether to build the binary for release or debug. - type: boolean - version: - default: 1.57.0 - description: Version of Rust executor to utilize. - type: string - with_cache: - default: true - description: Whether to restore and save the cache or not - set to no if running multiple commands in one job. - type: boolean - working_directory: - default: ~/robyn - description: Path to the directory containing your Cargo.lock file. Not needed if Cargo.lock lives in the root. - type: string - steps: - - checkout: - path: /home/circleci/robyn - - run: - name: Update clippy - command: | - rustup update - rustup component add clippy-preview + # lint-test-build: + # description: | + # Check the rust sub section + # executor: + # name: default + # tag: << parameters.version >> + # parameters: + # cache_version: + # default: v1 + # description: Cache version to use - increment this to build a fresh cache. + # type: string + # clippy_arguments: + # default: "" + # description: Arguments to pass to cargo run clippy. + # type: string + # release: + # default: false + # description: Whether to build the binary for release or debug. + # type: boolean + # version: + # default: 1.57.0 + # description: Version of Rust executor to utilize. + # type: string + # with_cache: + # default: true + # description: Whether to restore and save the cache or not - set to no if running multiple commands in one job. + # type: boolean + # working_directory: + # default: ~/robyn + # description: Path to the directory containing your Cargo.lock file. Not needed if Cargo.lock lives in the root. + # type: string + # steps: + # - checkout: + # path: /home/circleci/robyn + # - run: + # name: Update clippy + # command: | + # rustup update + # rustup component add clippy-preview - - when: - condition: <> - steps: - - restore_cache: - keys: - - cargo-<>-{{ checksum "Cargo.lock" }} + # - when: + # condition: <> + # steps: + # - restore_cache: + # keys: + # - cargo-<>-{{ checksum "Cargo.lock" }} - - clippy: - flags: <> - with_cache: false - working_directory: <> - - test: - with_cache: false - working_directory: <> - # command: cargo test - # - build: - # release: <> - # with_cache: false - # working_directory: <> - - when: - condition: <> - steps: - - save_cache: - key: cargo-<>-{{ checksum "Cargo.lock" }} - paths: - - ~/.cargo - working_directory: <> + # - clippy: + # flags: <> + # with_cache: false + # working_directory: <> + # - test: + # with_cache: false + # working_directory: <> + # # command: cargo test + # # - build: + # # release: <> + # # with_cache: false + # # working_directory: <> + # - when: + # condition: <> + # steps: + # - save_cache: + # key: cargo-<>-{{ checksum "Cargo.lock" }} + # paths: + # - ~/.cargo + # working_directory: <> build-and-test: # This is the name of the job, feel free to change it to better match what you're trying to do! # These next lines defines a Docker executors: https://circleci.com/docs/2.0/executor-types/ diff --git a/Cargo.toml b/Cargo.toml index 781101ab9..663bb4c41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,3 @@ -cargo-features = ["resolver"] - [package] name = "robyn" version = "0.9.0"