Skip to content

Releases: cloudogu/spotter

v4.0.0

10 Dec 11:24
Compare
Choose a tag to compare
  • Support for Prism Syntax Mode
  • Add getByName method to Language class
  • Migrated to the cloudogu organisation
  • New maven coordinates (com.cloudogu.spotter instead of com.github.sdorra)
  • New Java package (com.cloudogu.spotter instead of com.github.sdorra.spotter)

v3.0.1

26 Nov 14:51
3.0.1
Compare
Choose a tag to compare
  • Fix shebang detection with parameters (e.g. #!/usr/bin/make -f)

v3.0.0

26 Aug 16:00
3.0.0
Compare
Choose a tag to compare
  • LanguageDetectionStrategy is now part of the api
  • The LanguageDetection enum was removed and all constants are transferred to builder methods of ContentTypeDetector
  • Add methods to ContentTypeDetector which allow more easily the creation of ContentTypeDetector with a default set of strategies
  • Add BoostLanguageDetectionStrategy to boost a previously matched languange
  • Use _Number.. as name if the language name starts with a number
  • Update languages to v7.10.0

v2.1.2

07 Jul 06:02
2.1.2
Compare
Choose a tag to compare
  • fixed language detection with multiple dot separators in filename

v2.1.1

23 Jan 14:24
2.1.1
Compare
Choose a tag to compare
  • treat ace mode text as null, because it is the default

v2.1.0

23 Jan 10:44
2.1.0
Compare
Choose a tag to compare
  • update apache tika from 1.22 to 1.23
  • update jackson to v2.10.2
  • update linguist language definition to v7.7.0
  • added aceMode and codemirrorMode to language
  • fixed missing url in javadoc of generated Language enum
  • added generated annotation to generated Language enum

v2.0.0

25 Mar 07:56
2.0.0
Compare
Choose a tag to compare

Take content type into account for language detection

Make previous languages available for language detection strategies and
use the content type from content detection to select best matching
language.

v1.2.1

29 Jan 16:42
1.2.1
Compare
Choose a tag to compare

v1.2.0

10 Nov 20:00
1.2.0
Compare
Choose a tag to compare
  • update linguist descriptor to version 7.0.0
  • best effort matching (1634337)
  • configurable content type detector (1634337)

v1.1.0

10 Nov 19:59
1.1.0
Compare
Choose a tag to compare
  • update linguist descriptor to version 6.2.0