Skip to content

Commit 63e9a63

Browse files
committed
[ Add ] version 0.9.6
1 parent 0df4ed4 commit 63e9a63

File tree

6 files changed

+13
-21
lines changed

6 files changed

+13
-21
lines changed

CHANGELOG.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# ChangeLogs
22

3-
## 0.9.4
4-
5-
- Major optimization of the speed of the localization process.
6-
- Add support for JSON configuration files. (default is YAML)
7-
- Optimization in the AI engine.
8-
- Bug Fixes
9-
- Minor behavior changes.
10-
113
## 0.8.1
124

135
- Changed the account creation command from `apiKey` to `create` for more consistency.
@@ -35,3 +27,12 @@
3527
## 0.9.43
3628

3729
- Exposed fully FREE beta version, for BETA testing and feedbacks.
30+
- Major optimization of the speed of the localization process.
31+
- Add support for JSON configuration files. (default is YAML)
32+
- Optimization in the AI engine.
33+
- Bug Fixes
34+
- Minor behavior changes.
35+
36+
## 0.9.6
37+
38+
- Added support for the AI instruction field which allow for your own custom instructions to be executed during the localization process.

lib/src/commands/config_command/sub_commands/create_command.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ import 'dart:io';
44
import 'package:args/command_runner.dart';
55
import 'package:langsync/src/etc/controllers/config_file.dart';
66
import 'package:langsync/src/etc/extensions.dart';
7+
import 'package:langsync/src/etc/models/config.dart';
78
import 'package:langsync/src/etc/networking/client.dart';
89
import 'package:mason_logger/mason_logger.dart';
910

10-
import '../../../etc/models/config.dart';
11-
1211
class ConfigCreateCommand extends Command<int> {
1312
ConfigCreateCommand({
1413
required this.logger,

lib/src/etc/models/config.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'package:equatable/equatable.dart';
2-
import 'package:langsync/src/etc/extensions.dart';
32
import 'package:yaml/yaml.dart';
43

54
class LangSyncConfig extends Equatable {

lib/src/etc/networking/client.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import 'dart:convert';
22
import 'dart:io';
33
import 'package:langsync/src/etc/models/api_key_res.dart';
4-
import 'package:langsync/src/etc/models/config.dart';
54
import 'package:langsync/src/etc/models/lang_output.dart';
65
import 'package:langsync/src/etc/models/operation.dart';
76
import 'package:langsync/src/etc/models/result_locale.dart';
8-
import 'package:langsync/src/etc/models/user_info.dart';
97
import 'package:langsync/src/etc/networking/client_boilerplate.dart';
108
import 'package:langsync/src/version.dart';
119

@@ -22,9 +20,7 @@ class NetClient extends NetClientBoilerPlate {
2220
required Iterable<String> langs,
2321
required String apiKey,
2422
required String operationId,
25-
bool includeOutput = false,
26-
required int? languageLocalizationMaxDelay,
27-
required String? instruction,
23+
required int? languageLocalizationMaxDelay, required String? instruction, bool includeOutput = false,
2824
}) {
2925
return sseStreamReq<List<LangSyncServerSSE>>(
3026
'/process-translation',
@@ -72,7 +68,7 @@ class NetClient extends NetClientBoilerPlate {
7268
'/file-operation-of-user',
7369
'GET',
7470
{
75-
'Authorization': 'Bearer ${apiKey}',
71+
'Authorization': 'Bearer $apiKey',
7672
},
7773
{
7874
'operationId': outputoperationId,

lib/src/etc/utils.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import 'dart:io';
22
import 'dart:math';
33

4-
import 'package:langsync/src/etc/extensions.dart';
5-
import 'package:langsync/src/etc/networking/client.dart';
6-
import 'package:mason_logger/mason_logger.dart';
74

85
final utils = Utils();
96

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: langsync
22
description: A Very Good Project created by Very Good CLI.
3-
version: 0.9.43
3+
version: 0.9.6
44
homepage: https://langsync.app
55
repository: https://github.com/LangSync/cli
66

0 commit comments

Comments
 (0)