Releases: foundweekends/giter8
0.13.0-M1
v0.13.0-M1 version 0.13.0-M1
0.12.0
giter8.version
Starting Giter8 0.12.0 adds a new application named giter8-launcher whose job is analogous to sbt's sbt-launcher. giter8-launcher clones the template and reads project/build.properties
file to determine the Giter8 version to render the template.
As a template author you should specify the Giter8 version in project/build.properties
file as:
giter8.version=0.12.0
Once "sbt new" uses this mechanism it should decouple the Giter8 version from the release cycle of sbt.
@eed3si9n implemented this feature in #444. The original idea was proposed by Merlijn Boogerd (@mboogerd) in 2017 as #303.
Coursier bootstrap
Giter8 0.12.0 also adds a bootstrap script for giter8-launcher generated using Coursier, and publishes to Maven Central as https://repo1.maven.org/maven2/org/foundweekends/giter8/giter8-bootstrap_2.12/0.12.0/giter8-bootstrap_2.12-0.12.0.sh. This could be locally saved as ~/bin/g8
.
Documentation in Korean
Earlier this year (2019), documentation was translated to Korean by Hamel Yeongho Moon (@hamelmoon) in #417 with review by @yoohaemin. Thanks!
Other updates
- Adds help description for
--out
option #391 by @anilkumarmyla - Replaces Scalasti dependency with StringTemplate #392 by @xuwei-k
- Switches to using Maven Central API #395 by @kounoike
- Fixes conditional file creation #432 by @ihostage
- Fixes how Giter8 deals with scripted test #408 by @renatocaval
- Switch from Apache HTTP client to
URL#openConnection
#441 - Lots of build upkeep by @xuwei-k
Special thanks to the contributors for making this release a success.
$ git shortlog -sn --no-merges v0.11.0...v0.12.0
50 kenji yoshida (xuwei-k)
11 Eugene Yokota (eed3si9n)
3 Yeongho Moon
2 Dale Wijnand
2 Renato Cavalcanti
1 Yuusuke Kounoike
1 Jentsch
1 Anil Kumar Myla
1 Sergey Morgunov
0.11.0
feature enhancements
- Adds support for sbt 1.0 #350 by @MasseGuillaume
- Adds support for
-o --out
#346 by @wolfendale - Adds
projectName
formatter #354 by @ChristopherDavenport - Adds
space
andpackage
formatting #380 by @gheine - Multiple formats on file and directory names #370 by @matt-wittmann
- Supports capture of multiline template parameters from command line #367 by @benhutchison
bug fixes and improvements
- Bumps to JGit 4.9.0.201710071750-r #353 by @takezoe
- Prints filename of template that erred #355 by @benhutchison
- Fixes usage text #357 by @sunghyunzz
- Adds example for conditional files #374 by @notmu
- Copies scaffolds in g8 and g8Test #376 by @takezoe
- Fixes default g8 home resolution #379 by @konopski
- and various upkeep by @xuwei-k like #377, #378, etc.
participation
Special thanks to the contributors for making this release a success.
$ git shortlog -sn --no-merges v0.10.0...master
12 xuwei-k
11 Michael Wolfendale
8 kenji yoshida
5 Eugene Yokota
2 Marconi Lanna
2 !μ
2 Ben Hutchison
2 Christopher Davenport
2 Gregor Heine
2 Naoki Takezoe
1 Lukasz Konopski
1 Chris Davenport
1 Sunghyun Hwang
1 Guillaume Massé
1 Matt Wittmann
0.10.0
conditionals
Starting Giter8 0.10.0, all fields have a property named truthy
to be used in conditional expressions.
"y"
, "yes"
, and "true"
evaluate to true
; anything else evaluates to false
.
$if(scala212.truthy)$
scalaVersion := "2.12.3"
$elseif(scala211.truthy)$
scalaVersion := "2.11.11"
$else$
scalaVersion := "2.10.6"
$endif$
verbatim arguments uses gitignore
Giter8 0.10.0 supports .gitignore
format for the verbatim
field, such as /foo/**/*.html
.
#324 by @iPomme and #341 by @wolfendale
improvements and fixes
- Code up keep by @xuwei-k and @Philippus
notes
Special thanks to the contributors for making this release a success. According to git shortlog -sn --no-merges v0.9.0...master
, compared to 0.9.0, there were 13 (non-merge) commits, by nine contributors: Kenji Yoshida (xuwei-k), Marconi Lanna, Michael Wolfendale, Artyom Artemyev, Philippus Baalman, Sanjiv Sahayam, Nicolas Jorand, Eugene Yokota, and Matt Kantor. Thank you!
0.9.0
0.9.0 rolls back refactoring changes that went into 0.8.0 since it introduced many regressions.
improvements
fixes
0.8.0
enhancements
- Adds back git tag support. #267 by @foxmk
- Adds
-d some-directory/template
option for templates in a subdirectory. #269 by @lachatak - Adds support to configure Maven repository location using file
$G8_HOME/mvnrepo
. #271 by @konopski - Adds optional
baseDirectory
parameter torun
. #278 by @cunei - Adds support to look for only the stable version from Maven Central e.g.
maven(org.scalatest, scalatest_2.12, stable)
. #275 by @ssanj
improvements and fixes
- Refactoring work by @foxmk and @xuwei-k
- Fixes Giter8 not picking up GitHub default branch. #263 by @foxmk
- Restores
-f
flag. #277 by @foxmk
notes
Special thanks to the contributors for making this release a success. According to git shortlog -sn --no-merges v0.7.2..0.8.x
, compared to 0.7.2, there were 66 (non-merge) commits, by seven contributors: Artyom Artemyev, Kenji Yoshida, Sanjiv Sahayam, Antonio Cunei, Krisztian Lachata, Eugene Yokota, and Lukasz Konopski. Thank you!
0.7.2
minor enhancements and fixes
- Adds logback as dependency. #220 by @padilo
- Snake format will now change hyphen to underscore. #245 by @eed3si9n
- Fixes access to private repos. #248 by @patrick-premont
- Copies executable attributes when copying
file://
. #249 by @kirillsablin
0.7.1
0.7.0
new management and Apache v2
This is the first release since the development is passed on to
foundweekends project.
- We've relicensed Giter8 under Apache v2 license after contacting
previous contributors and getting their approvals. #194 - Organization name is changed to
org.foundweekends.giter8
. - The sbt plugins were renamed to
sbt-giter8
andsbt-giter8-scaffold
. - Created Pamflet documentation.
bug fixes and improvements
- Better error handling when templates do not compile. #193 by @njlg
- Supports Git URLs that start with
ssh://
. #192 by @njlg - Fixes sbt-giter8 not expanding dynamic default properties. #165 by @sattvik
ls(..)
property is dropped. #201 by @eed3si9n
root layout
Giter8 0.7.0 introduces an experimental layout called root layout.
When Giter8 does not find src/main/g8
, it will simply use the root directory
of the specified Git repository as the template directory.
The default.properties
file can be placed either at the root directory
or in project
directory.
This also means that you can no longer include template fields in the files
under project
, so the application of root layout is pretty limited. #202 by @eed3si9n
upgrade
If you're using conscript:
cs foundweekends/giter8