diff --git a/CHANGES.md b/CHANGES.md index 74b46b7edc..e6dd04b556 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,101 @@ +# Version 1.8.1 + +## What's Changed + +### Notable changes + +* Add branch deployments support in [#10486](https://github.com/appwrite/appwrite/pull/10486) +* Add TanStack Start sites support in [#10681](https://github.com/appwrite/appwrite/pull/10681) +* Add Next.js standalone support in [#10747](https://github.com/appwrite/appwrite/pull/10747) +* Add Resend integration in [#10690](https://github.com/appwrite/appwrite/pull/10690) +* Add option to enable/disable image transformations per-bucket in [#10722](https://github.com/appwrite/appwrite/pull/10722) +* Add operators support in [#10735](https://github.com/appwrite/appwrite/pull/10735) and [#10800](https://github.com/appwrite/appwrite/pull/10800) +* Add function and sites stats in [#10786](https://github.com/appwrite/appwrite/pull/10786) +* Add disable count feature in [#10668](https://github.com/appwrite/appwrite/pull/10668) +* Add ElevenLabs site template in [#10782](https://github.com/appwrite/appwrite/pull/10782) +* Add suggested environment variables in [#10795](https://github.com/appwrite/appwrite/pull/10795) +* Update GeoDB database in [#10890](https://github.com/appwrite/appwrite/pull/10890) +* Update Flutter default build runtime in [#10807](https://github.com/appwrite/appwrite/pull/10807) +* Upgrade runtimes in [#10804](https://github.com/appwrite/appwrite/pull/10804) + +### Fixes + +* Fix duplicate document error while creating file in [#10891](https://github.com/appwrite/appwrite/pull/10891) +* Fix "Update external deployment (authorize)" throwing 500 error due to invalid query in [#10888](https://github.com/appwrite/appwrite/pull/10888) +* Fix error setting user password in [#10889](https://github.com/appwrite/appwrite/pull/10889) +* Fix error generating email MFA challenges in [#10884](https://github.com/appwrite/appwrite/pull/10884) +* Fix file token expiry in [#10877](https://github.com/appwrite/appwrite/pull/10877) +* Fix TanStack Nitro default in [#10860](https://github.com/appwrite/appwrite/pull/10860) +* Fix TanStack builds in [#10767](https://github.com/appwrite/appwrite/pull/10767) +* Fix nullable validation in [#10819](https://github.com/appwrite/appwrite/pull/10819) and [#10778](https://github.com/appwrite/appwrite/pull/10778) +* Fix WebP library in [#10738](https://github.com/appwrite/appwrite/pull/10738) +* Fix batch writes in [#10812](https://github.com/appwrite/appwrite/pull/10812) +* Fix error handler error in [#10719](https://github.com/appwrite/appwrite/pull/10719) +* Fix Next 16 compatibility in [#10713](https://github.com/appwrite/appwrite/pull/10713) +* Fix stats usage memory leak in [#10683](https://github.com/appwrite/appwrite/pull/10683) +* Fix author URL in template deployments in [#10535](https://github.com/appwrite/appwrite/pull/10535) +* Fix VCS lock deletion in [#10691](https://github.com/appwrite/appwrite/pull/10691) + +### Miscellaneous + +* Add CSV export functionality in [#10546](https://github.com/appwrite/appwrite/pull/10546), [#10750](https://github.com/appwrite/appwrite/pull/10750), [#10813](https://github.com/appwrite/appwrite/pull/10813), and [#10847](https://github.com/appwrite/appwrite/pull/10847) +* Add JWT disposition in [#10867](https://github.com/appwrite/appwrite/pull/10867) +* Add screenshots endpoint in [#10675](https://github.com/appwrite/appwrite/pull/10675) +* Add screenshot endpoint stats in [#10706](https://github.com/appwrite/appwrite/pull/10706) +* Add users attributes in [#10688](https://github.com/appwrite/appwrite/pull/10688) +* Add max build duration environment variable in [#10674](https://github.com/appwrite/appwrite/pull/10674) +* Add custom realtime logger in [#10871](https://github.com/appwrite/appwrite/pull/10871) +* Add logs in [#10869](https://github.com/appwrite/appwrite/pull/10869) +* Improve MFA docs endpoint order in [#10793](https://github.com/appwrite/appwrite/pull/10793) +* Auth refactor in [#10758](https://github.com/appwrite/appwrite/pull/10758), [#10837](https://github.com/appwrite/appwrite/pull/10837), [#10682](https://github.com/appwrite/appwrite/pull/10682), and [#10667](https://github.com/appwrite/appwrite/pull/10667) +* Bump assistant to 0.8.4 in [#10887](https://github.com/appwrite/appwrite/pull/10887) +* Bump database to 3.1.5 in [#10766](https://github.com/appwrite/appwrite/pull/10766) +* Bump Utopia DNS in [#10761](https://github.com/appwrite/appwrite/pull/10761) +* Update domains to 0.8.3 in [#10658](https://github.com/appwrite/appwrite/pull/10658) +* Update domains to 0.9.1 in [#10678](https://github.com/appwrite/appwrite/pull/10678) +* Update Apple Swift to 13.3.0 in [#10679](https://github.com/appwrite/appwrite/pull/10679) +* Update Apple Swift in [#10663](https://github.com/appwrite/appwrite/pull/10663) +* Update CLI to 10.2.2 in [#10672](https://github.com/appwrite/appwrite/pull/10672) +* Update to CLI 12.0.0 in [#10853](https://github.com/appwrite/appwrite/pull/10853) +* Update docs examples to use Permission class in [#10707](https://github.com/appwrite/appwrite/pull/10707) +* Update SDK examples docs in [#10855](https://github.com/appwrite/appwrite/pull/10855) +* Release Python SDK in [#10762](https://github.com/appwrite/appwrite/pull/10762) +* Release Flutter 20.3.2 in [#10838](https://github.com/appwrite/appwrite/pull/10838) +* Release Flutter/Dart add screenshot examples in [#10811](https://github.com/appwrite/appwrite/pull/10811) +* Release PHP CLI in [#10791](https://github.com/appwrite/appwrite/pull/10791) +* Release SDKs in [#10817](https://github.com/appwrite/appwrite/pull/10817) +* Update SDKs in [#10694](https://github.com/appwrite/appwrite/pull/10694), [#10729](https://github.com/appwrite/appwrite/pull/10729), and [#10744](https://github.com/appwrite/appwrite/pull/10744) +* Update SDK generator in [#10743](https://github.com/appwrite/appwrite/pull/10743) +* Update database in [#10664](https://github.com/appwrite/appwrite/pull/10664) +* Update README file in [#10763](https://github.com/appwrite/appwrite/pull/10763) +* SDK release documentation in [#10745](https://github.com/appwrite/appwrite/pull/10745) +* SDK release runtime config in [#10765](https://github.com/appwrite/appwrite/pull/10765) +* Sync specs in [#10789](https://github.com/appwrite/appwrite/pull/10789) +* Sync 1.8.0 in [#10677](https://github.com/appwrite/appwrite/pull/10677) +* Add workflow for issue triage in [#10718](https://github.com/appwrite/appwrite/pull/10718) +* Add issue auto-labeler in [#10700](https://github.com/appwrite/appwrite/pull/10700) +* Add AI moderator repo in [#10717](https://github.com/appwrite/appwrite/pull/10717) +* Browser bump in [#10850](https://github.com/appwrite/appwrite/pull/10850) +* Template type enum override in [#10848](https://github.com/appwrite/appwrite/pull/10848) +* VCS reference type in [#10852](https://github.com/appwrite/appwrite/pull/10852) +* Index scope description in [#10851](https://github.com/appwrite/appwrite/pull/10851) +* Config for environment in [#10833](https://github.com/appwrite/appwrite/pull/10833) +* Format instance in [#10830](https://github.com/appwrite/appwrite/pull/10830) +* Replace sleep in webhooks service in [#10656](https://github.com/appwrite/appwrite/pull/10656) +* Update email composer in [#10720](https://github.com/appwrite/appwrite/pull/10720) +* Update facts on GitHub sites and functions in [#10593](https://github.com/appwrite/appwrite/pull/10593) and [#10771](https://github.com/appwrite/appwrite/pull/10771) +* Fix wrong user type in [#10875](https://github.com/appwrite/appwrite/pull/10875) +* Fix limit and offset computation in [#10880](https://github.com/appwrite/appwrite/pull/10880) +* Fix enum examples in [#10828](https://github.com/appwrite/appwrite/pull/10828) +* Fix response models multi-methods in [#10815](https://github.com/appwrite/appwrite/pull/10815) +* Fix undefined variable in [#10654](https://github.com/appwrite/appwrite/pull/10654) +* Fix undefined sequence in [#10652](https://github.com/appwrite/appwrite/pull/10652) +* Fix description in [#10702](https://github.com/appwrite/appwrite/pull/10702) +* Fix warning in builds worker in [#10705](https://github.com/appwrite/appwrite/pull/10705) +* Fix sites create deployment docs in [#10566](https://github.com/appwrite/appwrite/pull/10566) +* Fix test dependencies projects in [#10655](https://github.com/appwrite/appwrite/pull/10655) +* Fix list sites test in [#10726](https://github.com/appwrite/appwrite/pull/10726) + # Version 1.8.0 ## What's Changed diff --git a/README-CN.md b/README-CN.md index c087b16201..afd7eca289 100644 --- a/README-CN.md +++ b/README-CN.md @@ -72,7 +72,7 @@ docker run -it --rm \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ --entrypoint="install" \ - appwrite/appwrite:1.8.0 + appwrite/appwrite:1.8.1 ``` ### Windows @@ -84,7 +84,7 @@ docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^ --entrypoint="install" ^ - appwrite/appwrite:1.8.0 + appwrite/appwrite:1.8.1 ``` #### PowerShell @@ -94,7 +94,7 @@ docker run -it --rm ` --volume /var/run/docker.sock:/var/run/docker.sock ` --volume ${pwd}/appwrite:/usr/src/code/appwrite:rw ` --entrypoint="install" ` - appwrite/appwrite:1.8.0 + appwrite/appwrite:1.8.1 ``` 运行后,可以在浏览器上访问 http://localhost 找到 Appwrite 控制台。在非 Linux 的本机主机上完成安装后,服务器可能需要几分钟才能启动。 diff --git a/README.md b/README.md index 0743234954..4a71579207 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ docker run -it --rm \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ --entrypoint="install" \ - appwrite/appwrite:1.8.0 + appwrite/appwrite:1.8.1 ``` ### Windows @@ -87,7 +87,7 @@ docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^ --entrypoint="install" ^ - appwrite/appwrite:1.8.0 + appwrite/appwrite:1.8.1 ``` #### PowerShell @@ -97,7 +97,7 @@ docker run -it --rm ` --volume /var/run/docker.sock:/var/run/docker.sock ` --volume ${pwd}/appwrite:/usr/src/code/appwrite:rw ` --entrypoint="install" ` - appwrite/appwrite:1.8.0 + appwrite/appwrite:1.8.1 ``` Once the Docker installation is complete, go to http://localhost to access the Appwrite console from your browser. Please note that on non-Linux native hosts, the server might take a few minutes to start after completing the installation. diff --git a/app/init/constants.php b/app/init/constants.php index 78b8e3a5ae..0c95c4543b 100644 --- a/app/init/constants.php +++ b/app/init/constants.php @@ -44,7 +44,7 @@ const APP_RESOURCE_TOKEN_ACCESS = 24 * 60 * 60; // 24 hours const APP_FILE_ACCESS = 24 * 60 * 60; // 24 hours const APP_CACHE_UPDATE = 24 * 60 * 60; // 24 hours const APP_CACHE_BUSTER = 4321; -const APP_VERSION_STABLE = '1.8.0'; +const APP_VERSION_STABLE = '1.8.1'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; const APP_DATABASE_ATTRIBUTE_IP = 'ip'; diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index 2f77d1d0c7..80d4e5e2d6 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -180,7 +180,7 @@ $enableAssistant = $this->getParam('enableAssistant', false); appwrite-console: <<: *x-logging container_name: appwrite-console - image: /console:7.4.7 + image: /console:7.5.7 restart: unless-stopped networks: - appwrite diff --git a/docker-compose.yml b/docker-compose.yml index 9e831f4360..14591db926 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -230,7 +230,7 @@ services: appwrite-console: <<: *x-logging container_name: appwrite-console - image: appwrite/console:7.4.11 + image: appwrite/console:7.5.7 restart: unless-stopped networks: - appwrite diff --git a/src/Appwrite/Migration/Migration.php b/src/Appwrite/Migration/Migration.php index 588b193df4..bc37924db6 100644 --- a/src/Appwrite/Migration/Migration.php +++ b/src/Appwrite/Migration/Migration.php @@ -90,6 +90,7 @@ abstract class Migration '1.7.3' => 'V22', '1.7.4' => 'V22', '1.8.0' => 'V23', + '1.8.1' => 'V23', ]; /** diff --git a/src/Appwrite/Migration/Version/V23.php b/src/Appwrite/Migration/Version/V23.php index c7be832626..64a45fc9b2 100644 --- a/src/Appwrite/Migration/Version/V23.php +++ b/src/Appwrite/Migration/Version/V23.php @@ -139,7 +139,7 @@ class V23 extends Migration } catch (\Throwable $th) { Console::warning("Failed to migration error attribute size in collection {$id}: {$th->getMessage()}"); } - + break; case 'buckets': try { $this->createAttributeFromCollection($this->dbForProject, $id, 'transformations'); @@ -148,6 +148,21 @@ class V23 extends Migration } $this->dbForProject->purgeCachedCollection($id); break; + case 'users': + $attributes = [ + 'emailCanonical', + 'emailIsFree', + 'emailIsDisposable', + 'emailIsCorporate', + 'emailIsCanonical', + ]; + try { + $this->createAttributesFromCollection($this->dbForProject, $id, $attributes); + } catch (\Throwable $th) { + Console::warning('Failed to create attributes "' . \implode(', ', $attributes) . "\" in collection {$id}: {$th->getMessage()}"); + } + $this->dbForProject->purgeCachedCollection($id); + break; default: break; }