Skip to content

Commit

Permalink
[ Add ] version 0.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
anasfik committed Dec 1, 2023
1 parent 0df4ed4 commit 63e9a63
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 21 deletions.
17 changes: 9 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# ChangeLogs

## 0.9.4

- Major optimization of the speed of the localization process.
- Add support for JSON configuration files. (default is YAML)
- Optimization in the AI engine.
- Bug Fixes
- Minor behavior changes.

## 0.8.1

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

- Exposed fully FREE beta version, for BETA testing and feedbacks.
- Major optimization of the speed of the localization process.
- Add support for JSON configuration files. (default is YAML)
- Optimization in the AI engine.
- Bug Fixes
- Minor behavior changes.

## 0.9.6

- Added support for the AI instruction field which allow for your own custom instructions to be executed during the localization process.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import 'dart:io';
import 'package:args/command_runner.dart';
import 'package:langsync/src/etc/controllers/config_file.dart';
import 'package:langsync/src/etc/extensions.dart';
import 'package:langsync/src/etc/models/config.dart';
import 'package:langsync/src/etc/networking/client.dart';
import 'package:mason_logger/mason_logger.dart';

import '../../../etc/models/config.dart';

class ConfigCreateCommand extends Command<int> {
ConfigCreateCommand({
required this.logger,
Expand Down
1 change: 0 additions & 1 deletion lib/src/etc/models/config.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:equatable/equatable.dart';
import 'package:langsync/src/etc/extensions.dart';
import 'package:yaml/yaml.dart';

class LangSyncConfig extends Equatable {
Expand Down
8 changes: 2 additions & 6 deletions lib/src/etc/networking/client.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import 'dart:convert';
import 'dart:io';
import 'package:langsync/src/etc/models/api_key_res.dart';
import 'package:langsync/src/etc/models/config.dart';
import 'package:langsync/src/etc/models/lang_output.dart';
import 'package:langsync/src/etc/models/operation.dart';
import 'package:langsync/src/etc/models/result_locale.dart';
import 'package:langsync/src/etc/models/user_info.dart';
import 'package:langsync/src/etc/networking/client_boilerplate.dart';
import 'package:langsync/src/version.dart';

Expand All @@ -22,9 +20,7 @@ class NetClient extends NetClientBoilerPlate {
required Iterable<String> langs,
required String apiKey,
required String operationId,
bool includeOutput = false,
required int? languageLocalizationMaxDelay,
required String? instruction,
required int? languageLocalizationMaxDelay, required String? instruction, bool includeOutput = false,
}) {
return sseStreamReq<List<LangSyncServerSSE>>(
'/process-translation',
Expand Down Expand Up @@ -72,7 +68,7 @@ class NetClient extends NetClientBoilerPlate {
'/file-operation-of-user',
'GET',
{
'Authorization': 'Bearer ${apiKey}',
'Authorization': 'Bearer $apiKey',
},
{
'operationId': outputoperationId,
Expand Down
3 changes: 0 additions & 3 deletions lib/src/etc/utils.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import 'dart:io';
import 'dart:math';

import 'package:langsync/src/etc/extensions.dart';
import 'package:langsync/src/etc/networking/client.dart';
import 'package:mason_logger/mason_logger.dart';

final utils = Utils();

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langsync
description: A Very Good Project created by Very Good CLI.
version: 0.9.43
version: 0.9.6
homepage: https://langsync.app
repository: https://github.com/LangSync/cli

Expand Down

0 comments on commit 63e9a63

Please sign in to comment.