Skip to content

Commit

Permalink
Bump the version to 0.18.0 and add a changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Jan 5, 2024
1 parent 24decff commit 8ce46b9
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
Manifest.toml
/test/Lib*.jl
/test/build
/test/products
/test/products
docs/src/_generated_changelog.md
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Clang"
uuid = "40e3b903-d033-50b4-a0cc-940c62c95e31"
version = "0.17.8"
version = "0.18.0"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand Down
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[deps]
Changelog = "5217a498-cd5d-4ec6-b8c2-9b85a09b6e3e"
Clang = "40e3b903-d033-50b4-a0cc-940c62c95e31"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
10 changes: 10 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
using Clang
using Clang.LibClang
using Documenter
import Changelog


Changelog.generate(
Changelog.Documenter(),
joinpath(@__DIR__, "src/changelog.md"),
joinpath(@__DIR__, "src/_generated_changelog.md"),
repo="JuliaInterop/Clang.jl"
)

makedocs(;
modules=[Clang, Clang.LibClang],
Expand All @@ -18,6 +27,7 @@ makedocs(;
"LibClang Tutorial" => "tutorial.md",
"LibClang Wrapper API Reference" => "libclang.md",
"Clang API Reference" => "api.md",
"Changelog" => "_generated_changelog.md"
],
warnonly=:missing_docs
)
Expand Down
18 changes: 18 additions & 0 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog

This documents notable changes in Clang.jl. The format is based on [Keep a
Changelog](https://keepachangelog.com).

## [v0.18.0] - 2024-01-05

### Added

- Doxygens `@deprecated` command will now be translated to a `!!! compat`
admonition ([#460]).

### Breaking

- The `callback_documentation` callback will be called whenever it is set, and
any docstring parsed from the headers will be passed to it ([#458],
[#462]). The signature of the callback changed from `f(node::ExprNode)` to
`f(node::ExprNode, doc::Vector{String})`.

0 comments on commit 8ce46b9

Please sign in to comment.