Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
f3ath committed Dec 30, 2023
1 parent 7c1c322 commit f224f37
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,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).

## [0.7.0] - 2023-12-29
### Changed
- Renamed `Nodes` to `NodeList`
- Bumped the CTS to the latest version

## [0.6.6] - 2023-09-23
### Fixed
- Logical expressions should be allowed in function arguments
Expand Down Expand Up @@ -176,6 +181,7 @@ Previously, no modification would be made and no errors/exceptions thrown.
### Added
- Basic design draft

[0.7.0]: https://github.com/f3ath/jessie/compare/0.6.6...0.7.0
[0.6.6]: https://github.com/f3ath/jessie/compare/0.6.5...0.6.6
[0.6.5]: https://github.com/f3ath/jessie/compare/0.6.4...0.6.5
[0.6.4]: https://github.com/f3ath/jessie/compare/0.6.3...0.6.4
Expand Down
2 changes: 1 addition & 1 deletion lib/src/expression/nodes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SingularNodeList with NodeList {
Iterator<Node<Object?>> get iterator => _nodes.iterator;
}

extension NodesExt on NodeList {
extension NodeListExt on NodeList {
Maybe get asValue => length == 1 ? Just(single.value) : const Nothing();

bool get asLogical => isNotEmpty;
Expand Down
4 changes: 2 additions & 2 deletions lib/src/fun/fun.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ abstract interface class Fun {
/// The return type [R] and the argument type [T] must be one of the following:
/// - [bool]
/// - [Maybe]
/// - [Nodes]
/// - [NodeList]
abstract interface class Fun1<R extends Object, T extends Object> extends Fun {
/// Applies the given arguments.
/// This method MUST throw an [Exception] on invalid args.
Expand All @@ -19,7 +19,7 @@ abstract interface class Fun1<R extends Object, T extends Object> extends Fun {
/// The return type [R] and the argument types [T1], [T2] must be one of the following:
/// - [bool]
/// - [Maybe]
/// - [Nodes]
/// - [NodeList]
abstract interface class Fun2<R extends Object, T1 extends Object,
T2 extends Object> extends Fun {
/// Applies the given arguments.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: json_path
version: 0.6.6
version: 0.7.0
description: Implementation of JSONPath expressions like "$.store.book[2].price". Reads and writes values in parsed JSON objects.
homepage: "https://github.com/f3ath/jessie"

Expand Down

0 comments on commit f224f37

Please sign in to comment.