From f4b073ddaba6d6064fd502e750c8116b4dd022af Mon Sep 17 00:00:00 2001
From: Lakitna <lakitna@gmail.com>
Date: Fri, 8 Oct 2021 13:13:23 +0200
Subject: [PATCH 1/2] `.attribute()` type no longer requires `options`
 attribute

---
 types/attribute.d.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/types/attribute.d.ts b/types/attribute.d.ts
index 0f7860d..360b67e 100644
--- a/types/attribute.d.ts
+++ b/types/attribute.d.ts
@@ -9,7 +9,7 @@ declare namespace Cypress {
          */
         attribute(
             attribute: string,
-            options: Partial<AttributeOptions>
+            options?: Partial<AttributeOptions>
         ): Chainable<string | string[]>;
 
         /**

From dd904e81716eedb591ea977926377d86443923cd Mon Sep 17 00:00:00 2001
From: Lakitna <lakitna@gmail.com>
Date: Fri, 8 Oct 2021 13:15:01 +0200
Subject: [PATCH 2/2] Release 2.0.1

---
 CHANGELOG.md | 6 ++++++
 package.json | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 70539ab..f01d51b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
 
 All notable changes to this project will be documented in this file.
 
+## 2.0.1 - 2021-10-08
+
+### Fixes
+
+- Type definition for `.attribute()` no longer requires you to pass an `options` object.
+
 ## 2.0.0 - 2021-09-13
 
 ### Breaking changes
diff --git a/package.json b/package.json
index 1210c58..3d8dc1d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cypress-commands",
-  "version": "2.0.0",
+  "version": "2.0.1",
   "description": "A collection of Cypress commands to extend and complement the default commands",
   "license": "MIT",
   "main": "dist/cypress-commands.js",