From 8ec86196fd36e6138405f775f63df62f3badf80a Mon Sep 17 00:00:00 2001 From: jusax23 Date: Sat, 16 Mar 2024 15:42:00 +0100 Subject: [PATCH] next version --- .gitignore | 6 +++++- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- example/pubspec.lock | 24 ++++++++++++------------ pubspec.yaml | 4 ++-- 5 files changed, 29 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 5454fab..dac36ae 100644 --- a/.gitignore +++ b/.gitignore @@ -49,4 +49,8 @@ flags.txt CMakeFiles cmake_install.cmake CMakeCache.txt -Makefile \ No newline at end of file +web/Makefile + +web/experiments +web/flutter_stockfish_plugin* +web/stockfish_data.bin \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 10d81cb..082f6c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 1.1.0 +Added Web Support, Example, Test +- Added simple test script. +- Changed example/example.dart to a flutter project +- Added web support +- more small fixes +- Added sse4.2 + ## 1.0.4 Restarting bug fixed. - Added the ability to restart stockfish. diff --git a/README.md b/README.md index 24ced75..d864ec7 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,10 @@ stockfish.dispose(); A complete Example can be found at [stockfish_chess_engine](https://github.com/loloof64/StockfishChessEngineFlutter). ## Web support -Web support is currently experimental and currently requires manuly adding assets. It uses a version of stockfish compiled with [emscripten](https://emscripten.org/). +Web support is currently experimental and requires manuly adding assets. It uses a version of stockfish compiled with [emscripten](https://emscripten.org/). Usage: -- Install `emscripten` and the the Environment-Variable `EMSDK` +- Install `emscripten` and set the the Environment-Variable `EMSDK` - Build the CMakeLists.txt in `web/` - Copy the following files to `web/stockfish/` in your project: - flutter_stockfish_plugin.js diff --git a/example/pubspec.lock b/example/pubspec.lock index 8947900..85a8489 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -100,7 +100,7 @@ packages: path: ".." relative: true source: path - version: "1.0.4" + version: "1.1.0" flutter_test: dependency: "direct dev" description: flutter @@ -110,26 +110,26 @@ packages: dependency: transitive description: name: leak_tracker - sha256: cdd14e3836065a1f6302a236ec8b5f700695c803c57ae11a1c84df31e6bcf831 + sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted - version: "10.0.3" + version: "10.0.0" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "9b2ef90589911d665277464e0482b209d39882dffaaf4ef69a3561a3354b2ebc" + sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "2.0.1" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: fd3cd66cb2bcd7b50dcd3b413af49d78051f809c8b3f6e047962765c15a0d23d + sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "2.0.1" lints: dependency: transitive description: @@ -243,10 +243,10 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.6.1" vector_math: dependency: transitive description: @@ -259,10 +259,10 @@ packages: dependency: transitive description: name: vm_service - sha256: a2662fb1f114f4296cf3f5a50786a2d888268d7776cf681aa17d660ffa23b246 + sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted - version: "14.0.0" + version: "13.0.0" window_manager: dependency: "direct main" description: @@ -273,4 +273,4 @@ packages: version: "0.3.8" sdks: dart: ">=3.3.0-279.1.beta <4.0.0" - flutter: ">=3.18.0-18.0.pre.54" + flutter: ">=3.3.0" diff --git a/pubspec.yaml b/pubspec.yaml index 03ca464..621abef 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_stockfish_plugin description: "A Stockfish Plugin for Flutter. Use Stockfish 16 directly in your flutter app." -version: 1.0.4 +version: 1.1.0 homepage: https://github.com/jusax23/flutter_stockfish_plugin environment: @@ -18,7 +18,7 @@ dev_dependencies: sdk: flutter flutter_lints: ^3.0.1 ffigen: ^11.0.0 - test: ^1.24.3 + test: ^1.24.9 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec