Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array 1.43.0 #5025

Merged
merged 39 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7c907fd
Create the-posthog-array-1-42-0 copy.md
joethreepwood Jan 9, 2023
8b9d6b6
Update the-posthog-array-1-42-0 copy.md
joethreepwood Jan 10, 2023
224aed3
Update the-posthog-array-1-42-0 copy.md
joethreepwood Jan 10, 2023
11853c2
Update contents/blog/the-posthog-array-1-42-0 copy.md
joethreepwood Jan 10, 2023
44b2e99
Updater page title
joethreepwood Jan 10, 2023
9dfeab5
Merge branch 'array-1-43-0' of https://github.com/PostHog/posthog.com…
joethreepwood Jan 10, 2023
4580994
Updates
joethreepwood Jan 10, 2023
ed54836
Update the-posthog-array-1-43-0.md
joethreepwood Jan 10, 2023
3c0bdda
Update the-posthog-array-1-43-0.md
joethreepwood Jan 10, 2023
d831350
Update the-posthog-array-1-43-0.md
joethreepwood Jan 10, 2023
ff989fd
Update the-posthog-array-1-43-0.md
joethreepwood Jan 10, 2023
dd1f9ee
Updated post
benjackwhite Jan 11, 2023
b09be72
Added highlights
benjackwhite Jan 11, 2023
bdc2627
Update contents/blog/the-posthog-array-1-43-0.md
joethreepwood Jan 11, 2023
33a0fc6
Update contents/blog/the-posthog-array-1-43-0.md
joethreepwood Jan 11, 2023
35b1b2b
Update contents/blog/the-posthog-array-1-43-0.md
joethreepwood Jan 11, 2023
143f1fe
Update contents/blog/the-posthog-array-1-43-0.md
joethreepwood Jan 11, 2023
c2da1f3
Update the-posthog-array-1-43-0.md
joethreepwood Jan 11, 2023
1e6f6d7
images
joethreepwood Jan 11, 2023
2837287
GIFS
joethreepwood Jan 11, 2023
a8a5b21
gifs
joethreepwood Jan 11, 2023
8d13919
Update the-posthog-array-1-43-0.md
joethreepwood Jan 11, 2023
8ac59fd
add snippet about roles
liyiy Jan 11, 2023
ad8e20d
Update contents/blog/the-posthog-array-1-43-0.md
benjackwhite Jan 12, 2023
8b6e42a
Update 1-43-0-seekbar.gif
joethreepwood Jan 12, 2023
77db5c8
gifffff
joethreepwood Jan 12, 2023
399ad35
Update the-posthog-array-1-43-0.md
joethreepwood Jan 12, 2023
d401fbf
Update the-posthog-array-1-43-0.md
joethreepwood Jan 12, 2023
51d2a8f
Update the-posthog-array-1-43-0.md
joethreepwood Jan 12, 2023
d15dde5
Add fixed WAU/MAU note
Twixes Jan 13, 2023
5f3bf7a
Update the-posthog-array-1-43-0.md
joethreepwood Jan 13, 2023
531bd26
Add files via upload
joethreepwood Jan 13, 2023
d3fd183
Update the-posthog-array-1-43-0.md
joethreepwood Jan 13, 2023
e520798
adding YouTube video
corywatilo Jan 16, 2023
5827c94
Correcting category and tags
andyvan-ph Jan 16, 2023
33e2705
Update contents/blog/the-posthog-array-1-43-0.md
joethreepwood Jan 16, 2023
2c5e573
Update the-posthog-array-1-43-0.md
joethreepwood Jan 16, 2023
5022f0a
Update the-posthog-array-1-43-0.md
joethreepwood Jan 16, 2023
7af00d8
Removing highlights index
joethreepwood Jan 16, 2023
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
133 changes: 133 additions & 0 deletions contents/blog/the-posthog-array-1-43-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
---
date: 2023-01-16
title: "Array 1.43.0: Massive performance improvements!"
rootPage: /blog
sidebar: Blog
showTitle: true
hideAnchor: true
category: PostHog news
tags:
- Product updates
- Release notes
featuredImage: ../images/blog/posthog-array-blog.png
featuredImageType: full
---

