Skip to content

Commit

Permalink
v0.5.0 (#52)
Browse files Browse the repository at this point in the history
* Antes de la regex

* Fixed migration never run it again

* Changed Size model

* Added get_size_by_title_and_type query

* added get_sizes_for_category

* small change

* Bump v0.5

* Added changelog

* making more flexible the api

---------

Co-authored-by: Pepe Márquez Romero <[email protected]>
  • Loading branch information
0xCAB0 and pxp9 authored Aug 5, 2023
1 parent 0e1ac1e commit 519f9cc
Show file tree
Hide file tree
Showing 15 changed files with 5,191 additions and 614 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**/target
Cargo.lock
.vscode/
/**/results/
/**/results/
docker/query.sh
19 changes: 16 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# Changelog

## 0.5.0 (2023-08-04) [#52](https://github.com/TuTarea/vinted-rs/pull/52/)

## Improved

### Size struct

Added more fields:

- title name: Actual size, as `XL` 🇪🇸 🇫🇷 🇬🇧
- size_type: More information about the size,as `Jean's sizes` 🇪🇸 🇫🇷 🇬🇧
- category_id: Father category related

## 0.4.0 (2023-07-27) [#47](https://github.com/TuTarea/vinted-rs/pull/47/)

## Improved

- Remove `strip_option` in `Filter` struct for compatilbility.

## 0.3.3 (2023-07-26) [#45](https://github.com/TuTarea/vinted-rs/pull/45/)
Expand Down Expand Up @@ -32,14 +45,14 @@

- CookieError now returns the Status Code of the requests [#38](https://github.com/TuTarea/vinted-rs/pull/38/)

## 0.3.0 (2023-07-15) [#34]((https://github.com/TuTarea/vinted-rs/pull/34/))
## 0.3.0 (2023-07-15) [#34](<(https://github.com/TuTarea/vinted-rs/pull/34/)>)

### Added

- Filter by Currency implemented - [#32](https://github.com/TuTarea/vinted-rs/pull/32/)
- Example project using advanced filters feature - [#33]((https://github.com/TuTarea/vinted-rs/pull/33/))
- Example project using advanced filters feature - [#33](<(https://github.com/TuTarea/vinted-rs/pull/33/)>)
- CHANGELOG file

### Improved

- Documentation for `filter` module - [#35]((https://github.com/TuTarea/vinted-rs/pull/35/))
- Documentation for `filter` module - [#35](<(https://github.com/TuTarea/vinted-rs/pull/35/)>)
15 changes: 9 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[package]
name = "vinted-rs"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
repository = "https://github.com/TuTarea/vinted-rs"
authors = ["Pepe Márquez <[email protected]>" , "Álvaro Cabo <[email protected]>"]
authors = [
"Pepe Márquez <[email protected]>",
"Álvaro Cabo <[email protected]>",
]
description = "An async Vinted API wrapper"
license = "MIT"
readme = "README.md"
Expand All @@ -16,24 +19,24 @@ doctest = false

[features]
default = ["advanced_filters"]
advanced_filters = ["bb8-postgres", "postgres-types"]
advanced_filters = ["bb8-postgres", "postgres-types"]
minimal = []


[dependencies]
reqwest = { version = "0.11", features = ["json", "cookies"] }
tokio = { version = "1", features = ["full"] }
serde = {version = "1.0", features = ["serde_derive"] }
serde = { version = "1.0", features = ["serde_derive"] }
thiserror = "1.0"
once_cell = "1.18"
rand = "0.8"
reqwest_cookie_store = "0.6"
typed-builder = "0.15"
fang = { version = "0.10.3" , features = ["asynk"], default-features = false }
fang = { version = "0.10.3", features = ["asynk"], default-features = false }

[dependencies.bb8-postgres]
version = "0.8"
features = ["with-serde_json-1" , "with-uuid-1" , "with-chrono-0_4"]
features = ["with-serde_json-1", "with-uuid-1", "with-chrono-0_4"]
optional = true

[dependencies.postgres-types]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Via `cargo` you can add the library to your project's `Cargo.toml`

```toml
[dependencies]
vinted-rs = "0.4.0"
vinted-rs = "0.5.0"
```

## DB setup
Expand Down
Loading

0 comments on commit 519f9cc

Please sign in to comment.