Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit 3119ef2

Browse files
Version Packages (#54)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent e473304 commit 3119ef2

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

.changeset/silent-wasps-wait.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

example/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# example
22

3+
## 0.1.6
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e473304]
8+
- @happykit/flags@3.2.0
9+
310
## 0.1.5
411

512
### Patch Changes

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

package/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @happykit/flags
22

3+
## 3.2.0
4+
5+
### Minor Changes
6+
7+
- e473304: add Next.js [App Router](https://nextjs.org/blog/next-13-4#nextjs-app-router) support
8+
9+
HappyKit has a feature called `visitorKey`, you can learn more about it [here](https://flags.happykit.dev/demo/targeting-by-visitor-key). If you want to use this feature with App Router you need to set the cookie from middleware using the `ensureVisitorKeyCookie` from `@happykit/flags/edge`. See the `example/middleware.ts` file in this repository for an example of how to do this. This is necessary as App Router pages can not set any cookies when they render, so we have to fall back to setting the cookie from middleware instead. If you do not need the `visitorKey` for your custom evaluation rules or rollouts then you do not need to set the cookie from middleware.
10+
311
## 3.1.3
412

513
### Patch Changes

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@happykit/flags",
3-
"version": "3.1.3",
3+
"version": "3.2.0",
44
"description": "Feature Flags for Next.js",
55
"author": "Dominik Ferber <dominik.ferber+npm@gmail.com> (http://dferber.de/)",
66
"license": "MIT",

0 commit comments

Comments
 (0)