Skip to content

Commit

Permalink
fix: nullability of various user fields
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthBenro008 committed Dec 7, 2021
1 parent 57c1c19 commit 7ef90e7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
28 changes: 23 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,44 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Releases]

## [0.1.3] - 2021-12-08

### Nullable Fields fix of various user data

#### Features

- Patch to datatype of some fields to be optional of GitHub API of various field

## [0.1.2] - 2021-12-05

### Hireable Field data-type mismatch bug fix

#### Features

- Patch to datatype of GitHub API of the Hireable field from String to bool

## [0.1.1] - 2021-12-04

## Homebrew Support Patch Release
### Homebrew Support Patch Release

### Features
#### Features

- Patch to `releaser.yaml` CI to support binary builds that can be published to homebrew by @DarthBenro008

## [0.1.0] - 2021-12-04

## Initial Release
### Initial Release

### Features
#### Features

- Use to know who followed and unfollowed you on GitHub
- Uses sled db
- Caching Mechansim
- Smart status and logging status
- Smart status and logging status

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gunfollower"
version = "0.1.2"
version = "0.1.3"
authors = ["Hemanth Krishna <[email protected]>"]
license = "MIT"
description = "Rust CLI to check who unfollows you on GitHub"
Expand Down
8 changes: 4 additions & 4 deletions src/models/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ pub struct User {
pub site_admin: bool,
pub name: String,
pub company: Option<String>,
pub blog: String,
pub location: String,
pub blog: Option<String>,
pub location: Option<String>,
pub email: Option<String>,
pub hireable: Option<bool>,
pub bio: String,
pub bio: Option<String>,
#[serde(rename = "twitter_username")]
pub twitter_username: String,
pub twitter_username: Option<String>,
#[serde(rename = "public_repos")]
pub public_repos: i64,
#[serde(rename = "public_gists")]
Expand Down

0 comments on commit 7ef90e7

Please sign in to comment.