Skip to content

Commit

Permalink
Release: prepare v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Jun 21, 2024
1 parent 1d91a5d commit e47d1f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ All notable changes to this project will be documented in this file.

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.3.0)
## [1.3.0] - 2024-06-21
### Added
- [#39: Add `AbsolutePath::RelativeTo`](https://github.com/ForNeVeR/TruePath/issues/39).

Thanks to @ronimizy.
- `IPath::IsPrefixOf` to check path prefixes.

Thanks to @babaruh.
Expand Down Expand Up @@ -85,4 +88,5 @@ This is the first published version of the package. It doesn't contain any featu
[1.1.0]: https://github.com/ForNeVeR/TruePath/compare/v1.0.0...v1.1.0
[1.2.0]: https://github.com/ForNeVeR/TruePath/compare/v1.1.0...v1.2.0
[1.2.1]: https://github.com/ForNeVeR/TruePath/compare/v1.2.0...v1.2.1
[Unreleased]: https://github.com/ForNeVeR/TruePath/compare/v1.2.1...HEAD
[1.3.0]: https://github.com/ForNeVeR/TruePath/compare/v1.2.1...v1.3.0
[Unreleased]: https://github.com/ForNeVeR/TruePath/compare/v1.3.0...HEAD
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT

<Project>
<PropertyGroup Label="Packaging">
<Version>1.2.1</Version>
<Version>1.3.0</Version>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>2024 TruePath contributors &lt;https://github.com/ForNeVeR/TruePath&gt;</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Aside from the strict types, the following features are supported for the paths:
- `IPath::IsPrefixOf` to check path prefixes;
- `IPath::StartsWith` to check if the current path starts with a specified path;
- `LocalPath::IsAbsolute` to check the path kind (since it supports both kinds);
- `LocalPath::RelativeTo` to get a relative part between two paths, if possible;
- `AbsolutePath::RelativeTo`, `LocalPath::RelativeTo` to get a relative part between two paths, if possible;
- extension methods on `IPath`:
- `GetExtensionWithDot` and `GetExtensionWithoutDot` to get the file extension with or without the leading dot (note that `GetExtensionWithDot` will behave differently for paths ending with dots and paths without dot at all);
- `GetFileNameWithoutExtension` to get the file name without the extension (and without the trailing dot, if any)
Expand Down

0 comments on commit e47d1f5

Please sign in to comment.