Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: maraisr/diary
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: maraisr/diary
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref
  • 8 commits
  • 13 files changed
  • 1 contributor

Commits on Oct 10, 2022

  1. chore: bump deps

    maraisr committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    891fcd8 View commit details
    Browse the repository at this point in the history
  2. feat: adds types exports

    maraisr committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    9840e65 View commit details
    Browse the repository at this point in the history
  3. chore: lets use terser etc

    maraisr committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    141b942 View commit details
    Browse the repository at this point in the history
  4. chore: use my configs

    maraisr committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    1319eaf View commit details
    Browse the repository at this point in the history
  5. feat: browser no longer enables by default

    __*BREAKING CHANGE*__
    
    In the past we enbaled anyting in the `DEBUG` localStorage key,
    this lead to some undesired behaviours when working with sandboxed
    iframes.
    
    Now we will let the you control this completely, as from what I can see
    the majority of folk I see, use it anyway.
    
    Still makes sense to run this for Node applications, which is left un
    touched.
    
    If you want the existing behaviour, just attached this before you start
    logging.
    
    ```ts
    import { enable } from 'diary';
    enable(localStorage.DEBUG || 'a^');
    ```
    
    fixes: #15
    maraisr committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    a4d95bc View commit details
    Browse the repository at this point in the history
  6. chore: package.json works

    maraisr committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    974cadb View commit details
    Browse the repository at this point in the history
  7. feat: simplify logging functions

    __*BREAKING CHANGE*__
    
    Log functions no longer require a message string in the first argument, this means
    reporters that used to tap into `extra` for the spread arguments you will now
    find this in the `messages` array.
    
    ```diff
    - const reporter: Reporter = ({ name, level, message, extra, ...rest })
    + const reporter: Reporter = ({ name, level, messages, ...rest })
    ..
    -   console.log({ message, extra });
    +   const message = messages.shift();
    +   console.log({ message, extra: messages });
    ```
    
    fixes: #14
    maraisr committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    78334b3 View commit details
    Browse the repository at this point in the history
  8. release: 0.4.0

    maraisr committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    ba130e0 View commit details
    Browse the repository at this point in the history
Loading