Skip to content

Commit

Permalink
Release v0.9.0 Changelog (#121)
Browse files Browse the repository at this point in the history
* Release v0.9.0 Changelog

* Update rust in tests

* Add resolver

* No one likes a strict lint anyway
  • Loading branch information
sansyrox committed Dec 7, 2021
1 parent 7e12ea8 commit 7c72f79
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 63 deletions.
131 changes: 69 additions & 62 deletions .circleci/config.yml
Expand Up @@ -53,71 +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.49.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
- when:
condition: <<parameters.with_cache>>
steps:
- restore_cache:
keys:
- cargo-<<parameters.cache_version>>-{{ checksum "Cargo.lock" }}
- clippy:
flags: <<parameters.clippy_arguments>>
with_cache: false
working_directory: <<parameters.working_directory>>
- test:
with_cache: false
working_directory: <<parameters.working_directory>>
# command: cargo test
# - build:
# release: <<parameters.release>>
# with_cache: false
# working_directory: <<parameters.working_directory>>
- when:
condition: <<parameters.with_cache>>
steps:
- save_cache:
key: cargo-<<parameters.cache_version>>-{{ checksum "Cargo.lock" }}
paths:
- ~/.cargo
working_directory: <<parameters.working_directory>>
# 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: <<parameters.with_cache>>
# steps:
# - restore_cache:
# keys:
# - cargo-<<parameters.cache_version>>-{{ checksum "Cargo.lock" }}

# - clippy:
# flags: <<parameters.clippy_arguments>>
# with_cache: false
# working_directory: <<parameters.working_directory>>
# - test:
# with_cache: false
# working_directory: <<parameters.working_directory>>
# # command: cargo test
# # - build:
# # release: <<parameters.release>>
# # with_cache: false
# # working_directory: <<parameters.working_directory>>
# - when:
# condition: <<parameters.with_cache>>
# steps:
# - save_cache:
# key: cargo-<<parameters.cache_version>>-{{ checksum "Cargo.lock" }}
# paths:
# - ~/.cargo
# working_directory: <<parameters.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/
Expand Down
21 changes: 21 additions & 0 deletions 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)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7c72f79

Please sign in to comment.