f3ath / change Goto Github PK
View Code? Open in Web Editor NEWChangelog manipulation for Dart
License: MIT License
Changelog manipulation for Dart
License: MIT License
(it would also be really really nice if
describe
allowed getting only the body, without the title and the link at the end. perhaps as an optional flag. but maybe thats better for another issue)
Originally posted by @clragon in f3ath/cider#48 (comment)
By following official doc in change package, I've added CHANGELOG.md file in root directory.
When i try in a Elevated button onTap function
import 'dart:io';
import 'package:change/change.dart';
import 'package:flutter/material.dart';
..........
ListTile(
leading: const Icon(LucideIcons.sparkles),
title: const Text('Changelog'),
onTap: () {
final file = File('CHANGELOG.md');
final log = parseChangelog(file.readAsStringSync());
final latest = log.history().last;
debugPrint(
'Changelog contains ${log.history().length} releases.');
debugPrint('The latest version is ${latest.version}');
debugPrint('released on ${latest.date}');
debugPrint(
'and containing ${latest.changes().length} change(s).');
},
),
..........
Error log says that I/flutter (19066): PathNotFoundException: Cannot open file, path = 'CHANGELOG.md' (OS Error: No such file or directory, errno = 2)
So, how to solve this error?
I like adding freetext to my release notes to summarize the technical added/fixed sections for technical less versed user, as shown below. Unfortunately cider release
strips these sections upon rewriting the file.
## [1.1.0] - 2023-06-07
Install immediately, super important bug fix
### Fixed
- xyz
## [1.1.0] - 2023-06-07
Massive performance increase
### Added
- blah
- blub
## [1.0.0] - 2023-06-07
This release stabalized everything, the api is now considered feature complete.
### Added
- Minimum viable product release
Does the "Unreleased" header need to be present even when its content is empty?
Hello,
When using it for the web following the example I get the error "Unsupported operation: _Namespace"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.