Want to know more about what we're up to? Check out [our roadmap](/roadmap) to see what we're working on and what new beta features are available! You can also subscribe to [our Hogmail newsletter](/newsletter)!


<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/TCyCryTiTbQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

> **Need to update a self-hosted instance?** [Check the runbook docs for instructions](/docs/runbook/upgrading-posthog)!

## PostHog 1.43.0 release notes

**Release highlights:**
- [New: Performance improvements](#new-performance-improvements)
- [New: Feature flag variant overrides](#new-feature-flag-variant-overrides)
- [New: Export recordings to file](#new-export-recordings-to-file)
- [New: Better insight searching](#new-better-insight-searching)
- [New: Role-based access for feature flags](#new-role-based-access-for-feature-flags)
- [New: Show event/property counts in persons modal](#new-show-eventproperty-counts-in-persons-modal)
- [Improved: More experiment variants and improved flow](#improved-more-experiment-variants-and-improved-flow)
- [Improved: Recording playback controls](#improved-recording-playback-controls)
- [Improved: Browsing recordings and creating playlists](#improved-browsing-recordings-and-creating-playlists)

### New: Performance improvements

Nobody likes waiting for results, so we've put a renewed focus into performance recently and shipped a huge number of improvements. Here are just some of the highlights:

- Added ClickHouse 22.8 support and optimized expensive queries to be up to 30% faster
- Updated trends queries to reduce cross-shard traffic significantly and speed up queries
- Reworked dashboard cache refresh logic so dashboards are more up-to-date
- Reduced dashboard API response size and deprecated the `items` field
- Updated dashboard filters to use cached data instead of refreshing immediately
- We no longer load dashboard data from redis twice and tiles are loaded in visual order
- Improved query cancellation logic when navigating away from trends or dashboards
- Improved Celery housekeeping tasks to require less ClickHouse resources
- Prevented home dashboards from loading twice
- Sped up the property filters modal

> To unlock the full benefits of Celery updates on a self-hosted instance of PostHog, please [run async migration 0008](/docs/runbook/async-migrations).

Last but not least, we now also have a [ClickHouse manual](/handbook/engineering/clickhouse) where we gather information about the database powering PostHog.

### New: Feature flag variant overrides
![flag overrides](../images/blog/array/1-43-0-feature-override.gif)

Ever created a multivariate feature flag, and wanted to show the control variant to specific users? Or, maybe you found a new cohort you'd like to add to the test variant? Now you can!

1.43.0 adds the ability to manually override variants via the flag edit screen. It's great for ensuring users get the intended experience, but is also useful for testing as it enables you to deterministically choose a variant, and test across client-side and server-side feature flags.

### New: Export recordings to file
![export recordings](../images/blog/array/1-43-0-export.gif)

Sometimes a recording can be so insightful, so important, that you think - "I want to keep a record of this forever." Well, now you can export any recording to a file and load it back into PostHog for playback in the future. Whether it is to commemorate your first sale or for compliance reasons, the tools are now in your hands.

### New: Role-based access for feature flags
![ff-roles](../images/blog/array/1-43-0-ff-roles.gif)

You can now create roles and group team members together, along with customizing feature flags access for team members! Having access control helps reduce accidental changes and ensures confidence when shipping a new feature.

### New: Better insight searching
![insight searching](../images/blog/array/1-43-0-search.gif)

We don't want searching for insights to be just functional. We want it to be a world-class, joy-sparking event! So, we've updated search to include the description field and any tags which have been applied.

This sounds like a small change, but it makes a massive difference for teams that organize data well and generate a lot of insights!

### New: Show event/property counts in persons modal
![persons modal](../images/blog/array/1-43-0-modal.gif)

We've updated the persons modal that appears when you select a data point on a query to show event and property counts on that person. This is especially helpful for finding out who your power users are, as you can quickly scan to see which users have completed an event the most!

### Improved: More experiment variants and improved flow
A regular complaint used to be that, if you made a mistake while making an experiment, you couldn't go back to fix it. Well, we fixed that so you can now:

1. Restart a running experiment while keeping everything the same and using the same feature flag key.
2. Change the main metric on a running experiment.
3. Change the secondary metrics on a running experiment.

Finally, as a bonus, you can now have up to nine variants in an experiment, instead of the usual three!

### Improved: Browsing recordings and creating playlists
Following up on our new playlists feature, we've improve the recordings UX to make browsing and pinning recordings as quick and intuitive as possible. You can now scroll the list of recordings independently of the player and creating a playlists of pinned recordings is much faster too!

### Improved: Recording playback controls
We've revamped the recording seekbar to make it easier to find user activity at a glance, to show where tracked events occur and display what time you're scrubbing to.

### Other improvements & fixes
You think that's it? Not by a long shot! Version 1.43 also adds hundreds of other improvements and fixes, including...

- **Improvement:** We made [a simpler, faster process for querying the recently viewed insights on your home page](https://github.com/PostHog/posthog/pull/13529)
- **Fix:** Webhooks for actions with null checks weren't firing correctly. [This is now fixed.](https://github.com/PostHog/posthog/issues/12893)
- **Fix:** Trends "Weekly active users" and "Monthly active users" aggregation options used to return "Total count" results for non-time-series chart types, such as pie chart or world map. [Now proper results – the actual count of weekly/monthly active users – are returned.](https://github.com/PostHog/posthog/issues/13131) The reference point for this calculation is the last day of the insight's time range (so for an insight with a range Aug 1-Sep 30, pie chart "Weekly active users" is the count of users between Sep 24 and 30, inclusive.)
- **Improvement:** [We've consolidated container build workflows and made changes to build and push multi-arch images](https://github.com/PostHog/posthog/pull/13543).
- **Improvement:** We've switched to use `pnpm` instead of `yarn` to [manage dependencies](https://github.com/PostHog/posthog/pull/13190).

View the full commit log in GitHub for a full history of changes: [`release-1.42.4...release-1.43.0`](https://github.com/PostHog/posthog/compare/release-1.42.0...release-1.43.0).

## Share your feedback
We'd love to hear anything you have to say about PostHog, good or bad. As a thank you, we'll share some awesome [PostHog merch](https://merch.posthog.com).

Want to get involved? [Schedule a 30 minute call](https://calendly.com/posthog-feedback) with one of our teams to help us make PostHog even better!

## Contributions from the community
We always welcome contributions from our community and this time we want to thank the following people this month...

- @Ismaaa for [correcting some mistakes in our onboarding documentation](https://github.com/PostHog/posthog.com/pull/1840)
- @Johanholmerin for [fixing an issue when copying non-extensible objects](https://github.com/PostHog/posthog-js/pull/478)

Want to build with us? Check out our [contributing resources](/docs/contribute) to get started. We have a [list of Good First Issues](https://github.com/PostHog/posthog/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) for ideas on where you can contribute!

## Open roles at PostHog
We're currently hiring for remote candidates in the following role:

- [Full Stack Engineer - Experimentation Team](/careers/full-stack-engineer-experimentation)
- [Site Reliability Engineer](/careers/site-reliability-engineer)

Check out our [careers page](https://posthog.com/careers) for more info about our all-remote team and transparent culture. [You can also send a speculative application!](mailto:careers@posthog.com)

_Follow us on [Twitter](https://twitter.com/PostHog) or [LinkedIn](https://linkedin.com/company/posthog) for more PostHog goodness!_

<ArrayCTA />
Binary file added contents/images/blog/array/1-43-0-export.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added contents/images/blog/array/1-43-0-ff-roles.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added contents/images/blog/array/1-43-0-modal.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added contents/images/blog/array/1-43-0-search.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added contents/images/blog/array/1-43-0-seekbar.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.