Skip to content

Commit

Permalink
chore: Release v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Oct 26, 2024
1 parent 82a7a1b commit a5f16af
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 3 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
## [0.8.0] - 2024-10-26

### Features

- *(crate)* Implement `From<String>` for option types
- Promote only TR implementation to 'TDK' style guide
- *(crate)* Specify new `Decasify` trait
- *(crate)* Implement `Decasify` trait for commonn types
- *(lua)* Implement `FromLua` for relevant crate types
- *(cli)* Improve console error message output with Snafu

### Bug Fixes

- *(lua)* Make sure LuaRock identifies its version even when sideloaded

### Chore

- *(crate)* [**breaking**] Stop exporting `Segment` type

### Refactor

- *(crate)* [**breaking**] Change out anyhow for snafu errors in library
- *(crate)* [**breaking**] Flatten modules to simplify public API

### Refator

- [**breaking**] Rename `to_*()` functions as just `*()`

## [0.7.6] - 2024-10-22

### Bug Fixes
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.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "decasify"
version = "0.7.6"
version = "0.8.0"
authors = ["Caleb Maclennan <caleb@alerque.com>"]
edition = "2021"
rust-version = "1.73.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ In your `Cargo.toml` file.

```toml
[dependencies]
decasify = "0.7"
decasify = "0.8"
```

Then use the crate functions and types in your project something like this:
Expand Down
32 changes: 32 additions & 0 deletions rockspecs/decasify-0.8.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
rockspec_format = "1.0"
package = "decasify"
version = "0.8.0-1"

source = {
url = "git+https://github.com/alerque/decasify.git",
dir = "decasify",
tag = "v0.8.0",
}

description = {
summary = "Lua C module built from the Rust decasify crate to cast strings to title-case according to locale specific style guides including Turkish support",
detailed = [[
A Lua library exposed as a C module built from the Rust decasify crate.
Provides casing functions for long strings (not just individual words)
supporting the grammatical style guides of various locales including Turkish.
]],
license = "LGPL-3.0-only",
homepage = "https://github.com/alerque/decasify",
}

dependencies = {
"lua >= 5.1",
"luarocks-build-rust-mlua >= 0.2.3-1",
}

build = {
type = "rust-mlua",
modules = {
"decasify",
},
}
35 changes: 35 additions & 0 deletions rockspecs/decasify.nvim-0.8.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
rockspec_format = "3.0"
package = "decasify.nvim"
version = "0.8.0-1"

source = {
url = "git+https://github.com/alerque/decasify.git",
dir = "decasify",
tag = "v0.8.0",
}

description = {
summary = "NeoVIM plugin wrapping decasify crate to cast strings to title-case according to locale specific style guides including Turkish support",
detailed = [[
A NeoVIM plugin that wraps the decasify library into an editor command that can easily be used in bindings to
provide casing functions for long strings (not just individual words) supporting the grammatical style guides of
various locales including Turkish.
]],
license = "LGPL-3.0-only",
homepage = "https://github.com/alerque/decasify",
issues_url = "https://github.com/alerque/decasify/issues",
maintainer = "Caleb Maclennan <caleb@alerque.com>",
labels = { "i18n" },
}

dependencies = {
"lua >= 5.1",
"decasify",
}

build = {
type = "builtin",
copy_directories = {
"plugin",
},
}
32 changes: 32 additions & 0 deletions rockspecs/decasify.sile-0.8.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
rockspec_format = "1.0"
package = "decasify.sile"
version = "0.8.0-1"

source = {
url = "git+https://github.com/alerque/decasify.git",
dir = "decasify",
tag = "v0.8.0",
}

description = {
summary = "SILE package wrapping decasify crate to cast strings to title-case according to locale specific style guides including Turkish support",
detailed = [[
A SILE package that wraps the decasify library into typesetting commands that can easily be used to re-case
prose content (not just individual words) supporting the grammatical style guides of
various locales including Turkish.
]],
license = "LGPL-3.0-only",
homepage = "https://github.com/alerque/decasify",
}

dependencies = {
"lua >= 5.1",
"decasify",
}

build = {
type = "builtin",
modules = {
["sile.packages.decasify"] = "sile/decasify.lua",
},
}

0 comments on commit a5f16af

Please sign in to comment.