commons-asset

Adds a flexible asset service with a bunch of features to your spring-boot applications

MIT License

Stars
5
Committers
2

Bot releases are hidden (Show)

commons-asset -

Published by melistik almost 3 years ago

  • added filetype glb (detection only via fileextension - not working correctly with mimetype via tika)
  • upgraded versions spring-boot 2.5.7, tika 2.2.1, aws 1.12.132, guava 31.0.1
commons-asset -

Published by melistik about 3 years ago

  • upgraded version of spring-boot and aws-client
  • added JsonDeserialize to AssetRefernce to solve deserialization issues
  • changed from long to duration for public-download access setting (downloadExpire)
  • fixed issue with download url in case of presiged url generation
commons-asset -

Published by melistik over 3 years ago

  • added open-api swagger annotations
  • improved documentation java - typescript types
  • upgraded versions spring-boot, commons-rest, commons-io, colors, jacoco and aws-client
commons-asset -

Published by melistik over 3 years ago

  • added AssetDisplay - short version of AssetRead
  • Improved ResponsiveImage (src is always been filled - also without resolution)
  • improved typescript file (added getMimeTypes, isImage and getMaxmimumSize functions to handle AssetType + PreviewSize)
commons-asset -

Published by melistik over 3 years ago

  • lqip only throws errors when enabled as throwError
  • upgraded commons-rest 2.2.2
commons-asset -

Published by melistik over 3 years ago

  • upgraded spring-boot 2.4.5
  • fixed auto registration for AnalyseController
  • added AssetUrlAnalysed event to trigger custom hooks
  • added getters to enums
commons-asset -

Published by melistik over 3 years ago

  • 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
commons-asset -

Published by melistik almost 4 years ago

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
commons-asset -

Published by melistik almost 4 years ago

  • 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
commons-asset - 4.3.3

Published by melistik almost 4 years ago

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

Published by melistik almost 4 years ago

  • corrected converter to use interface as parameter
commons-asset -

Published by melistik almost 4 years ago

  • some tweaks regarding image-magick handling
commons-asset -

Published by melistik about 4 years ago

  • 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)
commons-asset -

Published by melistik about 4 years ago

  • 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
commons-asset -

Published by melistik about 4 years ago

  • finally fixed stupid bug within S3FileStorage
  • fixed tests to run also with jdk11
commons-asset -

Published by melistik about 4 years ago

  • fixed bug within s3-client with wrong cast
  • upgraded spring-boot 2.3.3 + aws-client 1.11.860
commons-asset -

Published by melistik about 4 years ago

  • 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
  • some minor fixes and refactorings
commons-asset -

Published by melistik about 4 years ago

  • fixed "Umlaute in S3StorageService" #1
commons-asset -

Published by melistik about 4 years ago

  • replaced okHttp with spring RestTemplate in order to reduce dependencies
  • extended AssetUploadEvent by OriginalUploadModifier.Modification
  • some refactorings + fixes
commons-asset -

Published by melistik over 4 years ago

  • 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
  • upgraded spring-boot 2.3.1
Package Rankings
Top 33.77% on Repo1.maven.org
Badges
Extracted from project README
Maven Central
Related Projects