Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/evil-heads-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@posthog/core': patch
---

export log level type
5 changes: 5 additions & 0 deletions .changeset/stale-lies-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@posthog/rollup-plugin': major
---

first version
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ module.exports = {
'packages/react-native/**',
'packages/node/**',
'packages/web/**',
'packages/rollup-plugin/**',
'examples/**',
'playground/**',
],
Expand Down
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ packages/browser/src/sessionid.ts @PostHog/team-web-analyti
packages/browser/src/session-props.ts @PostHog/team-web-analytics
packages/browser/src/utils/blocked-uas.ts @PostHog/team-web-analytics
packages/browser/src/consent.ts @PostHog/team-web-analytics

# Error tracking
packages/rollup-plugin/ @PostHog/team-error-tracking
packages/nuxt/ @PostHog/team-error-tracking
packages/nextjs-config/ @PostHog/team-error-tracking
packages/core/src/process/ @PostHog/team-error-tracking
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ _Please describe._
- [ ] @posthog/ai
- [ ] @posthog/nextjs-config
- [ ] @posthog/nuxt
- [ ] @posthog/rollup-plugin

## Additional context

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ _Please describe._
- [ ] @posthog/ai
- [ ] @posthog/nextjs-config
- [ ] @posthog/nuxt
- [ ] @posthog/rollup-plugin

## Additional context

Expand Down
27 changes: 14 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: "@posthog/ai"
- name: "@posthog/nextjs-config"
- name: "@posthog/nuxt"
- name: "@posthog/rollup-plugin"

steps:
- name: Checkout the repository
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
package_version: ${{ steps.check-package-version.outputs.committed-version }}
npm_token: ${{ secrets.NPM_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Dispatch generate-references for ${{ matrix.package.name }}
if: steps.check-package-version.outputs.is-new-version == 'true'
env:
Expand Down Expand Up @@ -104,15 +105,15 @@ jobs:
if: ${{ failure() }}
uses: PostHog/[email protected]
with:
posthog-token: '${{ secrets.POSTHOG_API_TOKEN }}'
event: 'posthog-js-github-release-workflow-failure'
properties: >-
{
"commitSha": "${{ github.sha }}",
"jobStatus": "${{ job.status }}",
"commitMessage": "${{ github.event.head_commit.message }}",
"commitAuthor": "${{ github.event.head_commit.author.name }}",
"ref": "${{ github.ref }}",
"matrixPackage": "${{ matrix.package.name }}",
"packageVersion": "${{ steps.check-package-version.outputs.committed-version }}"
}
posthog-token: "${{ secrets.POSTHOG_API_TOKEN }}"
event: "posthog-js-github-release-workflow-failure"
properties: >-
{
"commitSha": "${{ github.sha }}",
"jobStatus": "${{ job.status }}",
"commitMessage": "${{ github.event.head_commit.message }}",
"commitAuthor": "${{ github.event.head_commit.author.name }}",
"ref": "${{ github.ref }}",
"matrixPackage": "${{ matrix.package.name }}",
"packageVersion": "${{ steps.check-package-version.outputs.committed-version }}"
}
2 changes: 1 addition & 1 deletion examples/example-expo-53/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://docs.expo.dev/guides/using-eslint/
module.exports = {
ignorePatterns: ['metro.config.js'],
ignorePatterns: ['metro.config.js', 'eslint.config.js'],
env: {
node: true,
es6: true,
Expand Down
1 change: 1 addition & 0 deletions examples/example-nextjs/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default withPostHogConfig(nextConfig, {
personalApiKey: process.env.POSTHOG_PERSONAL_API_KEY!,
envId: process.env.POSTHOG_API_PROJECT!,
host: process.env.NEXT_PUBLIC_POSTHOG_API_HOST!,
cliBinaryPath: process.env.POSTHOG_CLI_PATH, // Optional
logLevel: 'debug',
sourcemaps: {
project: 'example-nextjs',
Expand Down
Loading
Loading