Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. May 11, 2021
  2. May 07, 2021
  3. Apr 26, 2021
  4. Apr 19, 2021
  5. Apr 15, 2021
  6. Apr 13, 2021
  7. Apr 12, 2021
    • Jeff Evans's avatar
      Various improvements to version update checks (#15517) · 9392ddd7
      Jeff Evans authored
      * Various improvements to version update checks
      
      ***************************
      * Release project changes *
      ***************************
      
      Updating version_info.clj code to build version-info-ee.json file for Enterprise Edition build
      
      Adding test for both oss and ee version info file generation logic
      
      Decoupling GitHub milestone from version and setting it to be the OSS value for :ee release build
      
      Adding nREPL alias for release deps.edn project and usage note
      
      ************************
      * Core product changes *
      ************************
      
      Adding new :ee version of :mb-version-info-url (:mb-version-info-ee-url) with default value to match the file name generated by the release code
      
      Making enterprise-edition? public from core.clj, since it's now needed from the upgrade check code to switch between the URLs
      
      Adding new setting to store when updates were last checked (since it's on a 12-hour interval)
      
      Changing update check code to both set this new timestamp setting (always) to the current time, and set version-info itself to nil if the update check fails (so that users won't see "latest and greatest" if the update check succeeded at some point in the past, but then started failing
      
      Frontend changes:
      
      Showing the "last checked" timestamp (in user's browser timezone) when we show the "Sorry" text because of being unable to check for updates, so they know when the last check was made
      
      Removing custom implementation of MetabaseSettings.versionInfo from EE frontend code since it's no longer needed (and never worked), because the EE backend will now be hitting a different URL with the version info specifically for EE releases
      
      Linking to https://www.metabase.com/docs/<newVersion>/operations-guide/upgrading-metabase.html URL instead of simply /start
      Unverified
      9392ddd7
  8. Mar 29, 2021
  9. Mar 23, 2021
  10. Mar 17, 2021
  11. Mar 12, 2021
  12. Mar 10, 2021
  13. Mar 05, 2021
  14. Feb 26, 2021
    • Robert Roland's avatar
      Replace ExitOnOutOfMemoryError with CrashOnOutOfMemoryError (#14972) · 430d2683
      Robert Roland authored
      This will make the JVM output more details as it crashes for running out of memory.
      
      New output:
      
      ```text
      rroland@tardis:~/src/metabase/target/uberjar$ java -Xmx50m -XX:+CrashOnOutOfMemoryError -jar metabase.jar
      WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
      2021-02-25 11:38:31,689 INFO metabase.util :: Maximum memory available to JVM: 50.0 MB
      Aborting due to java.lang.OutOfMemoryError: Java heap space
      \#
      \# A fatal error has been detected by the Java Runtime Environment:
      \#
      \#  Internal Error (debug.cpp:338), pid=40255, tid=40256
      \#  fatal error: OutOfMemory encountered: Java heap space
      \#
      \# JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-post-Debian-1)
      \# Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-post-Debian-1, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      \# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      \#
      \# An error report file with more information is saved as:
      \# /home/rroland/src/metabase/target/uberjar/hs_err_pid40255.log
      \#
      \# If you would like to submit a bug report, please visit:
      \#   https://bugs.debian.org/openjdk-11
      \#
      Aborted
      ```
      
      Previous output:
      
      ```text
      rroland@tardis:~/src/metabase/target/uberjar$ java -Xmx50m -XX:+ExitOnOutOfMemoryError -jar metabase.jar
      WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
      2021-02-25 11:38:46,898 INFO metabase.util :: Maximum memory available to JVM: 50.0 MB
      Terminating due to java.lang.OutOfMemoryError: Java heap space
      ```
      Unverified
      430d2683
  15. Feb 25, 2021
    • Cam Saul's avatar
      Optimize relative datetime filters (#14835) · 538e5e38
      Cam Saul authored
      1. Rename optimize-datetime-filters middleware -> optimize-temporal-filters (it's more accurate, because this also
      optimizes date or time filter clauses)
      
      2. optimize-temporal-filters middleware now optimizes relative-datetime clauses (which represent a moment in time
      relative to when the query is ran, e.g. "last month") in addition to absolute-datetime clauses (which represent an
      absolute moment in time, e.g. 2021-02-15T14:40:00-08:00) . This middleware rewrites queries so we filter against
      specific temporal ranges without casting the column itself, meaning we can leverage indexes on that column. See #11837
      for more details
      
      3. Added new validate-temporal-bucketing middleware that throws an Exception if you try to do something that makes no
      sense, e.g. bucket a DATE field by :time or a TIME field by :month. This is a better situation then running the query
      and waiting for the DB to complain. (In practice, I don't think the FE client would let you generate a query like this
      in the first place)
      
      4. Fix random test failures for MySQL in task-history-cleanup-test
      Unverified
      538e5e38
  16. Feb 16, 2021
  17. Feb 10, 2021
  18. Feb 02, 2021
  19. Jan 29, 2021
  20. Jan 26, 2021
  21. Jan 13, 2021
  22. Jan 08, 2021
  23. Jan 06, 2021
    • Cam Saul's avatar
      Merge x.37.5back into master (#14282) · 288494de
      Cam Saul authored
      
      * #11907 Repro: Tooltip should display correct value for unaggregated data [ci skip] (#14102)
      
      
      Co-authored-by: default avatarflamber <1447303+flamber@users.noreply.github.com>
      
      * #11957 Repro: Changing filters shouldn't drop aggregated filter [ci skip] (#14103)
      
      * #13187 Repro: FE should respect (BE) settings for `auto_run_queries` [ci skip] (#14120)
      
      * Mac App build script tweaks
      
      * Defer the parser and its related construction until it's needed (#14133)
      
      Expression parser construction is expensive (mainly due to grammar validation
      via Chevrotain's performSelfAnalysis). Thus, instantiating the parsers at the
      initialization time will lead to a signifant delay in DOMContentLoaded,
      thereby affecting (among others) the embedding performance.
      
      To avoid this, simply defer that step until parsing is really needed
      (which is actually far far later, i.e. when the user is using the
      notebook).
      
      * Add a clarifying comment regarding parser lazy loading
      
      * Fix #13187: FE should respect settings for `auto_run_queries` on page load (#14121)
      
      Closes #13187
      
      * Remove initial state from `auto_run_queries`
      
      * Assert that `auto_run_queries` is ON by default for sample dataset
      
      This test confirms that toggle works without explicitly setting the initial state to `true`.
      
      * Improve toggle's accessibility
      
      Reference: https://a11y-style-guide.com/style-guide/section-forms.html#kssref-forms-toggles
      
      
      
      * Adjust Cypress tests
      
      * #13415 Repro: Visualization type should be respected when entering a question from a dashboard [ci skip] (#14142)
      
      * Fix #13299: Misconfigured "Port" label and input fields (#14134)
      
      Closes #13299
      
      * Add `aria-labelledby` attribute to numeric form fields
      
      * Update affected Cypress tests
      
      * #13175 Repro: Can not do arithmetic in filter expressions (#14155)
      
      * #14193 Repro: Custom column is dropped after removing filter (that comes after aggregation) [ci skip] (#14197)
      
      * Fix 13868 (second try) (#14248)
      
      * Fix 13868
      
      * Unskip Cypress test
      
      * #14255 Repro: CC and table column same name [REGRESSION] [ci skip] (#14267)
      
      * Backport migrations fixups from master (#14276)
      
      * Misc code improvements (#14247)
      
      * Add test-cypress-open-no-backend
      
      * Enable test endpoints for dev
      
      * More are+ test util function to metabase.test
      
      * Improve the way with-temp-defaults are reloaded for models
      
      * Simplify defendpoint macro a bit; convert tests to new style
      
      * Rework a few more tests
      
      * Code cleanup
      
      Co-authored-by: default avatarNemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
      Co-authored-by: default avatarflamber <1447303+flamber@users.noreply.github.com>
      Co-authored-by: default avatarAriya Hidayat <ariya@metabase.com>
      Unverified
      288494de
  24. Dec 17, 2020
  25. Dec 16, 2020
    • Cam Saul's avatar
      CI: Check Liquibase 000_migrations.yaml against core.spec (#14097) · 6d9a7355
      Cam Saul authored
      * add step to validate Liquibase migrations to CI
      
      * addColumn should only allow one column.
      
      * Only allow one column added per addColumn change
      
      * Add strict-mode for change sets
      
      * Check that migrations are in order/IDs are unique
      
      * Fix CI
      
      * Tests for the linter!!
      
      * Require remarks when adding new Tables
      
      * Fix CI
      Unverified
      6d9a7355
  26. Dec 08, 2020
  27. Dec 02, 2020
  28. Nov 30, 2020
  29. Nov 23, 2020
  30. Nov 17, 2020
  31. Nov 16, 2020
Loading