Skip to content

Commit

Permalink
removing Compat
Browse files Browse the repository at this point in the history
  • Loading branch information
schlichtanders committed Jul 10, 2023
1 parent 829e0fb commit 1613947
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.1.2] - 2023-07-10
### Changed
- Compat compat now includes version 4
- removed Compat
- upgraded Setfield dependency to include version 1

## [1.1.1] - 2022-07-01
### Added
- in case of a MethodError, a `WhereTraitsMethodError` is thrown instead which adds
- in case of a MethodError, a `WhereTraitsMethodError` is thrown instead which adds
detailed information about the available traits.
- `UndefVarError` is thrown if variables are used within the traits definition which are
obvious typos.
Expand All @@ -20,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- `@traits_order` macro was added for resolving ambiguity among traits definition in a explicit way
- nice error reporting in case a traits ambiguity is found, including concrete `@traits_order` suggestion
- nice error reporting in case a traits ambiguity is found, including concrete `@traits_order` suggestion
- the underlying ambiguity handling was implemented respectively

### Changed
Expand Down
20 changes: 9 additions & 11 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name = "WhereTraits"
uuid = "c9d4e05b-6318-49cb-9b56-e0e2b0ceadd8"
authors = ["Sahm Stephan <[email protected]>"]
version = "1.1.1"
version = "1.1.2"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
DataTypesBasic = "83eed652-29e8-11e9-12da-a7c29d64ffc9"
ExprParsers = "c5caad1f-83bd-4ce8-ac8e-4b29921e994e"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
Expand All @@ -19,16 +18,15 @@ SimpleMatch = "a3ae8450-d22f-11e9-3fe0-77240e25996f"
StructEquality = "6ec83bb0-ed9f-11e9-3b4c-2b04cb4e219c"

[compat]
Compat = "2.1, 3, 4"
DataTypesBasic = "1.0, 2"
ExprParsers = "1.2"
Graphs = "1.6"
DataTypesBasic = "1, 2"
ExprParsers = "1"
Graphs = "1"
IterTools = "1"
MetaGraphs = "0.7"
Pipe = "1.3"
ProxyInterfaces = "1.0"
Reexport = "1.2"
Pipe = "1"
ProxyInterfaces = "1"
Reexport = "1"
Setfield = "0.7, 0.8, 1"
SimpleMatch = "1.0"
StructEquality = "2.0"
SimpleMatch = "1"
StructEquality = "2"
julia = "1.6"
6 changes: 2 additions & 4 deletions src/WhereTraits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ module WhereTraits
export @traits, @traits_order, @traits_test, @traits_store, @traits_show_implementation
export WhereTraitsException, WhereTraitsAmbiguityError, WhereTraitsMethodError

using Compat

@Base.kwdef mutable struct _Config
auto_documentation::Bool = true
Base.@kwdef mutable struct _Config
auto_documentation::Bool = true
end
# TODO documentation of struct fields does not seem to work - hence we document the constant instead

Expand Down

2 comments on commit 1613947

@schlichtanders
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/87194

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.2 -m "<description of version>" 1613947a12aef00d4fa317d8a24a910f95884e63
git push origin v1.1.2

Please sign in to comment.