|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [1.0.0-beta.11](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2025-09-03) |
| 4 | + |
| 5 | + |
| 6 | +### ⚠ BREAKING CHANGES |
| 7 | + |
| 8 | +* **redact:** improve types around custom entities ([#4883](https://github.com/arcjet/arcjet-js/issues/4883)) |
| 9 | +* **protocol:** remove enum-like objects ([#5053](https://github.com/arcjet/arcjet-js/issues/5053)) |
| 10 | +* **env:** remove support for explicit port on orb ([#4988](https://github.com/arcjet/arcjet-js/issues/4988)) |
| 11 | + |
| 12 | +### 🚀 New Features |
| 13 | + |
| 14 | +* add filter rule ([#4802](https://github.com/arcjet/arcjet-js/issues/4802)) ([40953e1](https://github.com/arcjet/arcjet-js/commit/40953e1c704eea2765a6cb8231a781df547af90c)) |
| 15 | +* **env:** Support trailing slashes on ARCJET_BASE_URL ([#5035](https://github.com/arcjet/arcjet-js/issues/5035)) ([db1a4ac](https://github.com/arcjet/arcjet-js/commit/db1a4ac2fd713db1f9b03825eb81ea1199fdaa4a)) |
| 16 | +* **ip:** expose `Cidr` type ([#4877](https://github.com/arcjet/arcjet-js/issues/4877)) ([96674f4](https://github.com/arcjet/arcjet-js/commit/96674f447e4f79d0592453f548bdb706ac30b49a)) |
| 17 | + |
| 18 | + |
| 19 | +### 🪲 Bug Fixes |
| 20 | + |
| 21 | +* **env:** remove support for explicit port on orb ([#4988](https://github.com/arcjet/arcjet-js/issues/4988)) ([3e601d7](https://github.com/arcjet/arcjet-js/commit/3e601d7929c5e3a13160a9c61925465887a80a7b)) |
| 22 | +* **protocol:** Remove change that disjoined IP details and assertions ([#4859](https://github.com/arcjet/arcjet-js/issues/4859)) ([#4913](https://github.com/arcjet/arcjet-js/issues/4913)) ([3304e9c](https://github.com/arcjet/arcjet-js/commit/3304e9c4280cf616f6a7f6466b8088e796425e53)) |
| 23 | +* **types:** remove need for `dom.iterable`, `dom`, lib ([#5047](https://github.com/arcjet/arcjet-js/issues/5047)) ([fba8564](https://github.com/arcjet/arcjet-js/commit/fba85640bd24f1ab2906b1e43159d9e8dc89fd37)) |
| 24 | + |
| 25 | + |
| 26 | +### 📝 Documentation |
| 27 | + |
| 28 | +* add info on derivative works to license sections ([#4654](https://github.com/arcjet/arcjet-js/issues/4654)) ([d427c39](https://github.com/arcjet/arcjet-js/commit/d427c394098b4dfde8756a7d8ab25eb291b278a0)) |
| 29 | +* add JSDocs to exposed API in 10 utilities ([#4741](https://github.com/arcjet/arcjet-js/issues/4741)) ([f836ea2](https://github.com/arcjet/arcjet-js/commit/f836ea2533cf4726a7cacd3462ea1770801e9889)) |
| 30 | +* **analyze-wasm:** add JSDocs ([#4996](https://github.com/arcjet/arcjet-js/issues/4996)) ([e7a4ba6](https://github.com/arcjet/arcjet-js/commit/e7a4ba6193d63a2b1d95e19eec22f264e86b7c18)) |
| 31 | +* **arcjet:** add JSDocs ([#4997](https://github.com/arcjet/arcjet-js/issues/4997)) ([de57d5e](https://github.com/arcjet/arcjet-js/commit/de57d5e68864b620c2b9e76c97866565e602afb6)) |
| 32 | +* **astro:** add JSDocs ([#5015](https://github.com/arcjet/arcjet-js/issues/5015)) ([131e781](https://github.com/arcjet/arcjet-js/commit/131e7814b2ff0cc8ce76e3b2236b581f28efbf9a)) |
| 33 | +* **bun:** add JSDocs ([#5018](https://github.com/arcjet/arcjet-js/issues/5018)) ([a9e946a](https://github.com/arcjet/arcjet-js/commit/a9e946aac2b59a87431cc19de0d6d6b48a4b1a79)) |
| 34 | +* **deno:** add JSDocs ([#5031](https://github.com/arcjet/arcjet-js/issues/5031)) ([18a2700](https://github.com/arcjet/arcjet-js/commit/18a27006f2934d9716edf8fd892bf988ed5e74c7)) |
| 35 | +* **examples:** remove unneeded port from steps ([#4987](https://github.com/arcjet/arcjet-js/issues/4987)) ([a908b16](https://github.com/arcjet/arcjet-js/commit/a908b162aa6f7578d469b569e8bf156927ad178a)) |
| 36 | +* **fastify:** refactor JSDocs ([#5032](https://github.com/arcjet/arcjet-js/issues/5032)) ([9c7405f](https://github.com/arcjet/arcjet-js/commit/9c7405f4db86353758e4b4e17fc360aff7e512f5)) |
| 37 | +* **logger:** add JSDocs ([#4839](https://github.com/arcjet/arcjet-js/issues/4839)) ([107c145](https://github.com/arcjet/arcjet-js/commit/107c1455cc2ae36bbc75909097a50c67a4e67129)) |
| 38 | +* **nest:** add JSDocs ([#5034](https://github.com/arcjet/arcjet-js/issues/5034)) ([0ff6b3f](https://github.com/arcjet/arcjet-js/commit/0ff6b3fc1b74943d8e08e56678646c4ef2785d1b)) |
| 39 | +* **next:** refactor JSDocs ([#5038](https://github.com/arcjet/arcjet-js/issues/5038)) ([fc61a27](https://github.com/arcjet/arcjet-js/commit/fc61a279906c789a6d5cb7bab12a4cd6135f103a)) |
| 40 | +* **node:** add JSDocs ([#5039](https://github.com/arcjet/arcjet-js/issues/5039)) ([309738a](https://github.com/arcjet/arcjet-js/commit/309738ac009d3986d27ba34e30dc23604f4e6aba)) |
| 41 | +* **nosecone-next:** add JSDocs ([#4841](https://github.com/arcjet/arcjet-js/issues/4841)) ([689ea3c](https://github.com/arcjet/arcjet-js/commit/689ea3c94ef75d574466190c5938a016932801bc)) |
| 42 | +* **nosecone-sveltekit:** add JSDocs ([#4842](https://github.com/arcjet/arcjet-js/issues/4842)) ([de708af](https://github.com/arcjet/arcjet-js/commit/de708af03090b2c6f299067719d3e038d4e44063)) |
| 43 | +* **nosecone:** add derivative works to readme ([#4854](https://github.com/arcjet/arcjet-js/issues/4854)) ([73f2bcb](https://github.com/arcjet/arcjet-js/commit/73f2bcb87faca426938d5186287321be6e3f8915)) |
| 44 | +* **nosecone:** add JSDocs ([#4840](https://github.com/arcjet/arcjet-js/issues/4840)) ([ead53e5](https://github.com/arcjet/arcjet-js/commit/ead53e510ecb93ded2400557333868eed63875bb)) |
| 45 | +* **protocol:** add JSDocs ([#4851](https://github.com/arcjet/arcjet-js/issues/4851)) ([c1021e9](https://github.com/arcjet/arcjet-js/commit/c1021e9b6319297d718f2926fcccab2a28a91a93)) |
| 46 | +* **readme:** fix list of example apps ([#4891](https://github.com/arcjet/arcjet-js/issues/4891)) ([36ea1ca](https://github.com/arcjet/arcjet-js/commit/36ea1ca0f3adfb05f99f7856b3101d2b7c326075)) |
| 47 | +* **readme:** fix list of quick start guides ([#4890](https://github.com/arcjet/arcjet-js/issues/4890)) ([e90d6e4](https://github.com/arcjet/arcjet-js/commit/e90d6e4c51848da17b3d082e757563149704a2a0)) |
| 48 | +* **redact-wasm:** add JSDocs ([#4844](https://github.com/arcjet/arcjet-js/issues/4844)) ([e187ff8](https://github.com/arcjet/arcjet-js/commit/e187ff855e1f4873957b131f747bd7cb876ee25a)) |
| 49 | +* **redact:** add JSDocs ([#4843](https://github.com/arcjet/arcjet-js/issues/4843)) ([b6b14bb](https://github.com/arcjet/arcjet-js/commit/b6b14bb5e5b161d334a1fcd6eb6ed7f565c49f24)) |
| 50 | +* **remix:** add JSDocs ([#5049](https://github.com/arcjet/arcjet-js/issues/5049)) ([4a9efcf](https://github.com/arcjet/arcjet-js/commit/4a9efcf377364b20a930f4a4ce7a1b2172fc296d)) |
| 51 | +* **rollup-config:** add JSDocs ([#4845](https://github.com/arcjet/arcjet-js/issues/4845)) ([3b5b477](https://github.com/arcjet/arcjet-js/commit/3b5b477f6087e3374c778a0749e5cb5c798e5908)) |
| 52 | +* **runtime:** add JSDocs ([#4846](https://github.com/arcjet/arcjet-js/issues/4846)) ([a740694](https://github.com/arcjet/arcjet-js/commit/a7406942dbeed93304e0724228e745040ee93822)) |
| 53 | +* **sprintf:** add JSDocs ([#4847](https://github.com/arcjet/arcjet-js/issues/4847)) ([a5b5084](https://github.com/arcjet/arcjet-js/commit/a5b50840f13ee03371166fa2655a54180d30aacc)) |
| 54 | +* **sprintf:** add JSDocs ([#4848](https://github.com/arcjet/arcjet-js/issues/4848)) ([d9b0adb](https://github.com/arcjet/arcjet-js/commit/d9b0adb94c243cf5894f64005ad722ad4264145d)) |
| 55 | +* **stable-hash:** add derivative work to readme ([#4858](https://github.com/arcjet/arcjet-js/issues/4858)) ([b693f2b](https://github.com/arcjet/arcjet-js/commit/b693f2b7125076edc19a15b58e5e8f0a8d226175)) |
| 56 | +* **sveltekit:** add JSDocs ([#5050](https://github.com/arcjet/arcjet-js/issues/5050)) ([8077f9c](https://github.com/arcjet/arcjet-js/commit/8077f9cd7b77f46e9a6d0e318404a94b70ae7151)) |
| 57 | +* **transport:** add JSDocs ([#4849](https://github.com/arcjet/arcjet-js/issues/4849)) ([a59390b](https://github.com/arcjet/arcjet-js/commit/a59390be6c248d641f910fe4ed4a72f8119fe1f1)) |
| 58 | + |
| 59 | + |
| 60 | +### 🧹 Miscellaneous Chores |
| 61 | + |
| 62 | +* **decorate:** add type errors for invalid values ([#4865](https://github.com/arcjet/arcjet-js/issues/4865)) ([0f73483](https://github.com/arcjet/arcjet-js/commit/0f73483b8e8430af9d327a880a363b54bf4ef2fe)) |
| 63 | +* **example:** Update Gatsby overrides ([#5036](https://github.com/arcjet/arcjet-js/issues/5036)) ([fd0b115](https://github.com/arcjet/arcjet-js/commit/fd0b11576083691e73669a571458205f9a93f95c)) |
| 64 | +* **headers:** expose named export, deprecate default ([#4860](https://github.com/arcjet/arcjet-js/issues/4860)) ([8d716b9](https://github.com/arcjet/arcjet-js/commit/8d716b99430470a842f2648092736098abdaab66)) |
| 65 | +* **ip:** expose named export, deprecate default ([#4876](https://github.com/arcjet/arcjet-js/issues/4876)) ([fcb83a3](https://github.com/arcjet/arcjet-js/commit/fcb83a304e1b9ba16b788e7a1209a61af2193f94)) |
| 66 | +* **logger:** rename `LoggerOptions` to `Options` ([#4874](https://github.com/arcjet/arcjet-js/issues/4874)) ([78962de](https://github.com/arcjet/arcjet-js/commit/78962de6ef97485f1aa8c24fabbfb70cab414fee)) |
| 67 | +* normalize `package-lock.json` ([#4794](https://github.com/arcjet/arcjet-js/issues/4794)) ([e17962b](https://github.com/arcjet/arcjet-js/commit/e17962be6f229186817001ff5a4f7f7d78c31e47)) |
| 68 | +* **nosecone-next:** expose named export, deprecate default ([#4879](https://github.com/arcjet/arcjet-js/issues/4879)) ([605e647](https://github.com/arcjet/arcjet-js/commit/605e647fbc721e841bf037fe59f47a6089ec7f37)) |
| 69 | +* **nosecone-sveltekit:** expose named export, deprecate default ([#4880](https://github.com/arcjet/arcjet-js/issues/4880)) ([d0e9aaf](https://github.com/arcjet/arcjet-js/commit/d0e9aaf83c7b3fc2609ade169af4641308d8c513)) |
| 70 | +* **nosecone:** expose `Options`, deprecate `NoseconeOptions` ([#4855](https://github.com/arcjet/arcjet-js/issues/4855)) ([c504315](https://github.com/arcjet/arcjet-js/commit/c5043154836c04d3106be333c418682212b9602f)) |
| 71 | +* **nosecone:** expose named export, deprecate default ([#4878](https://github.com/arcjet/arcjet-js/issues/4878)) ([e7607de](https://github.com/arcjet/arcjet-js/commit/e7607de8dd79f12ec28f0a50a7fb835955520365)) |
| 72 | +* **protocol:** add `hasAsn`, deprecate `hasASN` ([#4889](https://github.com/arcjet/arcjet-js/issues/4889)) ([4990e80](https://github.com/arcjet/arcjet-js/commit/4990e8084ae193c20955e76abe7a1619eac82a80)) |
| 73 | +* **protocol:** remove enum-like objects ([#5053](https://github.com/arcjet/arcjet-js/issues/5053)) ([cc76e1c](https://github.com/arcjet/arcjet-js/commit/cc76e1cf778e8d6d69a3023d61164908d39299ce)) |
| 74 | +* **sprintf:** expose named export, deprecate default ([#4875](https://github.com/arcjet/arcjet-js/issues/4875)) ([a2624b4](https://github.com/arcjet/arcjet-js/commit/a2624b4998e2e9d05e83b417411eb3cddfcab18b)) |
| 75 | +* **tsconfig:** remove `@arcjet/tsconfig` ([#5022](https://github.com/arcjet/arcjet-js/issues/5022)) ([fdca6a9](https://github.com/arcjet/arcjet-js/commit/fdca6a9b052fa6711cc56f81b46b19bd6aa7acbb)) |
| 76 | + |
| 77 | + |
| 78 | +### ⌨️ Code Refactoring |
| 79 | + |
| 80 | +* **ip:** rename identifiers to match other casing ([#4723](https://github.com/arcjet/arcjet-js/issues/4723)) ([4cbd844](https://github.com/arcjet/arcjet-js/commit/4cbd84471216eee6183a686774897bc7ce95f348)) |
| 81 | +* **logger:** replace abbreviations with words ([#4853](https://github.com/arcjet/arcjet-js/issues/4853)) ([de963dc](https://github.com/arcjet/arcjet-js/commit/de963dc45df4ecbd4fe15127ca945f1934466ba0)) |
| 82 | +* **logger:** use more specific type than `unknown` ([#4873](https://github.com/arcjet/arcjet-js/issues/4873)) ([5025378](https://github.com/arcjet/arcjet-js/commit/5025378577b40a2c6dad9a41929bca94aedf6a4b)) |
| 83 | +* **protocol:** remove unneeded type utility ([#4859](https://github.com/arcjet/arcjet-js/issues/4859)) ([0a638ae](https://github.com/arcjet/arcjet-js/commit/0a638ae8e2d680fbe3c33556f3011f4ad733f5ad)) |
| 84 | +* **redact:** improve types around custom entities ([#4883](https://github.com/arcjet/arcjet-js/issues/4883)) ([0b09945](https://github.com/arcjet/arcjet-js/commit/0b0994591a2e344c5102089cf83cf0613d506cfe)) |
| 85 | +* **redact:** remove repetition in code ([#4881](https://github.com/arcjet/arcjet-js/issues/4881)) ([191ccb7](https://github.com/arcjet/arcjet-js/commit/191ccb7105e6cc6f8e949ff56163dba0758c5d79)) |
| 86 | +* **redact:** reuse exposed types ([#4856](https://github.com/arcjet/arcjet-js/issues/4856)) ([2380307](https://github.com/arcjet/arcjet-js/commit/2380307a7b82ed1a9dc4c3bb3167475a9cfe12eb)) |
| 87 | +* **sprintf:** replace abbreviations with words ([#4857](https://github.com/arcjet/arcjet-js/issues/4857)) ([13bac85](https://github.com/arcjet/arcjet-js/commit/13bac85d164ca6b86e78bd8cded03403abb087bc)) |
| 88 | + |
| 89 | + |
| 90 | +### 📚 Tests |
| 91 | + |
| 92 | +* **protocol:** add type guard tests for `ArcjetIpDetails` ([#4888](https://github.com/arcjet/arcjet-js/issues/4888)) ([98072bc](https://github.com/arcjet/arcjet-js/commit/98072bcb146f99f6983f9fe4dbe225b3c7e3fe82)) |
| 93 | + |
| 94 | + |
| 95 | +### ✅ Continuous Integration |
| 96 | + |
| 97 | +* lock actions to shas ([#4971](https://github.com/arcjet/arcjet-js/issues/4971)) ([5efd131](https://github.com/arcjet/arcjet-js/commit/5efd1311852a347f03c8a6e6ee127dfa79b53da4)) |
| 98 | + |
3 | 99 | ## [1.0.0-beta.10](https://github.com/arcjet/arcjet-js/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2025-08-04)
|
4 | 100 |
|
5 | 101 |
|
|
0 commit comments