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: imgix/js-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.2.2
Choose a base ref
...
head repository: imgix/js-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.3.0
Choose a head ref
  • 14 commits
  • 16 files changed
  • 2 contributors

Commits on Jul 6, 2021

  1. Configuration menu
    Copy the full SHA
    54185bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b0a893 View commit details
    Browse the repository at this point in the history
  3. build: add release script

    luqven committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    5a8e6c6 View commit details
    Browse the repository at this point in the history
  4. build: fix travis yml issue

    luqven committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    cf90af7 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

  1. feat: create extractUrl helper

    `extractUrl()` returns URL components from a source URL string. It does
    this by matching the URL against regular expressions. The irrelevant
    (entire URL) matches are removed and the rest stored as their
    corresponding URL components in a POJO. The function uses the ufo module
    to handle most of the parsing logic. The only custom behavior is using
    the `useHttps` boolean to prepend a scheme to the source URL.
    
    - `url` can be a partial, full URL, or full proxy URL.
    - `useHttps` boolean defaults to false.
    
    The function returns `{ protocol, auth, host, pathname, search, hash }`
    POJO extracted from the URL.
    luqven committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    5a5048e View commit details
    Browse the repository at this point in the history
  2. feat: create static buildURL method

    This commit creates a static `_buildURL` method on the imgix client. The
    method allows full URLs to be formatted for use with imgix.
    
    > note: If the source URL has included parameters, they are merged with
    the `params` passed in as an argument.
    
    - `url`: full source URL path string, required
    - `params`: imgix params object, optional
    - `options`: imgix client options, optional
    
    The method returns a URL string formatted to imgix specifications.
    luqven committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    9027a82 View commit details
    Browse the repository at this point in the history
  3. feat: static buildSrcSet method

    This commit creates a _buildSrcSet static method that allows full URLs
    to be used when generating imgix formatted `srcset` string values.
    
    - If the source URL has included parameters, they are merged with
    the `params` passed in as an argument.
    - URL must match `{host}/{pathname}?{query}` otherwise error is thrown.
    
    `url` - full source URL path string, required
    `params` - imgix params object, optional
    `options` - imgix client options, optional
    
    The method returns an imgix `srcset` for full URLs.
    luqven committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    ea99366 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    377d950 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7004652 View commit details
    Browse the repository at this point in the history
  6. feat: add srcsetModifiers and clientOptions params

    This commit refactors the options object into two objects, srcsetOptions and clientOptions for added clarity and better separation of concerns.
    luqven committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    b0d6685 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b3f78c4 View commit details
    Browse the repository at this point in the history
  8. chore(release): 3.3.0-rc.1

    # [3.3.0-rc.1](v3.2.1...v3.3.0-rc.1) (2021-07-07)
    
    ### Features
    
    * add srcsetModifiers and clientOptions params ([b0d6685](b0d6685))
    * create extractUrl helper ([5a5048e](5a5048e))
    * create static buildURL method ([9027a82](9027a82))
    * static buildSrcSet method ([ea99366](ea99366))
    
     [skip ci]
    imgix-git-robot authored and imgix-git-robot committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    6e35c12 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    4a43c94 View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.3.0

    # [3.3.0](v3.2.1...v3.3.0) (2021-07-08)
    
    ### Features
    
    * add srcsetModifiers and clientOptions params ([b0d6685](b0d6685))
    * create extractUrl helper ([5a5048e](5a5048e))
    * create static buildURL method ([9027a82](9027a82))
    * static buildSrcSet method ([ea99366](ea99366))
    
     [skip ci]
    imgix-git-robot authored and imgix-git-robot committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    1ca52f9 View commit details
    Browse the repository at this point in the history
Loading