# rivnet 0.6.0

## Major changes

- `get_riverweight`: function added.
- `rast_riverweight`: function added.

# rivnet 0.5.0

## Major changes

- `river_to_shapefile`: function added.
- `contour_to_shapefile`: function added.

## Minor changes

- `extract_river`: argument `n_processes` cannot be greater than the number of available cores.
- `locate_site`: call to graphical parameters removed. Exported value `par` is now deprecated (because useless).

# rivnet 0.4.2

## Minor changes

- Dependency to `traudem` >= 1.0.3 is added.

# rivnet 0.4.1

## Minor changes

- BugReports link added in `DESCRIPTION`.
- `extract_river`: improved title appearance in figures when `showPlot = TRUE`.
- `plot`: option `type = "contour"` and relative example added.

# rivnet 0.4.0

## Major changes

- `extract_river`: temporary files generated by TauDEM are deleted as soon as they are no longer 
needed.

## Minor changes

- `extract_river`: argument `displayUpdates` accepts numeric values 0, 1, 2.
- `plot`: example with use of `terra::north` and `terra::sbar` added.
- `points_colorscale`: bug fixed for `Inf` and `-Inf` values.

# rivnet 0.3.4

## Minor changes

- `extract_river`: a warning is thrown whenever `EPSG` identifies a geographic projection system.
- `extract_river`: option `showPlot = TRUE` shows an additional plot with a zoom-in in the outlet 
area, which can help diagnose issues in catchment delineation.
- `points_colorscale`: Argument `...` added.

# rivnet 0.3.3

## Minor changes

- `DESCRIPTION` updated with DOI of published article.
- `CITATION` added. 

# rivnet 0.3.2

## Minor changes

- `extract_river`: option `args_get_elev_raster` is added.

# rivnet 0.3.1

## Major changes

- `points_colorscale`: function added.

# rivnet 0.3.0

## Major changes

- `river_to_AEM`: function added.

# rivnet 0.2.1

## Minor changes

- `extract_river`: `curl::has_internet()` check by `elevatr::get_elev_raster` is overridden.
- `extract_river`: crs attributed when outlet shapefile is written in temporary directory.
- `locate_site`: `par` is exported when `showPlot = TRUE`. Example updated.

# rivnet 0.2.0

## Major changes

- `"[["`, `"[[<-"` methods for `river` class defined and examples added. 
- `path_velocities_river`: C++ implementation added.
- Dependency on `Rcpp` added.
- `covariate_river`: argument `overwrite` added.
- `locate_site`: site coordinates can be passed as a list. Example added.

## Minor changes

- Info on installation from CRAN updated in vignette.
- `inst/extdata/temperature.tif` changed.
- `extract_river`: a warning is thrown when the WGS84 (`EPSG = 4326`) projection system is selected.

## Bugs solved

- `extract_river`: multiple catchment shapes are shown when `showPlot = TRUE` 
and multiple, non-neighboring catchments are extracted.
- `covariate_river`: fixed bug for raster file containing `NA` values.
