Releases: arcjet/arcjet-js
Releases · arcjet/arcjet-js
v1.0.0-alpha.15
1.0.0-alpha.15 (2024-06-12)
⚠ BREAKING CHANGES
- Remove rateLimit alias for fixedWindow rule (#964)
- Remove logger dependency from core (#929)
- Move client into protocol and rename builders in adapters (#932)
- Freeze the ArcjetContext before using it (#934)
🪲 Bug Fixes
📦 Dependencies
- Bump braces from 3.0.2 to 3.0.3 (#954) (f3d2af5)
- dev: Bump bun-types from 1.1.12 to 1.1.13 (#947) (bbf996d)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-app-dir-rl (#962) (3ef130f)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-app-dir-validate-email (#961) (05c8aed)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-authjs-5 (#959) (9af5c16)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-clerk-rl (#949) (2a3a919)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-clerk-shield (#957) (18c5068)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-decorate (#952) (3077d96)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-ip-details (#956) (466c6d6)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-nextauth-4 (#951) (c6270dd)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-openai (#955) (cc46877)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-pages-wrap (#953) (6449d0d)
- example: Bump braces from 3.0.2 to 3.0.3 in /examples/nextjs-14-react-hook-form (#958) (3cc0ae7)
- example: Bump hono from 4.4.4 to 4.4.5 in /examples/nodejs-hono-rl in the dependencies group (#923) (8458fe8)
- example: Bump next from 14.2.3 to 14.2.4 in /examples/nextjs-14-authjs-5 in the dependencies group (#940) (4a1e3c1)
- example: Bump prettier from 3.3.1 to 3.3.2 in /examples/sveltekit in the dependencies group (#926) (30e03ad)
- example: Bump the dependencies group across 1 directory with 3 updates (#943) (8e84ab6)
- example: Bump the dependencies group across 1 directory with 3 updates (#960) (12c541c)
- example: Bump the dependencies group across 1 directory with 3 updates (#963) (37f387c)
- example: Bump the dependencies group across 1 directory with 4 updates (#946) (71fcc86)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 2 updates (#937) (9384f4e)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 2 updates (#944) (6b6fe28)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 2 updates (#938) (8c31888)
- example: Bump the dependencies group in /examples/nextjs-14-ip-details with 2 updates (#936) (0cb5ed7)
- example: Bump the dependencies group in /examples/nextjs-14-nextauth-4 with 2 updates (#942) (00d32d1)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 2 updates (#935) (78f1a31)
🧹 Miscellaneous Chores
- deps-dev: Bump braces from 3.0.2 to 3.0.3 in /examples/nodejs-nestjs (#950) (eb4efc1)
- Fix typo in the release-please config (#966) (4e67890)
- Freeze the ArcjetContext before using it (#934) (6720504)
- Link the versions of our new packages (#965) (6d20dfc)
- Move client into protocol and rename builders in adapters (#932) (ea1c2b2)
- Remove logger dependency from core (#929) (8c15961)
- Remove rateLimit alias for fixedWindow rule (#964) (320d67c)
- rollup-config: Allow more builtins to avoid warnings (#933) (2d6f4a0)
v1.0.0-alpha.14
1.0.0-alpha.14 (2024-06-10)
⚠ BREAKING CHANGES
- Move all environment lookup into separate package (#897)
- ip: Allow platform to be specified when looking up IP (#896)
- Add fallback IP in each adapter (#895)
- analyze: Leverage conditional exports to load Wasm appropriately (#887)
- logger: Align logger with Pino API (#858)
- Create runtime package and remove from SDK (#871)
- decorate: Use console to log instead of Arcjet logger (#865)
- logger: Replace nodejs util import with our sprintf library (#857)
- Allow ArcjetContext extension via new argument to core
protect()
(#841) - Separate
@arcjet/headers
package from core (#824) - ip: Rework priority of IP detection (#799)
🚀 New Features
- Add fallback IP in each adapter (#895) (0f23cff), closes #51 #885
- Allow ArcjetContext extension via new argument to core
protect()
(#841) (96bbe94) - Create runtime package and remove from SDK (#871) (4e9e216)
- Create sprintf package to replace util.format (#856) (160a16e)
- ip: Allow platform to be specified when looking up IP (#896) (c9f54bb)
- logger: Align logger with Pino API (#858) (1806b94), closes #822 #855
- Move all environment lookup into separate package (#897) (a5bb8ca)
- Separate
@arcjet/headers
package from core (#824) (c8364f4)
🪲 Bug Fixes
- analyze: Disable cache during base64 decode (#838) (72fb961)
- ip: Rework priority of IP detection (#799) (1df6291)
📦 Dependencies
- Bump @bufbuild/protobuf from 1.9.0 to 1.10.0 (#847) (de8266f)
- Bump @rollup/plugin-replace from 5.0.5 to 5.0.7 (#920) (176170b)
- Bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.13.0 (#918) (bbd72a5)
- Bump @typescript-eslint/eslint-plugin from 7.9.0 to 7.12.0 (#862) (51330b7)
- Bump @typescript-eslint/parser from 7.12.0 to 7.13.0 (#917) (cfe0c14)
- Bump @typescript-eslint/parser from 7.9.0 to 7.12.0 (#861) (eaf8c26)
- Bump eslint-config-turbo from 1.13.3 to 2.0.3 (#893) (97525af)
- dev: Bump @rollup/wasm-node from 4.17.2 to 4.18.0 (#803) (e6321af)
- dev: Bump bun-types from 1.1.8 to 1.1.12 (#853) (a42fbd3)
- example: Bump @types/bun from 1.1.2 to 1.1.3 in /examples/bun-hono-rl in the dependencies group (#804) (ecada7f)
- example: Bump @types/bun from 1.1.2 to 1.1.3 in /examples/bun-rl in the dependencies group (#800) (de15757)
- example: Bump ai from 3.1.30 to 3.1.31 in /examples/nextjs-14-openai in the dependencies group (#915) (84510a8)
- example: Bump lucide-react from 0.390.0 to 0.394.0 in /examples/nextjs-14-authjs-5 in the dependencies group (#916) (0414404)
- example: Bump the dependencies group across 1 directory with 12 updates (#921) (2e373c4)
- example: Bump the dependencies group across 1 directory with 2 updates (#872) (2e8257d)
- example: Bump the dependencies group across 1 directory with 2 updates (#876) (e35a61a)
- example: Bump the dependencies group across 1 directory with 2 updates (#877) (37b268f)
- example: Bump the dependencies group across 1 directory with 2 updates (#878) (03e8f0a)
- example: Bump the dependencies group across 1 directory with 2 updates (#881) (f37d892)
- example: Bump the dependencies group across 1 directory with 2 updates (#883) (22b4792)
- example: Bump the dependencies group across 1 directory with 2 updates (#888) (6d5b708)
- example: Bump the dependencies group across 1 directory with 3 updates (#875) (a7b541e)
- example: Bump the dependencies group across 1 directory with 3 updates (#882) (1b38026)
- example: Bump the dependencies group across 1 directory with 4 updates (#892) (4dddd0c)
- example: Bump the dependencies group across 1 directory with 4 updates (#899) (99886d1)
- example: Bump the dependencies group across 1 directory with 9 updates (#889) (a5f9db6)
- example: Bump the dependencies group in /examples/nextjs-14-react-hook-form with 2 updates (#919) (391f3fc)
📝 Documentation
- Add headers package to root readme (#837) ([d1089ad](https://github.com/arcjet/arcjet-js/commi...
v1.0.0-alpha.13
1.0.0-alpha.13 (2024-05-20)
⚠ BREAKING CHANGES
- protocol: Export only things we use from connect and buf (#783)
- eslint-config: Update linting rules (#774)
🚀 New Features
- Create Bun.sh adapter (#757) (381dde5), closes #475
- Create SvelteKit adapter (#775) (002fdbb), closes #754
- Filter cookie headers when normalizing with ArcjetHeaders (#773) (99b3e1f)
- ip: Detect Fly-Client-IP header when available (#751) (73359f6)
🪲 Bug Fixes
- analyze: Leverage string interpolation to import Wasm files on edge runtime (#784) (9b85908)
- protocol: Export only things we use from connect and buf (#783) (4596da5)
📦 Dependencies
- Bump @bufbuild/protobuf from 1.8.0 to 1.9.0 (#652) (4cd2114)
- Bump eslint-config-next from 14.2.2 to 14.2.3 (#670) (8d7ff7e)
- Bump eslint-config-turbo from 1.13.2 to 1.13.3 (#686) (1b9b68e)
- dev: Bump @bytecodealliance/jco from 1.1.1 to 1.2.2 (#707) (39989b8)
- dev: Bump @bytecodealliance/jco from 1.2.2 to 1.2.4 (#725) (7c43124)
- dev: Bump @rollup/wasm-node from 4.14.3 to 4.17.2 (#708) (6e548bf)
- example: Bump @clerk/nextjs from 4.29.12 to 4.30.0 in /examples/nextjs-14-clerk-rl in the dependencies group (#637) (0fa5e3e)
- example: Bump @clerk/nextjs from 5.0.10 to 5.0.11 in /examples/nextjs-14-clerk-rl in the dependencies group (#771) (81d1078)
- example: Bump @clerk/nextjs from 5.0.10 to 5.0.11 in /examples/nextjs-14-clerk-shield in the dependencies group (#770) (ae4c32e)
- example: Bump @clerk/nextjs from 5.0.11 to 5.0.12 in /examples/nextjs-14-clerk-rl in the dependencies group (#776) (1454a35)
- example: Bump @clerk/nextjs from 5.0.11 to 5.0.12 in /examples/nextjs-14-clerk-shield in the dependencies group (#777) (8b5c648)
- example: Bump @hono/node-server from 1.10.0 to 1.10.1 in /examples/nodejs-hono-rl in the dependencies group (#640) (5a8998f)
- example: Bump @sveltejs/kit from 2.5.8 to 2.5.9 in /examples/sveltekit in the dependencies group (#790) (9e14db1)
- example: Bump @types/react from 18.3.1 to 18.3.2 in /examples/nextjs-14-app-dir-rl in the dependencies group (#741) (625a165)
- example: Bump @types/react from 18.3.1 to 18.3.2 in /examples/nextjs-14-app-dir-validate-email in the dependencies group (#746) (a562bed)
- example: Bump @types/react from 18.3.1 to 18.3.2 in /examples/nextjs-14-decorate in the dependencies group (#739) (b3da4e6)
- example: Bump @types/react from 18.3.1 to 18.3.2 in /examples/nextjs-14-ip-details in the dependencies group (#745) (debbe35)
- example: Bump @types/react from 18.3.1 to 18.3.2 in /examples/nextjs-14-nextauth-4 in the dependencies group (#748) (e521eb9)
- example: Bump @types/react from 18.3.1 to 18.3.2 in /examples/nextjs-14-pages-wrap in the dependencies group (#742) (9f8040a)
- example: Bump ai from 3.1.8 to 3.1.9 in /examples/nextjs-14-openai in the dependencies group (#767) (bd7cf85)
- example: Bump ai from 3.1.9 to 3.1.12 in /examples/nextjs-14-openai in the dependencies group across 1 directory (#779) (225dbae)
- example: Bump eslint-config-next from 14.2.2 to 14.2.3 in /examples/nextjs-example in the dependencies group (#668) (36bf48b)
- example: Bump hono from 4.2.5 to 4.2.7 in /examples/nodejs-hono-rl (#654) (330b317)
- example: Bump hono from 4.3.4 to 4.3.7 in /examples/nodejs-hono-rl in the dependencies group across 1 directory (#762) (8fb68f5)
- example: Bump hono from 4.3.7 to 4.3.8 in /examples/nodejs-hono-rl in the dependencies group (#789) (94c5e01)
- example: Bump lucide-react from 0.370.0 to 0.371.0 in /examples/nextjs-14-authjs-5 in the dependencies group (#638) (3e79236)
- example: Bump the dependencies group across 1 directory with 13 updates (#760) (18456d9)
- example: Bump the dependencies group across 1 directory with 2 updates (#732) (0ff6abc)
- example: Bump the dependencies group across 1 directory with 2 updates (#736) (608c9c4)
- example: Bump the dependencies group across 1 directory with 2 updates (#737) (41ddb45)
- example: Bump the dependencies group across 1 directory with 2 updates (#763) (c3d6b1d)
- example: Bump the dependencies group across 1 directory with 2 updates (#764) (ffc7739)
- example: Bump the dependencies group across 1 directory with 3 updates (#761) (eb6d64d)
- example: Bump the dependencies group acros...
v1.0.0-alpha.12
1.0.0-alpha.12 (2024-04-18)
⚠ BREAKING CHANGES
- Deprecate calling
protect()
with no rules (#608)
🚀 New Features
- Add configurable shield rule (#609) (a5717a1), closes #606
- Add urls for Arcjet fly.io deployments (#554) (27d946b)
📦 Dependencies
- Bump eslint-config-next from 14.1.4 to 14.2.1 (#585) (b92474b)
- Bump eslint-config-next from 14.2.1 to 14.2.2 (#621) (3268a70)
- Bump typeid-js from 0.5.0 to 0.6.0 (#566) (b6dcaeb)
- Bump typeid-js from 0.6.0 to 0.7.0 (#620) (8b09974)
- dev: Bump @rollup/wasm-node from 4.14.1 to 4.14.3 (#597) (598adf0)
- dev: Bump typescript from 5.4.4 to 5.4.5 (#557) (16af391)
- example: Bump eslint-config-next from 14.1.4 to 14.2.1 in /examples/nextjs-example in the dependencies group (#583) (93b7d22)
- example: Bump eslint-config-next from 14.2.1 to 14.2.2 in /examples/nextjs-13-pages-wrap in the dependencies group (#631) (78e7f71)
- example: Bump eslint-config-next from 14.2.1 to 14.2.2 in /examples/nextjs-example in the dependencies group (#626) (99c54ae)
- example: Bump hono from 4.2.4 to 4.2.5 in /examples/nodejs-hono-rl in the dependencies group (#628) (27f6d41)
- example: Bump the dependencies group across 1 directory with 3 updates (#634) (c57b920)
- example: Bump the dependencies group across 1 directory with 3 updates (#635) (a0d587b)
- example: Bump the dependencies group across 1 directory with 6 updates (#611) (950279d)
- example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 3 updates (#592) (d24c26f)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 2 updates (#624) (f4038dd)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 4 updates (#600) (b02997f)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 2 updates (#618) (183cd3f)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 4 updates (#596) (b1aac10)
- example: Bump the dependencies group in /examples/nextjs-14-authjs-5 with 2 updates (#632) (baf13f3)
- example: Bump the dependencies group in /examples/nextjs-14-authjs-5 with 4 updates (#598) (bd3ae6e)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-rl with 2 updates (#625) (a08a5b3)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-rl with 5 updates (#594) (a53aa2d)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-shield with 5 updates (#599) (43fc6e6)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 2 updates (#627) (2ebf3fe)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 4 updates (#593) (e250755)
- example: Bump the dependencies group in /examples/nextjs-14-ip-details with 2 updates (#629) (235599c)
- example: Bump the dependencies group in /examples/nextjs-14-ip-details with 4 updates (#602) (56b8338)
- example: Bump the dependencies group in /examples/nextjs-14-nextauth-4 with 2 updates (#633) (10aa44e)
- example: Bump the dependencies group in /examples/nextjs-14-nextauth-4 with 4 updates (#601) (e9cd5ee)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 3 updates (#630) (f381437)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 2 updates (#623) (a499f3f)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 4 updates (#591) (0d6a7d5)
- example: Bump the dependencies group in /examples/nextjs-14-react-hook-form with 9 updates (#603) (a46de79)
- example: Bump the dependencies group in /examples/nodejs-hono-rl with 2 updates (#580) (e49db56)
📝 Documentation
- examples: Add missing Vercel external-id (#617) (cb59c81)
- examples: Fix build warnings (#616) (e2cbd2a)
- examples: Fix deploy button rendering (#614) (515168b)
- examples: Remove redirect from deploy button (#615) (2f93ba6)
- examples: Remove shield from rule (1eb02d2)
- examples: Remove shield from rules (#613) ([1eb02d2](1eb02d2...
v1.0.0-alpha.11
1.0.0-alpha.11 (2024-04-08)
🚀 New Features
📦 Dependencies
- Bump @bufbuild/protobuf from 1.7.2 to 1.8.0 (#377) (5253740)
- Bump eslint-config-next from 14.1.3 to 14.1.4 (#403) (119245b)
- Bump eslint-config-turbo from 1.12.5 to 1.13.2 (#488) (b6ab105)
- Bump eslint-plugin-react from 7.34.0 to 7.34.1 (#388) (5ff4950)
- Bump undici from 5.28.3 to 5.28.4 (#505) (0ffa608)
- dev: Bump @bytecodealliance/jco from 1.0.3 to 1.1.1 (#473) (4584fe4)
- dev: Bump @rollup/wasm-node from 4.13.0 to 4.13.2 (#472) (0268e51)
- dev: Bump @rollup/wasm-node from 4.13.2 to 4.14.0 (#493) (ac14f3f)
- dev: Bump @rollup/wasm-node from 4.14.0 to 4.14.1 (#519) (f859c0e)
- dev: Bump typescript from 5.4.2 to 5.4.3 (#412) (a69b76b)
- dev: Bump typescript from 5.4.3 to 5.4.4 (#509) (8976fb1)
- example: Bump express from 4.18.3 to 4.19.2 in /examples/nodejs-express-rl (#459) (ee1af9d)
- example: Bump express from 4.18.3 to 4.19.2 in /examples/nodejs-express-validate-email (#461) (d45953e)
- example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 2 updates (#504) (ebe7548)
- example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 6 updates (#462) (7e7affe)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 2 updates (#498) (c30357f)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 7 updates (#463) (6181c38)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 2 updates (#496) (67031c3)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 7 updates (#466) (3a45ae4)
- example: Bump the dependencies group in /examples/nextjs-14-authjs-5 with 4 updates (#495) (b9b3c3b)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-rl with 8 updates (#506) (3635c13)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-shield with 8 updates (#507) (f2c5c94)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 2 updates (#500) (8bb40cc)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 7 updates (#465) (b13a8e6)
- example: Bump the dependencies group in /examples/nextjs-14-nextauth-4 with 2 updates (#502) (f4b24b5)
- example: Bump the dependencies group in /examples/nextjs-14-nextauth-4 with 7 updates (#468) (6ab6cdb)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 4 updates (#501) (cde203b)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 9 updates (#467) (f3d785e)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 7 updates (#503) (cfb84e1)
- example: Bump the dependencies group in /examples/nextjs-example with 1 update (#402) (79911af)
- example: Bump the dependencies group in /examples/nodejs-express-rl with 1 update (#438) (da12423)
📝 Documentation
- examples: Added Auth.js 5 example app (#432) (b7a1901)
- examples: Added NextAuth 4 example app (#423) (b218ebd)
🧹 Miscellaneous Chores
v1.0.0-alpha.10
1.0.0-alpha.10 (2024-03-13)
⚠ BREAKING CHANGES
- Switch Next.js to peer dependency (#339)
🚀 New Features
📦 Dependencies
- Bump eslint-config-next from 14.1.1 to 14.1.3 (#322) (9b99345)
- Bump eslint-config-turbo from 1.12.4 to 1.12.5 (#340) (3d28dd9)
- Bump next from 14.1.1 to 14.1.3 (#323) (0bad5fe)
- dev: Bump @bytecodealliance/jco from 1.0.2 to 1.0.3 (#365) (bb1470e)
- dev: Bump @rollup/wasm-node from 4.12.0 to 4.12.1 (#320) (7f07a8f)
- dev: Bump @rollup/wasm-node from 4.12.1 to 4.13.0 (#359) (8658316)
- dev: Bump typescript from 5.3.3 to 5.4.2 (#321) (e0c2914)
- example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 1 update (#366) (62a3e7f)
- example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 3 updates (#332) (5083415)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 1 update (#348) (29b2259)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 1 update (#361) (291ad58)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 3 updates (#330) (505c886)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 1 update (#352) (ce76dcb)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 1 update (#358) (71847b9)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 3 updates (#326) (322311e)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-rl with 1 update (#349) (1f4e1d4)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-rl with 1 update (#362) (2d3f8eb)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-rl with 3 updates (#329) (3797b6b)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-shield with 1 update (#357) (e35d530)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-shield with 3 updates (#327) (12cf78b)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 1 update (#350) (51a21cf)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 1 update (#354) (4267d44)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 3 updates (#331) (2641ffe)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 1 update (#360) (cc7f381)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 2 updates (#346) (a5db5a9)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 4 updates (#328) (d927ecc)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 1 update (#347) (adb1a83)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 1 update (#355) (aca306b)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 3 updates (#325) (2bbf20d)
- example: Bump the dependencies group in /examples/nextjs-example with 1 update (#324) (4bf8997)
- Update trunk and linter (#363) (b6ab8a6)
📝 Documentation
- examples: Add Node.js express server validate email example (#343) (fc6c6a8)
- examples: Added Node.js Express server example (#333) (f398c28)
🧹 Miscellaneous Chores
- analyze: Replace node import with crypto global (#335) (bcc27f2)
- ci: Ensure dependabot doesn't update next to 14 in 13 example (#364) (32e4cc7)
- examples: Leverage semver so next gets updated by dependabot (#345) (58b6d2e)
- Make next a peerDep in our eslint package (#344) (89de5a8)
- Switch Next.js to peer dependency (#339) (cb82883)
v1.0.0-alpha.9
1.0.0-alpha.9 (2024-03-04)
⚠ BREAKING CHANGES
- Remove logger from context and leverage singleton logger instead (#260)
- Separate ArcjetRequest and ArcjetRequestDetails types to accept record of headers (#228)
🚀 New Features
- Add
withRule
API for adding adhoc rules (#245) (f8ebbdc), closes #193 - Add decorate package to set rate limit headers (#247) (232750d)
- decorate: Allow decorating Headers object directly (#266) (0bfdcc7)
- Implement initial nodejs SDK (#268) (6273296)
- Separate ArcjetRequest and ArcjetRequestDetails types to accept record of headers (#228) (4950364), closes #33
📦 Dependencies
- Bump eslint-config-next from 14.1.0 to 14.1.1 (#279) (0e0e1ab)
- Bump eslint-config-turbo from 1.12.3 to 1.12.4 (#231) (f495f1b)
- Bump eslint-plugin-react from 7.33.2 to 7.34.0 (#280) (97cf82b)
- Bump next from 14.1.0 to 14.1.1 (#281) (c568890)
- dev: Bump @edge-runtime/jest-environment from 2.3.9 to 2.3.10 (#229) (6f3a070)
- dev: Bump @rollup/wasm-node from 4.10.0 to 4.12.0 (#235) (cf7ffc2)
- dev: Bump @rollup/wasm-node from 4.9.6 to 4.10.0 (#223) (47c24b4)
- dev: Bump eslint from 8.56.0 to 8.57.0 (#249) (49972a9)
- example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 1 update (#243) (7c5cb6f)
- example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 2 updates (#259) (7aa9316)
- example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 3 updates (#291) (02c9312)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 1 update (#241) (17b57c5)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 2 updates (#256) (7a40bb7)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 3 updates (#286) (6595327)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 1 update (#239) (dce121f)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 2 updates (#257) (2d690a6)
- example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 3 updates (#288) (94d4cd4)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-rl with 5 updates (#295) (4dc786b)
- example: Bump the dependencies group in /examples/nextjs-14-clerk-shield with 5 updates (#293) (8d46255)
- example: Bump the dependencies group in /examples/nextjs-14-decorate with 4 updates (#292) (b9bde97)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 3 updates (#240) (b6c2257)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 3 updates (#255) (08612b5)
- example: Bump the dependencies group in /examples/nextjs-14-openai with 5 updates (#289) (aa68d70)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 1 update (#242) (45e7999)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 2 updates (#258) (7dfdd1e)
- example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 3 updates (#287) (183bccf)
- example: Bump the dependencies group in /examples/nextjs-example with 1 update (#294) (f3e857f)
📝 Documentation
- Add node SDK and move core to utility section (#290) (b6683a5)
- examples: Added example apps for Clerk integration (#244) (95c7abd)
- examples: Expanded AI example with rate limit by user ID (#221) (915d3fc)
- Update HTTP version (#227) (c102c64)
🧹 Miscellaneous Chores
- Add bugs and author info & update readme (#254) (9b0d2fc)
- ci: Add newer examples to required checks (#299) (43e61d2)
- ci: Disable next.js 13 required check (#298) (9b46606)
- ci: Update dependabot to check all examples (#284) (e681904)
- ci: Update harden-runner, set policy to block, restrict permissions (#297) (deaecaa)
- examples: Disable telemetry to tighten harden-runner (#296) ([cf9fe38](cf9fe384df7f2b62...
v1.0.0-alpha.8
1.0.0-alpha.8 (2024-02-09)
⚠ BREAKING CHANGES
- Handle TTL as seconds instead of milliseconds (#211)
- Add fixedWindow, tokenBucket, and slidingWindow primitives (#184)
- Remove timeout property on ArcjetRateLimitRule (#182)
- Remove count property on ArcjetRateLimitReason (#181)
- Required of props should always be required (#180)
- Build extra field from unknown request properties (#179)
- protocol: Introduce Shield name (#158)
- Limit
ARCJET_BASE_URL
to small set of allowed URLs (#83)
🚀 New Features
- Add fixedWindow, tokenBucket, and slidingWindow primitives (#184) (6701b02)
- Allow user-defined characteristics on rate limit options (#203) (dc5b001)
- Build extra field from unknown request properties (#179) (2576341)
- Limit
ARCJET_BASE_URL
to small set of allowed URLs (#83) (d9184ea) - Support cookies and query via the protocol (#214) (ca0cd64)
- Support duration strings or integers on rate limit configuration (#192) (b173d83)
🪲 Bug Fixes
- Handle TTL as seconds instead of milliseconds (#211) (c2d3dd0)
- Required of props should always be required (#180) (1f92885)
📦 Dependencies
- bump @bufbuild/protobuf from 1.6.0 to 1.7.2 (#167) (c7dbdba)
- bump @connectrpc/connect from 1.2.1 to 1.3.0 (#126) (40db7f3)
- bump @rollup/plugin-typescript from 11.1.5 to 11.1.6 (#127) (8f9e34a)
- Bump
@connectrpc/connect-web
from 1.2.0 to 1.2.1 (#101) (28f4a50) - Bump
@connectrpc/connect-web
from 1.2.1 to 1.3.0 (#120) (289446d) - Bump
@connectrpc/connect
from 1.2.0 to 1.2.1 (#100) (74013ef) - Bump
ai
from 2.2.30 to 2.2.31 in /examples/nextjs-14-openai (#99) (be8c23b) - Bump
eslint-config-turbo
from 1.11.2 to 1.11.3 (#107) (b01f418) - Bump
openai
from 4.24.1 to 4.24.2 in /examples/nextjs-14-openai (#121) (705f871) - bump eslint-config-next from 14.0.4 to 14.1.0 (#147) (a44b3f6)
- bump eslint-config-turbo from 1.11.3 to 1.12.3 (#198) (4bd458c)
- bump next from 14.0.4 to 14.1.0 (#148) (6753117)
- bump typeid-js from 0.3.0 to 0.5.0 (#176) (fadf89f)
- dev: bump @edge-runtime/jest-environment from 2.3.7 to 2.3.8 (#154) (9c4ed39)
- dev: bump @edge-runtime/jest-environment from 2.3.8 to 2.3.9 (#196) (8bc0a8f)
- dev: bump @rollup/wasm-node from 4.9.1 to 4.9.2 (#97) (eff4226)
- dev: bump @rollup/wasm-node from 4.9.2 to 4.9.4 (#119) (ec50b96)
- dev: bump @rollup/wasm-node from 4.9.4 to 4.9.5 (#131) (9fff856)
- dev: bump @rollup/wasm-node from 4.9.5 to 4.9.6 (#152) (3e54cff)
- dev: Bump
@types/react
from 18.2.45 to 18.2.46 (#96) (fe666c6) - dev: Bump
@types/react
from 18.2.45 to 18.2.46 in /examples/nextjs-13-pages-wrap (#94) (c21a5e6) - dev: Bump
@types/react
from 18.2.45 to 18.2.46 in /examples/nextjs-14-app-dir-validate-email (#93) (90e1965) - dev: Bump
@types/react
from 18.2.45 to 18.2.46 in /examples/nextjs-14-openai (#98) (8c63a63) - dev: Bump
@types/react
from 18.2.45 to 18.2.46 in /examples/nextjs-14-pages-wrap (#95) (3ffec0d) - dev: Bump
@types/react
from 18.2.46 to 18.2.47 in /examples/nextjs-13-pages-wrap (#116) (1341acc) - dev: Bump
@types/react
from 18.2.46 to 18.2.47 in /examples/nextjs-14-app-dir-rl (#113) (7e8ae3c) - dev: Bump
@types/react
from 18.2.46 to 18.2.47 in /examples/nextjs-14-app-dir-validate-email (#111) (e160ce1) - dev: Bump
@types/react
from 18.2.46 to 18.2.47 in /examples/nextjs-14-openai (#110) (410d396) - dev: Bump
@types/react
from 18.2.46 to 18.2.47 in /examples/nextjs-14-pages-wrap (#118) (ab05d24) - dev: Bump
postcss
from 8.4.32 to 8.4.33 in /examples/nextjs-13-pages-wrap (#103) (a3cd7f0) - dev: Bump
postcss
from 8.4.32 to 8.4.33 in /examples/nextjs-14-app-dir-rl (#105) (e90fc74) - dev: Bump
postcss
from 8.4.32 to 8.4.33 in /examples/nextjs-14-app-dir-validate-email (#102) (b0df5a2) - dev: Bump
postcss
from 8.4.32 to 8.4.33 in /examples/nextjs-14-openai (#104) (2192e3e) - **d...
v1.0.0-alpha.7
1.0.0-alpha.7 (2023-12-21)
⚠ BREAKING CHANGES
- Reorganize SDK types to tighten helpers around custom props (#18)
🪲 Bug Fixes
📦 Dependencies
✅ Continuous Integration
v1.0.0-alpha.6
1.0.0-alpha.6 (2023-12-18)
⚠ BREAKING CHANGES
- Pass ArcjetContext to rules (#65)
🚀 New Features
🪲 Bug Fixes
- next: Avoid appending
?
if querystring is empty (#71) (16ca958) - next: Stop using NextUrl to avoid type conflict across version (#62) (294540a)
- Wrap timeout default ternary so timeout option takes effect (#66) (d49ebd2)
🧹 Miscellaneous Chores
- Add pre and post logging to remote client (#70) (46fd6b3)
- deps-dev: Bump the dev-dependencies group with 2 updates (#55) (94839f3)
- deps: Bump the dependencies group with 2 updates (#54) (9c68aa2)
- Disallow configuring timeout for report (#67) (ae8f1b7)
- examples: Add Next 13 wrap example (294540a)
- rollup: Fail compilation on type check failure (#68) (b9a373b)