Skip to content

Releases: bhovhannes/svg-url-loader

v8.0.0

04 Sep 16:13
Compare
Choose a tag to compare

Breaking changes

Webpack 4 is no longer supported.

Dependency upgrades

  • chore(deps): update dependency lint-staged to v10.5.3 by @renovate in #435
  • chore(deps): update dependency sass to v1.30.0 by @renovate in #436
  • chore(deps): update dependency webpack to v5.10.0 by @renovate in #437
  • chore(deps): update dependency husky to v4.3.4 by @renovate in #438
  • chore(deps): update dependency husky to v4.3.5 by @renovate in #439
  • chore(deps): update dependency webpack to v5.10.1 by @renovate in #440
  • chore(deps): update dependency less to v3.13.0 by @renovate in #441
  • chore(deps): update dependency husky to v4.3.6 by @renovate in #442
  • chore(deps): update dependency less to v3.13.1 by @renovate in #443
  • chore(deps): update dependency webpack to v5.11.0 by @renovate in #444
  • chore(deps): update actions/setup-node action to v2 by @renovate in #445
  • chore(deps): update dependency less to v4 by @renovate in #446
  • chore(deps): update dependency less-loader to v7.2.0 by @renovate in #447
  • chore(deps): update dependency less-loader to v7.2.1 by @renovate in #448
  • chore(deps): update dependency sass to v1.32.0 by @renovate in #449
  • chore(deps): update dependency webpack to v5.11.1 by @renovate in #450
  • chore(deps): update dependency husky to v4.3.7 by @renovate in #451
  • chore(deps): update dependency sass to v1.32.2 by @renovate in #452
  • chore(deps): update dependency webpack to v5.12.1 by @renovate in #453
  • chore(deps): update dependency webpack to v5.12.2 by @renovate in #454
  • chore(deps): update dependency husky to v4.3.8 by @renovate in #455
  • chore(deps): update dependency less to v4.1.0 by @renovate in #456
  • chore(deps): update dependency sass to v1.32.4 by @renovate in #457
  • chore(deps): update dependency webpack to v5.15.0 by @renovate in #459
  • chore(deps): update dependency sass-loader to v10.1.1 by @renovate in #458
  • chore(deps): update dependency less-loader to v7.3.0 by @renovate in #461
  • chore(deps): update dependency sass to v1.32.5 by @renovate in #462
  • chore(deps): update dependency webpack to v5.17.0 by @renovate in #463
  • chore(deps): update dependency webpack to v5.19.0 by @renovate in #464
  • chore(deps): update dependency less to v4.1.1 by @renovate in #465
  • chore(deps): update dependency lint-staged to v10.5.4 by @renovate in #466
  • chore(deps): update dependency sass to v1.32.6 by @renovate in #467
  • chore(deps): update dependency webpack to v5.21.0 by @renovate in #468
  • chore(deps): update dependency sass-loader to v11 by @renovate in #470
  • chore(deps): update dependency less-loader to v8 by @renovate in #469
  • chore(deps): update dependency webpack to v5.21.1 by @renovate in #471
  • chore(deps): update dependency css-loader to v5.0.2 by @renovate in #472
  • chore(deps): update dependency sass to v1.32.7 by @renovate in #473
  • chore: switch to lefthook, remove husky by @bhovhannes in #474
  • chore(deps): update dependency sass to v1.32.8 by @renovate in #475
  • chore(deps): update dependency sass-loader to v11.0.1 by @renovate in #476
  • chore: switch to shared config by @bhovhannes in #477
  • chore(deps): update dependency css-loader to v5.1.0 by @renovate in #479
  • chore(deps): update dependency css-loader to v5.1.1 by @renovate in #480
  • chore(deps): update dependency css-loader to v5.1.2 by @renovate in #481
  • chore(deps): update dependency css-loader to v5.1.3 by @renovate in #482
  • chore(deps): update dependency css-loader to v5.2.0 by @renovate in #483
  • chore(deps): update dependency css-loader to v5.2.1 by @renovate in #484
  • chore(deps): update dependency less-loader to v8.1.0 by @renovate in #485
  • chore(deps): update dependency css-loader to v5.2.2 by @renovate in #487
  • chore(deps): update dependency less-loader to v8.1.1 by @renovate in #488
  • chore(deps): update dependency sass to v1.32.10 by @renovate in #489
  • chore(deps): update dependency @arkweid/lefthook to v0.7.3 by @renovate in #490
  • chore(deps): update dependency css-loader to v5.2.4 by @renovate in #491
  • chore(deps): update dependency sass to v1.32.11 by @renovate in #492
  • chore(deps): update dependency @arkweid/lefthook to v0.7.4 by @renovate in #493
  • chore(deps): update dependency sass to v1.32.12 by @renovate in #494
  • chore(deps): update dependency @arkweid/lefthook to v0.7.5 by @renovate in #495
  • chore(deps): update dependency sass to v1.32.13 by @renovate in #496
  • chore(deps): update dependency prettier to v2.3.0 by @renovate in #497
  • chore(deps): update dependency sass-loader to v11.1.1 by @renovate in #498
  • chore(deps): update dependency less-loader to v9 by @renovate in #499
  • chore(deps): update dependency css-loader to v5.2.5 by @renovate in #500
  • chore(deps): update dependency sass to v1.33.0 by @renovate in #501
  • chore(deps): update dependency sass to v1.34.0 by @renovate in #502
  • chore(deps): update dependency css-loader to v5.2.6 by @renovate in #503
  • chore(deps): update jest monorepo to v27 (major) by @renovate in #504
  • chore(deps): update jest monorepo to v27.0.3 by @renovate in #505
  • chore(deps): update dependency @arkweid/lefthook to v0.7.6 by @renovate in #506
  • chore(deps): update dependency jest to v27.0.4 by @renovate in #507
  • chore(deps): update dependency sass to v1.34.1 by @renovate in #508
  • chore(deps): update dependency prettier to v2.3.1 by @renovate in #510
  • chore(deps): update dependency less-loader to v9.1.0 by @renovate in #511
  • chore(deps): update dependency sass to v1.35.1 by @renovate in #512
  • chore(deps): update jest monorepo to v27.0.5 by @renovate in #514
  • chore(deps): update dependency prettier to v2.3.2 by @renovate in #515
  • chore(deps): update dependency less-loader to v10 by @renovate in #513
  • chore(deps): update dependency less-loader to v10.0.1 by @renovate in #516
  • chore(deps): update jest monorepo to v27.0.6 by @renovate in #517
  • chore(deps): update dependency sass to v1.35.2 by @renovate in #518
  • chore(deps): update dependency css-loader to v5.2.7 by @renovate in https://github.com/bhovhannes...
