Skip to content

Releases: blurgyy/dt

v0.7.0

25 Jan 06:09
v0.7.0
01f956b
Compare
Choose a tag to compare

[0.7.0] - 2022-01-25

Bug Fixes

  • Copy source file's permissions to destination
  • Non-existent target path's permission was read when symlinking

Documentation

  • Add explanation of a "group"
  • Proof-read API docs
  • Add examples for the templating feature

Features

  • Add templating utility via [context] section in config file

Miscellaneous Tasks

  • Remove unused clippy exclude macro
  • Remove unused clippy exclude macro
  • Better error message when encoutering unreadable a source item
  • Fix typo "conig" -> "config"

Refactor

  • Try to avoid rendering on binary files
  • Use handlebars instead of minijinja as templating engine
  • Make method DTConfig::expand_tilde behave functionally
  • Minor optimization on staging directory check
  • Infer default values for [global] section from helper types
  • Register templates into a global registry for later rendering
  • Drop templated config key, check is_templated on the fly
  • Deserialize scope key as default value when it's not present

Styling

  • Resolve cargo-clippy warnings

Ops

  • Run tests on all branches except for branch "docs"

v0.6.3

15 Jan 06:56
v0.6.3
8e1c134
Compare
Choose a tag to compare

[0.6.3] - 2022-01-15

Bug Fixes

  • Staging path did not contain group name as namespace

Documentation

  • Bump dependencies

v0.6.2

15 Jan 06:13
v0.6.2
e314938
Compare
Choose a tag to compare

[0.6.2] - 2022-01-15

Documentation

  • Bump to v0.6.1
  • Wrong link name and broken link due to line breaking
  • Update descriptions for default staging directory

Miscellaneous Tasks

  • Simplify function calls in dt-cli

Performance

  • Reimplement item populating as a method from trait DTItem
  • Reimplement item populating (dry run) as a method from DTItem

Build

  • Update color-eyre requirement in /dt-core

Ops

  • Strip "linux" from names of released binaries
  • Use armv7 as architecture name for armv7 builds

v0.6.1

05 Jan 12:52
v0.6.1
8ea9b3a
Compare
Choose a tag to compare

[0.6.1] - 2022-01-05

Documentation

  • Update example for scope in API docs for dt-core
  • Add documentations for the rename key
  • Better illustration structure for introduction of filename manip.
  • Add missing long option for showing version info

Features

  • Allow groups to have duplicated names to enable finer control

Miscellaneous Tasks

  • Only include executable crates in "command-lint-utilities" category
  • Use XDG_DATA_HOME instead of XDG_CACHE_HOME to store staged items
  • Remove duplicated keywords from dt-cli/Cargo.toml

Performance

  • Reduce cloning operations when trying to get groups' attributes

Styling

  • Quote path in tracing message when renaming items

Ops

  • Use only tag as release name
  • Remove all symbols with strip
  • Release binaries for armv7l and aarch64

Release v0.6.0

26 Dec 15:21
v0.6.0
ea28ace
Compare
Choose a tag to compare

[0.6.0] - 2021-12-26

Features

Documentation

  • Revise API docs for regex matching and replacing utility
  • Default staging path was ambiguous in configuration guide

Styling

  • Make tracing information for match and replace more readable

Release v0.5.2

16 Dec 02:41
v0.5.2
cf66788
Compare
Choose a tag to compare

[0.5.2] - 2021-12-16

Bug Fixes

  • Attempted to read staging file even if it did not exist

Documentation

  • Use larger open graph title image
  • Bump dependencies
  • Update text in header link
  • Bump dependencies
  • Add "^/features" to activeMatched paths for header "Overview"

Miscellaneous Tasks

  • Use comprehensive command line argument name

Styling

  • Resolve warnings generated by cargo-clippy

Release v0.5.1

06 Dec 02:23
v0.5.1
965d2b2
Compare
Choose a tag to compare

[0.5.1] - 2021-12-06

Performance

  • Skip overwriting destination files with identical contents as src

Documentation

  • Update docs domain to dt.cli.rs (Thanks @zackify for the awesome repo cli.rs)
  • Fix repository link in package.json
  • Add comprehensive documentations for the scope key
  • Move config examples of scope into hands-on guide
  • Add action link to quickly skip background subsection
  • Fix typos, add emphasizes, and improve grammars
  • Bump dependencies

Miscellaneous Tasks

Ops

  • Include build arch in file name of released binary

Release v0.5.0

26 Nov 14:22
v0.5.0
1ff56b6
Compare
Choose a tag to compare

[0.5.0] - 2021-11-26

Features

  • Specify optional desired group names without -l|--local-name

Bug Fixes

  • Not all bad globbing patterns were considered
  • Do not create staging directory when method is not "Symlink"
  • Should use target to determine conflicting groups

Documentation

  • Review API docs for DTScope
  • Update structure of documentation home page

Miscellaneous Tasks

  • Rephrase readme
  • Add missing punct in readme
  • Fix git clone remote in readme
  • Update roadmap

Ops

  • Include version info in file name of released binary

Release v0.4.0

16 Nov 15:47
v0.4.0
9a3d350
Compare
Choose a tag to compare

[0.4.0] - 2021-11-16

Features

  • Add priority control via the scope key

Performance

  • Only expand groups that are to be synced when -l is passed
  • Reduce useless fs operations by checking properly set symlinks

Bug Fixes

  • Do not try to read non-existent basedir
  • Method Copy did not work properly when target is a symlink
  • Do not create missing staging/target directory during dry run

Documentation

  • Add missing description and tests for DTItem::make_target
  • Strip redundant line

Miscellaneous Tasks

  • Bump dt-core version for dt-cli
  • Update roadmap
  • Remove unit test instructions
  • Update roadmap
  • Update readme

Refactor

  • Handle group name filtering before passing config to dt-core

Styling

  • Remove "Syncing" in log message throughout syncing

Testing

  • Add unit tests for priority controlling
  • Avoid boilerplate code in doc tests

Build

  • Minimize released binary size

Release v0.3.1

06 Nov 05:21
v0.3.1
4342329
Compare
Choose a tag to compare

[0.3.1] - 2021-11-06

Bug Fixes

  • Show error message about unreadable basedir

Documentation

  • Complete API docs of dt-core

Features

  • Manage item behaviours with trait DTItem
  • Only attempt to remove existing target/staging file when they are readonly
  • Warn about source that does not match anything

Refactor

  • Provide error types from dt-core
  • Make target path via trait DTItem
  • Remove useless condition
  • Use ! to negate boolean
  • Resolve warnings generated by cargo clippy

Styling

  • Resolve warnings generated by cargo-clippy
  • Quote paths in panic messages
  • Add trailing comma after last parameters of macros

Testing

  • Cover cases introduced from 8ccada2
  • Also clean up dummy file when test fails

Build

  • Add licenses to released assets