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 24 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
131 changes: 131 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,131 @@
---
date: 2023-01-16
title: "Array 1.43.0: Massive performance improvements!"
rootPage: /blog
sidebar: Blog
showTitle: true
hideAnchor: true
categories: ['Release notes', 'Product updates']
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)!

## Update guide for self-hosted users

Any notes about async migrations, etc. go here.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tiina303 Just tagging you here, as you've provided info on this for the last few Arrays


## PostHog 1.43.0 release notes

**Release highlights:**

- [New: Performance improvements](#new-performance-improvements)
- [New: Role based access](#role-based-access)
- [New: Better insight searching](#new-better-insight-searching)
- [New: Feature flag variant overrides](#new-feature-flag-variant-overrides)
- [New: Export recordings to file](#new-export-recordings-to-file)
- [Improved: More experiment variants and improved flow](#improved-more-experiment-variants-and-improved-flow)
- [Improved: Query cancelling improvements](#improved-query-cancelling-improvements)
- [Improved: Recording playback controls](#improved-recording-playback-controls)
- [Improved: Browsing recordings and creating playlists](#improved-browsing-recordings-and-creating-playlists)

### New: Performance improvements

We don't want you to spend time waiting on machines so performance has had a renewed focus. Some improvements shipped this release:

- ClickHouse 22.8 support. This release also enables an important query optimization which will speed up some expensive queries up to 30%.
- Reworked dashboard cache refreshing logic - your dashboards should now be more up-to-date
- When updating dashboard filters we now may hit the cache for faster results
- Improved query cancellation when navigating away from trends or dashboards
- Reduced dashboard API response size. Existing `items` field is now deprecated and removed next release
- Property filters modal has received a speedup
- Home dashboards are no longer loaded twice
- When refreshing dashboards we now reload tiles in the same order as they're placed in visually
- When loading dashboards, we no longer load data from redis twice
- When updating dashboard filters, we now use cached data instead of always refreshing immediately
- Trends queries received an update which will reduce cross-shard traffic significantly and speed up queries
- Improved celery housekeeping tasks to require less ClickHouse resources. Run 0008 async migration to get full benefits of this.
- Many other small and large API speedups

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

### New: Role based access

We can now create roles and group team members together, along with being able to customize feature flags access for team members! Having access control helps reduce accidental changes and ensures confidence when shipping a new feature.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to have some extra help in wording or phrasing here 😺


### 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!

### 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!

### 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.

### 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!

### 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.

### Improved: Query cancelling improvements
PostHog already had some cancellation logic that abandoned running queries if filters were changed, but what if you just went and did something else? Then we'd leave a query running in ClickHouse, slowing everything down.

Until now! 1.43.0 adds calls into the dashboard and insight logic when an insight is abandoned, attempting to cancel the query. The benefit? Less resource hogging, faster queries for all!

### Improved: Recording playback controls
![recording controls](../images/blog/array/1-43-0-seekbar.gif)

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've consolidated container build workflows and made changes to build and push multi-arch images](https://github.com/PostHog/posthog/pull/13543).
- **Improvement:** We made [a simpler, faster process for querying the recently viewed insights on your home page](https://github.com/PostHog/posthog/pull/13529)
- **Improvement:** We've switched to use `pnpm` instead of `yarn` to [manage dependencies](https://github.com/PostHog/posthog/pull/13190).
- **Fix:** Webhooks for actions with null checks weren't firing correctly. [This is now fixed.](https://github.com/PostHog/posthog/issues/12893)

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 />
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-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.