Read more

Performance improvements

29 Nov 11:52
Compare
Choose a tag to compare

What's new ?

Performance improvements

  1. Now we run regex for style element detection only when needed
  2. Made encoded entities lowercase for better compression.

Internal changes

  1. better code organization
  2. upgraded prettier and webpack to the latest version

Add resourceQuery support

27 Nov 22:05
Compare
Choose a tag to compare

What's new ?

Features

  1. Added support for passing options using resourceQuery. That allows following syntax:
      .selector {
        background-image: url(../../assets/ticket.svg?encoding=base64);
      } 
    Thanks to @c0defre4k for reporting this! Sorry for being so late.
  2. Added more detailed usage examples to the readme.

Internal changes

  1. upgraded devDependencies
  2. refactor tests to follow DRY principle
  3. make tests pass on both webpack 4 and 5

v7.0.0...v7.1.0

Fallback to file-loader using default options

26 Nov 16:59
Compare
Choose a tag to compare

What's new ?

Internal changes

  1. Switched to GitHub actions.
  2. Update Node.js version to 10, 12 and 14. We test on this versions only.
  3. Fix some Node warnings and modernized code a little.

Breaking changes

Previously, during falling back to file-loader, svg-url-loader was passing esModule=false option to file-loader. This release changes that behavior and passes esModule=true (file-loader default mode). esModule=true mode was introduced a while ago and is well supported. However, technically it is breaking change.

Deprecate stripdeclarations option

24 May 08:45
Compare
Choose a tag to compare

Breaking changes

The option stripdeclarations is now true by default. See #104 for rationale behind this decision.
We will remove that option in the next major release,

