Skip to content

Releases: rocketbase-io/commons-asset

4.6.0

15 Apr 14:29

Choose a tag to compare

  • upgraded to spring-boot 2.4.4, guava 30.1.1, thumbnailator 0.4.14 and tika 1.26
  • added modified + modifiedBy (auditing) to asset entity
  • added a huge bunch of new asset-types
  • added JsonValue to AssetType + PreviewSize so that a lowercase output is fixed
  • due to the limits in relations-database i've switched back to a keyValue value with max 255 chars and hopefully stick to it for a long time ;)
  • added sql schema changes in schema-generator module within dist folder (from 4.0 upwards

4.5.0

01 Dec 09:09

Choose a tag to compare

Warning: This version has breaking changes within jpa please use it with care. newer versions are not compatible with this version. Some breaking changes had came within this release that were not planned ;)

  • added ResponsiveImage to AssetPreviews to get a precalculated srcset + sizes attribute for browser-templates
    • "s" : "http://localhost:51857/api/asset/5fc6076bb8f6921c45eedae5/s",
      "m" : "http://localhost:51857/api/asset/5fc6076bb8f6921c45eedae5/m",
      "l" : "http://localhost:51857/api/asset/5fc6076bb8f6921c45eedae5/l",
      "responsive" : {
        "sizes" : "(max-width: 1200px) 100vw, 1200px",
        "srcset" : "http://localhost:51857/api/asset/5fc6076bb8f6921c45eedae5/s 300w, http://localhost:51857/api/asset/5fc6076bb8f6921c45eedae5/m 600w, http://localhost:51857/api/asset/5fc6076bb8f6921c45eedae5/l 1200w",
        "src" : "http://localhost:51857/api/asset/5fc6076bb8f6921c45eedae5/l"
      }
      
  • AssetPreviews will only contain previews that a smaller than the original image size (to avoid enlarged previews)
  • ImgProxy doesn't enlarge previews by default anymore

4.4.0

04 Nov 05:39

Choose a tag to compare

  • asset-batch has now an option to use "download-cache" means that the code checks if url has been downloaded already
  • improved asset-batch service and added an easy migration service

4.3.3

30 Oct 20:32

Choose a tag to compare

  • calculate preview only when original size is bigger then thumb
  • disable enlarged previews

4.3.2

30 Oct 20:32

Choose a tag to compare

  • corrected converter to use interface as parameter

4.3.1

20 Oct 13:05

Choose a tag to compare

  • some tweaks regarding image-magick handling

4.3.0

19 Oct 12:10

Choose a tag to compare

  • refactored AssetReferenceType -> AssetReference as Interface and DefaultAssetReferenceType implementation default
  • switched Nullable Annotation to org.springframework.lang.Nullable
  • upgraded commons-rest 2.1.0 with some refactorings + added KeyValue Interface etc.
  • upgraded guava 30.0-jre + aws-sdk 1.11.882
  • jpa breaking changes
    • renamed co_asset_keyvalue_pair -> co_asset_keyvalue
    • column field_value is now a lob (without length limit)

4.2.0

24 Sep 21:32

Choose a tag to compare

  • added option to limit the previewSizes
  • allow precalculation of previews
    • after processing the assetUpload for the configured list of previewSizes previews will get generated
    • each storage engine has now a storePreview/downloadPreview and s3 special downloadPreviewUrl
  • replaced okHttp with spring RestTemplate in order to reduce dependencies
  • added keyValue filter options
  • jpa breaking changes
    • prefixt tables with co_
    • removed fetch: EAGER from keyValueMap to avoid extra queries in references
    • rewritten some queries to avoid lazyObject for keyValueMap
  • extended AssetUploadEvent by OriginalUploadModifier.Modification
  • fixed "Umlaute in S3StorageService"
  • upgraded spring-boot 2.3.4 + aws-client 1.11.869

4.2.0-RC6

15 Sep 05:40

Choose a tag to compare

4.2.0-RC6 Pre-release
Pre-release
  • finally fixed stupid bug within S3FileStorage
  • fixed tests to run also with jdk11

4.2.0-RC5

15 Sep 04:47

Choose a tag to compare

4.2.0-RC5 Pre-release
Pre-release
  • fixed bug within s3-client with wrong cast
  • upgraded spring-boot 2.3.3 + aws-client 1.11.860