Skip to content

Commit

Permalink
build: bump version to 0.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mensch committed Sep 20, 2022
1 parent 7b86121 commit bbd3673
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,37 @@

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog].
and this project adheres to [Semantic Versioning].
The format is based on Keep a Changelog.
and this project adheres to Semantic Versioning.

## [Unreleased]

## [0.2.0]

### Added

- Added custom exceptions.
- Added `en` language tests.
- Added addition and subtraction grammar.
- Added shorthand 'd' for day and 'w' for week.
- Added support for returning `double` and `Duration` from `parse`.
- Added `tryParse` which is a nullable alternative to `parse`.
- Adds support for duration "from" datetime
- Note that raw datetime parsing (such as 00:00) is still missing
- Added ability to map to comma from data.

### Changed

- Unrecognized tokens now return [TokenType.CT_ERROR].
- Terminate on error in compiler.
- Value no longer relies on subclasses.

### Fixes

- Fixed rechron_dev not matching with library declaration.
- Fixed dependency linking from rechron to rechron_dev.
- Removed aliases from grammar file.
- Removed unused 'and' token.

## 0.1.1-dev.1

Expand Down
4 changes: 2 additions & 2 deletions rechron/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: rechron
description: Dart library for parsing relative date and time.
version: 0.1.1-dev.1
version: 0.2.0
repository: https://github.com/mensch272/rechron

environment:
sdk: '>=2.17.6 <3.0.0'

dependencies:
benchmark_harness: ^2.1.0
rechron_core: ^0.1.1-dev.1
rechron_core: ^0.2.0

dependency_overrides:
rechron_core:
Expand Down
2 changes: 1 addition & 1 deletion rechron_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: rechron_core
description: This library provides core functionality for rechron.
version: 0.1.1-dev.1
version: 0.2.0
repository: https://github.com/mensch272/rechron

environment:
Expand Down
2 changes: 1 addition & 1 deletion rechron_dev/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: rechron_dev
description: This library contains generators used in rechron.
version: 0.1.1-dev.1
version: 0.2.0
repository: https://github.com/mensch272/rechron

publish_to: none
Expand Down

0 comments on commit bbd3673

Please sign in to comment.