Commits

  • feat: deprecate stripdeclarations option (closes #104) 796776e

v5.0.1...v6.0.0

Compatible with Yarn 2

24 May 08:02
Compare
Choose a tag to compare
  • fix: specify peerDependencies of file-loader (closes #390) a8513ef
  • docs: update docs (fixes #341) cda55a2
  • Update dependency codecov to v3.7.0 4f1100b
  • Merge pull request #387 from bhovhannes/renovate/major-jest-monorepo 86122bd
  • Update dependency jest to v26 6d1626e
  • Update dependency node-sass to v4.14.1 88480cc
  • Update dependency less-loader to v6.1.0 fb39d22
  • Update dependency jest to v25.5.4 9654e48
  • Update dependency jest to v25.5.3 fc2da30
  • Merge pull request #382 from bhovhannes/renovate/less-loader-6.x 3ef3087
  • Update dependency webpack to v4.43.0 ec2a993
  • Update dependency jest to v25.4.0 d3be7fb
  • Update dependency less-loader to v6 eabddc3
  • Update dependency node-sass to v4.14.0 9b70055
  • Update dependency css-loader to v3.5.3 bde7608
  • Update dependency jest to v25.3.0 36a3ef4
  • Update dependency css-loader to v3.5.2 00f0ef9
  • Update dependency jest to v25.2.7 b65632d
  • Update dependency webpack to v4.42.1 f85334c
  • Update dependency jest to v25.2.3 233e6f5

v5.0.0...v5.0.1

Upgrade to file-loader 6

17 Mar 21:16
Compare
Choose a tag to compare

What's new

Nothing except that file-loader uses md4 by default for hashing (see #372).
That is a breaking change for file-loader and thus major version bump was required here, too.

Commits

  • Merge pull request #372 from bhovhannes/renovate/file-loader-6.x 554073e
  • Update dependency file-loader to v6 cdff34c
  • Merge pull request #371 from bhovhannes/renovate/loader-utils-2.x 927e4e5
  • Update dependency loader-utils to v2 689d765
  • Update dependency webpack to v4.42.0 2b6e138
  • Update dependency file-loader to ~5.1.0 6105ee5
  • Update dependency loader-utils to ~1.4.0 6252a5c
  • Update dependency webpack to v4.41.6 b7479b6
  • Update dependency less to v3.11.1 620115e
  • Update dependency codecov to v3.6.5 41df515

v4.0.0...v5.0.0

Upgrade to file-loader 5.x, drop Node 8 support

07 Feb 14:54
Compare
Choose a tag to compare
  • Merge pull request #346 from bhovhannes/renovate/file-loader-5.x 47ae0ff
  • chore: switch to yarn c18a4a7
  • Merge remote-tracking branch 'origin/master' into renovate/file-loader-5.x 59a6703
  • feat: upgrade to v5 of file-loader 465fad2
  • chore(deps): update dependency codecov to v3.6.4 96130f4
  • chore(deps): update dependency codecov to v3.6.3 89d344a
  • Merge pull request #359 from bhovhannes/renovate/major-jest-monorepo 677477a
  • chore(deps): update dependency codecov to v3.6.2 310c9ef
  • chore(deps): update dependency jest to v25 73acbdb
  • chore(deps): update dependency sass-loader to v8.0.2 bdd9b2b
  • chore(deps): update dependency node-sass to v4.13.1 64f8c45
  • chore(deps): update dependency sass-loader to v8.0.1 fc1e7f5
  • chore(deps): update dependency css-loader to v3.4.2 080f61b
  • chore(deps): update dependency css-loader to v3.4.1 5972a51
  • chore(deps): update dependency webpack to v4.41.5 5545076
  • chore(deps): update dependency webpack to v4.41.4 2179981
  • chore(deps): update dependency css-loader to v3.4.0 e950368
  • chore(deps): update dependency css-loader to v3.3.2 03a533a
  • chore(deps): update dependency css-loader to v3.2.1 1c9c5f3
  • fix(deps): update dependency file-loader to v5 3ffa201

v3.0.3...v4.0.0

Upgraded to [email protected]

22 Nov 07:12
Compare
Choose a tag to compare
  • fix(deps): update dependency file-loader to ~4.3.0 75b3070
  • chore(deps): update dependency node-sass to v4.13.0 e5ef444
  • chore(deps): update dependency webpack to v4.41.2 47127c4
  • chore(deps): update dependency webpack to v4.41.1 87c6e5e
  • chore(deps): update dependency webpack to v4.41.0 7e261f4
  • chore(deps): update dependency codecov to v3.6.1 10397ca
  • chore(deps): update dependency webpack to v4.40.2 565e836
  • chore: configure renovate to update dependencies as soon as they'll have a new version 951bf3f

v3.0.2...v3.0.3

Specified compatibility with patch-level changes in dependencies

04 Sep 17:58
Compare
Choose a tag to compare

v3.0.1...v3.0.2