Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.9.0 Changelog #121

Merged
merged 4 commits into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 69 additions & 62 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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.