Skip to content

Commit 1df2a58

Browse files
committed
release: 0.3.7
1 parent 50980d1 commit 1df2a58

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 0.3.7
4+
5+
- Featyre: add `rankingTimePrecision` and `rankingTimeRounding` field for SorterICPC config
6+
37
## 0.3.6
48

59
- Feature: add `markers` field for user and deprecate `marker` field

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Standard Ranklist (srk) is a json format to describe many kinds of ranklists lik
44

55
With srk, most of programming contest ranklists can be described in a standard format. It's easy to customize display style with different renderers and share everywhere.
66

7-
Version: `0.3.6`
7+
Version: `0.3.7`
88

99
## Files
1010

demo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "general",
3-
"version": "0.3.6",
3+
"version": "0.3.7",
44
"remarks": "This is a demo ranklist.",
55
"contributors": [
66
"bLue <mail@example.com> (https://example.com/)"

demo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as srk from '.';
22

33
const ranklist: srk.Ranklist = {
44
type: 'general',
5-
version: '0.3.6',
5+
version: '0.3.7',
66
remarks: 'This is a demo ranklist.',
77
contributors: ['bLue <mail@example.com> (https://example.com/)'],
88
contest: {

index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright (c) algoUX. All rights reserved.
44
***************************************************************************** */
55

66
export type Type = 'general';
7-
export type Version = '0.3.6';
7+
export type Version = '0.3.7';
88

99
//#region common
1010

@@ -591,12 +591,14 @@ export interface SorterICPC extends SorterBase {
591591
*
592592
* Using lower precision means there is a higher probability of ranking ties.
593593
* @defaultValue No converting, based on raw total time after calculating ranklist
594+
* @since 0.3.7
594595
*/
595596
rankingTimePrecision?: TimeUnit;
596597

597598
/**
598599
* The rounding method of converting time unit to specified time precision when calculating rankings.
599600
* @defaultValue 'floor'
601+
* @since 0.3.7
600602
*/
601603
rankingTimeRounding?: 'floor' | 'ceil' | 'round';
602604
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@algoux/standard-ranklist",
3-
"version": "0.3.6",
3+
"version": "0.3.7",
44
"description": "Standard Ranklist",
55
"types": "index.d.ts",
66
"scripts": {

0 commit comments

Comments
 (0)