From d802ce99361e5100709950b1dba164eeebe3b6fc Mon Sep 17 00:00:00 2001 From: root Date: Wed, 8 Oct 2025 04:16:55 +0000 Subject: [PATCH 1/2] chore: regen --- CHANGELOG.md | 5 + appwrite.gemspec | 2 +- .../account/create-email-verification.md | 14 +++ .../account/update-email-verification.md | 15 +++ lib/appwrite/client.rb | 2 +- lib/appwrite/services/account.rb | 95 ++++++++++++++++++- lib/appwrite/services/functions.rb | 2 +- lib/appwrite/services/sites.rb | 4 +- lib/appwrite/services/tables_db.rb | 50 +++++----- 9 files changed, 155 insertions(+), 34 deletions(-) create mode 100644 docs/examples/account/create-email-verification.md create mode 100644 docs/examples/account/update-email-verification.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f2e10b..76e4e71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 19.0.1 + +* Deprecate `createVerification` method in `Account` service +* Add `createEmailVerification` method in `Account` service + ## 16.1.0 * Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service diff --git a/appwrite.gemspec b/appwrite.gemspec index 45e94c9..f7ee021 100644 --- a/appwrite.gemspec +++ b/appwrite.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |spec| spec.name = 'appwrite' - spec.version = '19.0.0' + spec.version = '19.0.1' spec.license = 'BSD-3-Clause' spec.summary = 'Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API' spec.author = 'Appwrite Team' diff --git a/docs/examples/account/create-email-verification.md b/docs/examples/account/create-email-verification.md new file mode 100644 index 0000000..11bf56b --- /dev/null +++ b/docs/examples/account/create-email-verification.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.create_email_verification( + url: 'https://example.com' +) diff --git a/docs/examples/account/update-email-verification.md b/docs/examples/account/update-email-verification.md new file mode 100644 index 0000000..33b009a --- /dev/null +++ b/docs/examples/account/update-email-verification.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.update_email_verification( + user_id: '', + secret: '' +) diff --git a/lib/appwrite/client.rb b/lib/appwrite/client.rb index 75a0f42..9435eb3 100644 --- a/lib/appwrite/client.rb +++ b/lib/appwrite/client.rb @@ -15,7 +15,7 @@ def initialize 'x-sdk-name'=> 'Ruby', 'x-sdk-platform'=> 'server', 'x-sdk-language'=> 'ruby', - 'x-sdk-version'=> '19.0.0', + 'x-sdk-version'=> '19.0.1', 'X-Appwrite-Response-Format' => '1.8.0' } @endpoint = 'https://cloud.appwrite.io/v1' diff --git a/lib/appwrite/services/account.rb b/lib/appwrite/services/account.rb index 5e281fb..3640c9b 100644 --- a/lib/appwrite/services/account.rb +++ b/lib/appwrite/services/account.rb @@ -1308,6 +1308,52 @@ def create_phone_token(user_id:, phone:) ) end + # Use this endpoint to send a verification message to your user email address + # to confirm they are the valid owners of that address. Both the **userId** + # and **secret** arguments will be passed as query parameters to the URL you + # have provided to be attached to the verification email. The provided URL + # should redirect the user back to your app and allow you to complete the + # verification process by verifying both the **userId** and **secret** + # parameters. Learn more about how to [complete the verification + # process](https://appwrite.io/docs/references/cloud/client-web/account#updateVerification). + # The verification link sent to the user's email address is valid for 7 days. + # + # Please note that in order to avoid a [Redirect + # Attack](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), + # the only valid redirect URLs are the ones from domains you have set when + # adding your platforms in the console interface. + # + # + # @param [String] url URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API. + # + # @return [Token] + def create_email_verification(url:) + api_path = '/account/verifications/email' + + if url.nil? + raise Appwrite::Exception.new('Missing required parameter: "url"') + end + + api_params = { + url: url, + } + + api_headers = { + "content-type": 'application/json', + } + + @client.call( + method: 'POST', + path: api_path, + headers: api_headers, + params: api_params, + response_type: Models::Token + ) + end + + # + # @deprecated This API has been deprecated since 1.8.0. Please use `Account.createEmailVerification` instead. + # # Use this endpoint to send a verification message to your user email address # to confirm they are the valid owners of that address. Both the **userId** # and **secret** arguments will be passed as query parameters to the URL you @@ -1328,7 +1374,7 @@ def create_phone_token(user_id:, phone:) # # @return [Token] def create_verification(url:) - api_path = '/account/verification' + api_path = '/account/verifications/email' if url.nil? raise Appwrite::Exception.new('Missing required parameter: "url"') @@ -1351,6 +1397,47 @@ def create_verification(url:) ) end + # Use this endpoint to complete the user email verification process. Use both + # the **userId** and **secret** parameters that were attached to your app URL + # to verify the user email ownership. If confirmed this route will return a + # 200 status code. + # + # @param [String] user_id User ID. + # @param [String] secret Valid verification token. + # + # @return [Token] + def update_email_verification(user_id:, secret:) + api_path = '/account/verifications/email' + + if user_id.nil? + raise Appwrite::Exception.new('Missing required parameter: "userId"') + end + + if secret.nil? + raise Appwrite::Exception.new('Missing required parameter: "secret"') + end + + api_params = { + userId: user_id, + secret: secret, + } + + api_headers = { + "content-type": 'application/json', + } + + @client.call( + method: 'PUT', + path: api_path, + headers: api_headers, + params: api_params, + response_type: Models::Token + ) + end + + # + # @deprecated This API has been deprecated since 1.8.0. Please use `Account.updateEmailVerification` instead. + # # Use this endpoint to complete the user email verification process. Use both # the **userId** and **secret** parameters that were attached to your app URL # to verify the user email ownership. If confirmed this route will return a @@ -1361,7 +1448,7 @@ def create_verification(url:) # # @return [Token] def update_verification(user_id:, secret:) - api_path = '/account/verification' + api_path = '/account/verifications/email' if user_id.nil? raise Appwrite::Exception.new('Missing required parameter: "userId"') @@ -1401,7 +1488,7 @@ def update_verification(user_id:, secret:) # # @return [Token] def create_phone_verification() - api_path = '/account/verification/phone' + api_path = '/account/verifications/phone' api_params = { } @@ -1429,7 +1516,7 @@ def create_phone_verification() # # @return [Token] def update_phone_verification(user_id:, secret:) - api_path = '/account/verification/phone' + api_path = '/account/verifications/phone' if user_id.nil? raise Appwrite::Exception.new('Missing required parameter: "userId"') diff --git a/lib/appwrite/services/functions.rb b/lib/appwrite/services/functions.rb index 13b0526..6f163ea 100644 --- a/lib/appwrite/services/functions.rb +++ b/lib/appwrite/services/functions.rb @@ -447,7 +447,7 @@ def create_duplicate_deployment(function_id:, deployment_id:, build_id: nil) # Create a deployment based on a template. # # Use this endpoint with combination of - # [listTemplates](https://appwrite.io/docs/server/functions#listTemplates) to + # [listTemplates](https://appwrite.io/docs/products/functions/templates) to # find the template details. # # @param [String] function_id Function ID. diff --git a/lib/appwrite/services/sites.rb b/lib/appwrite/services/sites.rb index 138dae7..d139c75 100644 --- a/lib/appwrite/services/sites.rb +++ b/lib/appwrite/services/sites.rb @@ -446,8 +446,8 @@ def create_duplicate_deployment(site_id:, deployment_id:) # Create a deployment based on a template. # # Use this endpoint with combination of - # [listTemplates](https://appwrite.io/docs/server/sites#listTemplates) to - # find the template details. + # [listTemplates](https://appwrite.io/docs/products/sites/templates) to find + # the template details. # # @param [String] site_id Site ID. # @param [String] repository Repository name of the template. diff --git a/lib/appwrite/services/tables_db.rb b/lib/appwrite/services/tables_db.rb index 9272913..ad49104 100644 --- a/lib/appwrite/services/tables_db.rb +++ b/lib/appwrite/services/tables_db.rb @@ -202,7 +202,7 @@ def list_tables(database_id:, queries: nil, search: nil) # Create a new Table. Before using this route, you should create a new # database resource using either a [server - # integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) + # integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) # API or directly from your database console. # # @param [String] database_id Database ID. @@ -407,7 +407,7 @@ def list_columns(database_id:, table_id:, queries: nil) # # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [] default Default value for column when not provided. Cannot be set when column is required. @@ -459,7 +459,7 @@ def create_boolean_column(database_id:, table_id:, key:, required:, default: nil # already existing rows. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [] default Default value for column when not provided. Cannot be set when column is required. @@ -1196,7 +1196,7 @@ def update_ip_column(database_id:, table_id:, key:, required:, default:, new_key # Create a geometric line column. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [Array] default Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required. @@ -1246,7 +1246,7 @@ def create_line_column(database_id:, table_id:, key:, required:, default: nil) # existing rows. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [Array] default Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required. @@ -1297,7 +1297,7 @@ def update_line_column(database_id:, table_id:, key:, required:, default: nil, n # Create a geometric point column. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [Array] default Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required. @@ -1347,7 +1347,7 @@ def create_point_column(database_id:, table_id:, key:, required:, default: nil) # existing rows. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [Array] default Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required. @@ -1398,7 +1398,7 @@ def update_point_column(database_id:, table_id:, key:, required:, default: nil, # Create a geometric polygon column. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [Array] default Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required. @@ -1448,7 +1448,7 @@ def create_polygon_column(database_id:, table_id:, key:, required:, default: nil # already existing rows. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [Array] default Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required. @@ -1557,7 +1557,7 @@ def create_relationship_column(database_id:, table_id:, related_table_id:, type: # # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [Integer] size Column size for text columns, in number of characters. # @param [] required Is column required? @@ -1618,7 +1618,7 @@ def create_string_column(database_id:, table_id:, key:, size:, required:, defaul # # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Column Key. # @param [] required Is column required? # @param [String] default Default value for column when not provided. Cannot be set when column is required. @@ -1910,7 +1910,7 @@ def update_relationship_column(database_id:, table_id:, key:, on_delete: nil, ne # List indexes on the table. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [Array] queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error # # @return [ColumnIndexList] @@ -1948,7 +1948,7 @@ def list_indexes(database_id:, table_id:, queries: nil) # Type can be `key`, `fulltext`, or `unique`. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Index Key. # @param [IndexType] type Index type. # @param [Array] columns Array of columns to index. Maximum of 100 columns are allowed, each 32 characters long. @@ -2005,7 +2005,7 @@ def create_index(database_id:, table_id:, key:, type:, columns:, orders: nil, le # Get index by ID. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Index Key. # # @return [ColumnIndex] @@ -2045,7 +2045,7 @@ def get_index(database_id:, table_id:, key:) # Delete an index. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] key Index Key. # # @return [] @@ -2086,7 +2086,7 @@ def delete_index(database_id:, table_id:, key:) # params to filter your results. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the TableDB service [server integration](https://appwrite.io/docs/server/tablesdbdb#tablesdbCreate). + # @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/products/databases/tables#create-table). # @param [Array] queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. # # @return [RowList] @@ -2121,11 +2121,11 @@ def list_rows(database_id:, table_id:, queries: nil) # Create a new Row. Before using this route, you should create a new table # resource using either a [server - # integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) + # integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) # API or directly from your database console. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). Make sure to define columns before creating rows. + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). Make sure to define columns before creating rows. # @param [String] row_id Row ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. # @param [Hash] data Row data as JSON object. # @param [Array] permissions An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions). @@ -2173,11 +2173,11 @@ def create_row(database_id:, table_id:, row_id:, data:, permissions: nil) # Create new Rows. Before using this route, you should create a new table # resource using either a [server - # integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) + # integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) # API or directly from your database console. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). Make sure to define columns before creating rows. + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). Make sure to define columns before creating rows. # @param [Array] rows Array of rows data as JSON objects. # # @return [RowList] @@ -2217,7 +2217,7 @@ def create_rows(database_id:, table_id:, rows:) # Create or update Rows. Before using this route, you should create a new # table resource using either a [server - # integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) + # integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) # API or directly from your database console. # # @@ -2304,7 +2304,7 @@ def update_rows(database_id:, table_id:, data: nil, queries: nil) # deleted. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [Array] queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. # # @return [RowList] @@ -2342,7 +2342,7 @@ def delete_rows(database_id:, table_id:, queries: nil) # with the row data. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] row_id Row ID. # @param [Array] queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. # @@ -2383,7 +2383,7 @@ def get_row(database_id:, table_id:, row_id:, queries: nil) # Create or update a Row. Before using this route, you should create a new # table resource using either a [server - # integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) + # integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) # API or directly from your database console. # # @param [String] database_id Database ID. @@ -2478,7 +2478,7 @@ def update_row(database_id:, table_id:, row_id:, data: nil, permissions: nil) # Delete a row by its unique ID. # # @param [String] database_id Database ID. - # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). + # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). # @param [String] row_id Row ID. # # @return [] From d4b61120d2dd269c48358f133e44f5c38454ba8a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 8 Oct 2025 04:57:29 +0000 Subject: [PATCH 2/2] fix version --- CHANGELOG.md | 2 +- appwrite.gemspec | 2 +- lib/appwrite/client.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76e4e71..0498d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## 19.0.1 +## 19.1.0 * Deprecate `createVerification` method in `Account` service * Add `createEmailVerification` method in `Account` service diff --git a/appwrite.gemspec b/appwrite.gemspec index f7ee021..f1f4dca 100644 --- a/appwrite.gemspec +++ b/appwrite.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |spec| spec.name = 'appwrite' - spec.version = '19.0.1' + spec.version = '19.1.0' spec.license = 'BSD-3-Clause' spec.summary = 'Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API' spec.author = 'Appwrite Team' diff --git a/lib/appwrite/client.rb b/lib/appwrite/client.rb index 9435eb3..38bc7cf 100644 --- a/lib/appwrite/client.rb +++ b/lib/appwrite/client.rb @@ -15,7 +15,7 @@ def initialize 'x-sdk-name'=> 'Ruby', 'x-sdk-platform'=> 'server', 'x-sdk-language'=> 'ruby', - 'x-sdk-version'=> '19.0.1', + 'x-sdk-version'=> '19.1.0', 'X-Appwrite-Response-Format' => '1.8.0' } @endpoint = 'https://cloud.appwrite.io/v1'