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

Ensure date functions are flagged as isAggregateFn #229

Merged
merged 3 commits into from
Apr 9, 2023
Merged
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
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
name: Checkout [master]
with:
fetch-depth: 0

- name: Install dependencies
run: npm install

- name: Build application
run: npm run build

- name: Run Tests
run: npm run test
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Create Release

on:
workflow_dispatch:
inputs:
increment:
type: choice
description: Increment
required: true
options:
- major
- minor
- patch

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout [main]
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Init npm cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: install dependencies
run: yarn install --frozen-lockfile
- name: git config
run: |
git config --global user.name "Release Workflow"
git config --global user.email "support@getjetstream.app"
- name: Run Release
run: yarn release ${{ github.event.inputs.increment }} --ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
# Changelog

## 4.8.0

April 9, 2023

- Fix `isAggregateFn` (#228)
- Date functions, such as `HOUR_IN_DAY(CreatedDate)` did not properly have the `isAggregateFn` property set to true for the field.
- As a result, `getFlattenedFields` would produce incorrect results for these fields if they were not aliased.
- Upgraded webpack, migrated from Travis CI to Github Actions
- Update dependencies to resolve reported security issues
- Update build process to fix invalid sourcemap mapping (#227)
- Removed non-minified version of application which had incorrect path to sourcemaps
- Ensure webpack generates a sourcemap for the minified code output

## 4.7.1

January 23rd, 2023

The repository was moved from `paustint` to `jetstreamapp`. No code changes.

## 4.7.0
Loading