elm-upgrade icon indicating copy to clipboard operation
elm-upgrade copied to clipboard

Package renames for Elm 0.19

Open avh4 opened this issue 6 years ago • 15 comments

If you know of any packages that will be renamed when publishing for Elm 0.19, comment below.

Included in elm-upgrade-0.19.0-rc2

  • [x] NoRedInk/elm-decode-pipeline -> NoRedInk/json-decode-pipeline
  • [x] evancz/url-parser -> elm-lang/url

Included in elm-upgrade-0.19.0-rc6

  • [x] lukewestby/elm-http-builder -> lukewestby/http-builder
  • [x] evancz/elm-markdown -> elm-explorations/markdown
  • [x] elm-tools/parser -> elm-lang/parser

Included in elm-upgrade-0.19.0-rc9

  • [x] mgold/elm-random-pcg -> elm-lang/random
  • [x] ohanhi/keyboard-extra -> ohanhi/keyboard
  • [x] ryannhg/elm-date-format -> ryannhg/date-format
  • [x] elm-community/elm-test -> elm-explorations/test
  • [x] evancz/url-parser -> elm/url
  • [x] elm-tools/parser -> elm/parser

Included in elm-upgrade-0.19.0

  • [x] thebritican/elm-autocomplete -> ContaSystemer/elm-menu
  • [x] elm-community/linear-algebra -> elm-explorations/linear-algebra
  • [x] elm-community/webgl -> elm-explorations/webgl
  • [x] elm-lang/keyboard -> elm/browser
  • [x] elm-lang/dom -> elm/browser
  • [x] mpizenberg/elm-mouse-events -> mpizenberg/elm-pointer-events
  • [x] mpizenberg/elm-touch-events -> mpizenberg/elm-pointer-events

Included in elm-upgrade-0.19.2

  • [x] rtfeldman/hex -> rtfeldman/elm-hex
  • [x] elm-lang/mouse -> elm/browser
  • [x] avh4/elm-transducers -> avh4-experimental/elm-transducers
  • [x] dillonkearns/graphqelm -> dillonkearns/elm-graphql

Included in elm-upgrade-0.19.3

  • [x] elm-lang/navigation -> elm/browser
  • [x] BrianHicks/elm-benchmark -> elm-explorations/benchmark

Included in elm-upgrade-0.19.4

  • [x] elm-lang/window -> elm/browser

More

  • [ ] elm-lang/core#Color -> avh4/elm-color
  • [ ] 1602/json-value -> json-tools/json-value
  • [ ] 1602/json-schema -> json-tools/json-schema
  • [ ] 1602/elm-feather -> feathericons/elm-feather
  • [ ] mgold/elm-date-format -> ???

These are planned, but aren't published under the new name yet:

  • [ ] avh4/elm-meshes -> elm-community/meshes

avh4 avatar May 10 '18 16:05 avh4

BrianHicks/elm-benchmark -> elm-explorations/benchmark

BrianHicks avatar May 10 '18 17:05 BrianHicks

elm-community/linear-algebra -> elm-explorations/linear-algebra elm-community/webgl -> elm-explorations/webgl evancz/elm-markdown -> elm-explorations/markdown

lukewestby avatar May 10 '18 17:05 lukewestby

elm-tools/parser -> elm-lang/parser

ejames avatar May 10 '18 20:05 ejames

Published more in 0.19.0-rc6, and updated the issue description; I'm not going to add ones that don't have the 0.19 package published yet--lmk as there are more updates!

avh4 avatar May 11 '18 02:05 avh4

I renamed ohanhi/keyboard-extra to ohanhi/keyboard

ohanhi avatar May 17 '18 08:05 ohanhi

ryannhg/elm-date-format -> ryannhg/date-format

ryan-haskell avatar May 20 '18 22:05 ryan-haskell

Published more in 0.19.0-rc9, and updated the issue description

avh4 avatar May 27 '18 19:05 avh4

elm-lang/* -> elm/*

Also, versions changed!

timjs avatar May 29 '18 12:05 timjs

@avh4 i decided not to rename http-builder after all. it's just lukewestby/elm-http-builder 6.0.0 now

lukewestby avatar Jun 28 '18 16:06 lukewestby

@avh4 these have been published:

elm-community/linear-algebra -> elm-explorations/linear-algebra
elm-community/webgl -> elm-explorations/webgl

w0rm avatar Aug 12 '18 19:08 w0rm

rtfeldman/hex -> rtfeldman/elm-hex

Malax avatar Aug 23 '18 12:08 Malax

dillonkearns/graphqelm 11.2.0 -> dillonkearns/elm-graphql 1.1.0

This also means that all instances of Graphqelm. in people's source code should change to Graphql.. I'm not sure if there's find-and-replace magic happening for module names in source code in elm-upgrade, just thought I'd mention it in case there is!

dillonkearns avatar Aug 29 '18 18:08 dillonkearns

Published [email protected] with the latest renames.

avh4 avatar Aug 31 '18 01:08 avh4

[email protected] and later will now produce a checklist of things the user needs to check after elm-upgrade is done. For example:

- NoRedInk/elm-json-decode-pipeline
  - [ ] Changes uses of Json.Decode.Pipeline.decode to Json.Decode.succeed
- dillonkearns/elm-graphql
  - [ ] Changes references to Graphqelm.* to Graphql.*
- elm/core
  - [ ] Replace uses of toString with String.fromInt, String.fromFloat, or Debug.toString as appropriate
- elm/html
  - [ ] If you used Html.program*, install elm/browser and switch to Browser.element or Browser.document
  - [ ] If you used Html.beginnerProgram, install elm/browser and switch Browser.sandbox
- elm/time
  - [ ] Read the new documentation here: https://package.elm-lang.org/packages/elm/time/latest/
  - [ ] Replace uses of Date and Time with Time.Posix
- elm/url
  - [ ] Change code using UrlParser.* to use Url.Parser.*

If there are checklist items that should be added for any of the renamed packages, please make a new issue for each package, thanks!

(If there are new package renames to add, you can still comment with them in this issue.)

avh4 avatar Sep 03 '18 20:09 avh4

Due to elm compiler bug I had to rename all my packages:

1602/json-value -> json-tools/json-value 1602/json-schema -> json-tools/json-schema 1602/elm-feather -> feathericons/elm-feather

1602 avatar Sep 25 '18 09:09 1602