Skip to content

Latest commit

 

History

History
620 lines (455 loc) · 33.4 KB

CHANGELOG.md

File metadata and controls

620 lines (455 loc) · 33.4 KB

Changelog

Upcoming

apollo-language-server

  • apollo-language-server
    • Stop loadConfig from looking up the tree when a --config location is defined #1059
    • Refactored/documented/tested loadConfig #1059
    • Add .vue file support for codegen:generate #1160

apollo-codegen-flow@0.32.11

  • apollo-codegen-flow@0.32.11
    • remove leading empty lines from generated code #1127

apollo@2.6.2

  • apollo@2.6.2
    • fix remoteUrl(remove slug) for service:check #1121

apollo-graphql@0.2.0

  • apollo-graphql@0.2.0
    • Change the sortAST algorithm to sort fragments at the top-level of the DocumentNode, providing a more deterministic normalization of the operation for use by apollo-engine-reporting (which consumes this package's defaultOperationRegistrySignature function). This will more correctly combine operations for Engine reporting. This also adds a defaultOperationRegistrySignature function for use by the apollo-server-plugin-operation-registry plugin to eventually consume. #1112

apollo@2.6.1, apollo-env@0.4.0

  • apollo@2.6.1
    • JSON flag for service:check output #1079
  • apollo-env@0.4.0
    • Add environment-aware createHash function to apollo-env #1110

apollo@2.6.0, apollo-env@0.3.4, apollo-language-server@1.5.3, apollo-codegen-flow@0.32.9, apollo-codegen-scala@0.33.5, apollo-codegen-swift@0.32.9, apollo-codegen-typescript@0.32.10, apollo-graphql@0.1.2

  • apollo@2.6.0
    • Use generated Typescript types via client:codegen #1016
    • Remove default --tag=current for some client commands that used it #1062
    • Add missing dependency @oclif/errors #1068
    • Include targetUrl in the output of the service:check command #1072
    • Import apollo-env utility types directly instead of treating them as globals #1074
    • Add --markdown output option to service:check #1072
  • apollo-env@0.3.4
    • Import apollo-env utility types directly instead of treating them as globals #1074
  • apollo-language-server@1.5.3
    • Import apollo-env utility types directly instead of treating them as globals #1074
  • apollo-codegen-flow@0.32.9
    • Add missing dependencies @babel/generator, common-tags #1071
  • apollo-codegen-scala@0.33.5
    • The keyword "type" is escaped when generating scala.js via client:codegen #1066
    • Add missing dependencies @babel/generator, common-tags #1071
  • apollo-codegen-swift@0.32.9
    • Add missing dependencies @babel/generator, common-tags #1071
  • apollo-codegen-typescript@0.32.10
    • Add missing dependencies @babel/generator, common-tags #1071
  • apollo-graphql@0.1.2
    • Expand the graphql peer dependency range of apollo-graphql to also include 0.13.x and 0.12.x in addition to 14.x, since the apollo-graphql package is relied upon by apollo-server-core which specifies those requirements itself. #1076

apollo-language-server@1.5.2, vscode-apollo@1.5.2

  • apollo-language-server@1.5.2
    • fix single apollo.config breaking others loaded at the same time #1055
    • Fix broken fileSet.includesFile to use full filepath #1055
  • vscode-apollo@1.5.2

apollo@2.5.2, apollo-language-server@1.5.1, vscode-apollo@1.5.1

  • apollo@2.5.2
    • Fix a bug where tagging a build will cause the tool to not be able to figure out where the git repo is #944
    • Re-enable logging for codegen when in watch mode #1039
  • apollo-language-server@1.5.1
    • Added a warning when there are 0 files found in a project #1007
    • Allow relative paths in includes/excludes globs #1007
  • vscode-apollo@1.5.1
    • Updated marketplace readme, color schemes, and icon to be prettier #942

apollo-codegen-typescript@0.32.7, apollo-codegen-scala@0.33.2, apollo-graphql@1.0.2

  • apollo-codegen-typescript@0.32.7
    • Add /* eslint-disable */ in generated files header #1017
  • apollo-codegen-scala@0.33.2
    • Fix types sometimes being emitted with fields that don't match the underlying data #1008
  • apollo-graphql@1.0.2
    • Move apollo-graphql package from apollo-server to apollo-tooling

apollo@2.5.0, apollo-language-server@1.5.0, vscode-apollo@1.5.0

  • apollo@2.5.0
    • Support validation parameters for service:check #953
    • Leverage nullability of validation parameters #1006
    • Unpin graphql version #1010
  • apollo-language-server@1.5.0
    • Better error handling in ApolloEngineClient #953
    • Fix language server mis-reporting client identity for schema loading operation #940
    • Unpin graphql version #1010
  • vscode-apollo@1.5.0
    • Fix inline graphql highlighting in Vue <script> tags #981
    • Fix graphql comments not being highlighted correctly #907

apollo@2.4.4, apollo-codegen-scala@0.33.0

  • apollo@2.4.4
    • remove schemaDiff and change types from code/exports #967
  • apollo-codegen-scala@0.33.0
    • Generate additional case-class like APIs for data containers #943

apollo-env@0.3.1

  • apollo-env@0.3.1
    • Fix core-js dependency by pinning to 3.0.0-beta.3 #961

apollo-language-server@1.4.1

  • apollo-language-server 1.4.1
    • Fix edge case for empty operations #959

apollo@2.4.1

  • apollo 2.4.1
    • Bump the apollo-engine-reporting version #950

apollo@2.4.0, apollo-language-server@1.4.0, vscode-apollo@1.4.1

  • apollo 2.4.0
    • Fix configuration loading and schema tag support #925
    • Improve client:check output #934
  • apollo-language-server 1.4.0
    • Replace checkOperations mutation with new validateOperations mutation #934
    • Include config files into a project's fileSet #897
    • Add hook into workspace for communicating out when configs are loaded or when errors are found #897
    • Add fn to workspace for reloading a project with a given config URI #897
    • Reload project when config file is changed #897
    • Update error handling from within the server (send as message). This message can be listened for and handled by the consumer #897
  • vscode-apollo 1.4.1
    • Update statusBar to reflect new possible "warning" states #897

apollo@2.3.1

  • apollo@2.3.1
    • Fixed path building issues on Windows #917

apollo@2.3.0

  • apollo@2.3.0
    • Fixed filesystem issues on Windows #810
    • Fixed codegen for Scala users #686
  • vscode-apollo@1.4.0
    • Added a status bar action to show service stats in client projects #840
    • Added monorepo support for multiple projects open at once #840
  • apollo-language-server@1.3.0
    • Added listener for getStats to provide service stats for extensions #840

apollo@2.1.9

  • apollo@2.1.9
    • Add fallback for git branch calculation #871

apollo@2.1.8

  • apollo@2.1.8
    • Pass correct headers to Client Project #790
    • Fix header parsing #790
    • Added --tagName flag #793
  • apollo-language-server@1.1.8
    • Load the env file earlier during configuration in order to infer the service name before it's required #815
  • vscode-apollo@1.2.8
  • @apollographql/apollo-tools@0.2.9 Pass directives from schema modules through buildServiceDefinition #715

apollo@2.1.7

  • apollo@2.1.7
    • Allow --no-addTypename #758
  • apollo-language-server@1.1.7
    • Use tagName from config to extract documents. #769
    • Fix --key flag/env variable precendece to prefer env variable when present #770
  • vscode-apollo@1.2.7

apollo@2.1.6

  • apollo@2.1.6
  • apollo-language-server@1.1.6
    • Associate *.gql files with graphql language in GraphQLProject #740
  • vscode-apollo@1.2.6
    • Pin event-stream version to 3.3.4 within vscode-apollo commit

apollo@2.1.5

  • apollo@2.1.5
  • apollo-language-server@1.1.5
    • Fix Empty 'errors' list in introspection #741
  • vscode-apollo@1.2.5

apollo@2.1.4

  • apollo@2.1.4
    • Restore skipSSLValidation flag #735
    • Stop excluding object and list literals from operation manifests. #738
  • apollo-language-server@1.1.4
    • Fix go to definition when a local schema file is provided #727
  • vscode-apollo@1.2.4

apollo@2.1.3

  • apollo@2.1.3
    • Support localSchemaFile flag to push to a service from local schema #710
    • Fix to allow fragment-only documents in codegen #707
    • Add support for queries, includes, and excludes flags for codegen #733
  • vscode-apollo@1.2.3
    • Create Apollo output channel commit
  • apollo-language-server@1.1.3
    • Fix edge case when no config is provided #734

apollo@2.1.1

  • apollo@2.1.1
  • vscode-apollo@1.2.1
  • apollo-language-server@1.1.1
    • Allow custom config locations #699
    • Fix swallowing of errors from Engine #705
  • apollo-codegen-core@0.30.1
    • Warn on GraphQL parser exceptions #642

apollo@2.1.0

  • apollo@2.1.0
    • Fix incorrect error code in cli #691
  • apollo-language-server@1.1.0
    • Added Python operation extraction #693
    • Fix column offset for editor error annotations #692
  • vscode-apollo@1.2.0
    • Added Python support for vscode #694

apollo@2.0.17

  • apollo@2.0.17
  • apollo-language-server@1.0.14
    • Updated code comments commit -vscode-apollo@1.1.12

apollo@2.0.16

  • apollo@2.0.16
    • Fixed codegen message printing number of generated files #682
  • apollo-language-server@1.0.13
  • vscode-apollo@1.1.11
    • Updated readme with correct links #689
    • Updated package.json with correct name and description commmit

apollo@2.0.15

  • apollo@2.0.15
  • apollo-language-server@2.0.15
    • Fixed incorrect client identifier commit -vscode-apollo@1.1.9

apollo@2.0.14

  • apollo@2.0.14
  • apollo-language-server@1.0.11
    • Add apollo config for CI checks commit
  • vscode-apollo@1.1.8
    • Add watch command before launching extension in dev mode commit

apollo@2.0.13

  • apollo@2.0.13
    • add alias to service:download from schema:download commit

apollo@2.0.12

  • apollo@2.0.12
    • added alias to service:check from schema:check commit
    • Add support for localSchemaFile in client config #676
  • apollo-language-server@1.0.10
  • vscode-apollo@1.1.7

apollo@2.0.11

  • apollo@2.0.11
  • apollo-language-server@1.0.9
  • vscode-apollo@1.1.6

apollo@2.0.10

  • apollo@2.0.10
  • vscode-apollo@1.1.5
  • @apollographql/apollo-tools
    • Add apollo-env dependency

apollo@2.0.9

  • apollo@2.0.9
    • Respect --endpoint and --headers flags for client:* commands commit
  • apollo-language-server@1.0.7
    • Fixed handling of missing client or client.service config key commit
    • Fixed issue of trying to load engine data when there's no API key commit
  • vscode-apollo@1.1.4

apollo@2.0.8

  • apollo@2.0.8
    • Fixed issue with package lockfile commit

apollo@2.0.7

  • apollo@2.0.7
  • apollo-language-server@1.0.5
    • Fix mutations to engine for schema uploads & operation registration commit
  • vscode-apollo@1.1.2

apollo@2.0.6

  • apollo@2.0.6
  • apollo-language-server@1.0.4
    • Changed engine queries to use me field instead of service to look up services commit
  • vscode-apollo@1.1.1

apollo@2.0.5

  • apollo@2.0.5
    • Fix schema tag diagnostics
    • Provide ability to go from sdl to operations via references commit
  • vscode-apollo@1.1.0

apollo@2.0.4

  • apollo@2.0.4
    • Fixed config to only use service name from the correct key types commit
    • Adjust priority of engine api key parsing to prefer flag over env key commit

apollo@2.0.3

  • apollo@2.0.3
    • Fallback to using the engine service from the api key if not specified in configs commit
  • vscode-apollo@1.0.3

apollo@2.0.2

  • apollo@2.0.2
    • fixed missing dotenv dependency #663
  • vscode-apollo@1.0.2

apollo@2.0.1

  • apollo@2.0.1
    • Added better errors around missing services
    • Updated config documentation
    • Fixed failures with missing service name

🎉 apollo@2.0.0 🎉

NOTE: Many of the updates and changes in this release came from a complete rebuild of the Apollo CLI in preparation for GraphQL summit. Many of these changes can be traced to this commit but aren't tied to a specific pull request, and won't be linked.

  • apollo@2.0.0
    • 🚀 Features
      • queries:register to register operations with the apollo platform #621
      • Update graphql to version 14 #624
      • Supports a .env file for engine API keys commit
    • 🐛 Fixes & Changes
      • Fixed config file resolution #591
    • 💥 Breaking Changes
      • Introduced a new apollo.config.js format commit
      • Changed format of queries:extract manifest to be more extensible #611
      • Changed manifest hash encoding to SHA-256 instead of SHA-512 #611
      • Deprecated apollo schema:*, and codegen:* commands and aliased usage to new commands
        • apollo codegen:generate aliases to apollo client:codegen
        • apollo schema:check aliases to apollo service:check
        • apollo schema:download aliases to apollo service:download (added 2.0.13)
        • apollo schema:publish aliases to apollo service:push
        • apollo plugins:add aliases to apollo plugins:install
        • apollo plugins:unlink and apollo plugins:remove aliases to apollo plugins:uninstall
      • Removed apollo queries:* commands
        • apollo client:check should be used in place of apollo queries:check
        • apollo client:extract should be used in place of apollo queries:extract
      • Deprecated --queries flag in client commands in place of the --includes flag
  • apollo-language-server@1.0.0
    • Initial release of apollo-language-server to support vscode-apollo, and apollo
    • Supports editor features for...
      • Autocompletion of GraphQL documents
      • Hover information for fields anr arguments
      • Type definitions and references
      • Code lenses for open files
  • vscode-apollo@1.0.0
    • Initial Release of vscode-apollo
    • Switching of schema tags #632
    • Supports all of the editor features exposed by apollo-language-server

apollo@1.9.2

  • apollo@1.9.2
    • Fixed codegen issues listed below
  • apollo-language-server@0.1.10
    • Fixed version of vscode-languageserver to follow a stable version instead of next
  • apollo-codegen-swift@0.28.1
    • Fixed swift enums to conform to Hashable #578
  • apollo-codegen-core@0.28.1
    • Fixed mergeInFieldsFromFragmentSpreads when flag isn't specified #537

apollo@1.9.1

  • apollo@1.9.1
    • Fixes formatting of the schema:download response to match previous codegen schemas #573

apollo@1.9.0

  • apollo@1.9.0
    • Added queries:extract command to write a manifest of client queries #553

v1.8.3

  • apollo
  • apollo-codegen-swift
    • Treat mergeInFieldsFromFragmentSpreads as false in Swift codegen when flag isn't specified. Fixes #537. @martijnwalraven)

v1.7.1

🚀 Feature

  • apollo-codegen-typescript
    • #535 [TS] Sort global types so order is not determined by order of appearance (@danilobuerger)

🐛 Bug Fix

  • apollo-codegen-typescript
    • #544 Prepend ./ to TS relative paths to make them valid, Closes #543 (@shadaj)
  • apollo-cli
    • #534 Allow to run apollo codegen:generate --watch on non tty devices (@trojanowski)

Committers: 3

v1.7.0

🚀 Feature

  • apollo-language-server, apollo-vscode
    • #536 Display status of loading tasks for config and Engine stats (@shadaj)
  • apollo-cli
    • #533 Fall back to other methods of schema loading when one fails (@shadaj)
  • apollo-cli, apollo-codegen-typescript
    • #525 [TS] Elimate newlines at beginning of file and add newline at end of file (@danilobuerger)
  • apollo-cli, apollo-codegen-core
    • #526 Scan all files for queries and reduce use of default endpoints (@shadaj)
  • apollo-cli, apollo-codegen-typescript, common-test
  • apollo-codegen-typescript

🐛 Bug Fix

  • apollo-cli, apollo-language-server, apollo-vscode
    • #519 [VSCode] Fix detection of projects inside folders (@shadaj)
  • apollo-cli

📝 Documentation

Committers: 3

v1.6.0

🚀 Feature

  • apollo-language-server
  • apollo-language-server, apollo-vscode
    • #515 Fix missing descriptions and add more hover information for arguments (@shadaj)
  • apollo-cli, apollo-codegen-core, apollo-language-server, apollo-vscode-webview, apollo-vscode
    • #512 React UI for webviews, fix file tracking and fragment spreads (@shadaj)
  • apollo-cli, apollo-language-server, apollo-vscode
    • #508 Support jumping to definitions in schema (@shadaj)

📝 Documentation

🏠 Internal

  • apollo-cli, apollo-language-server
    • #506 Share validation logic between CLI and language server (@shadaj)

Committers: 2

v1.5.0

🚀 Feature

  • apollo-language-server, apollo-vscode
  • apollo-cli, apollo-codegen-core
    • #497 Load config from apollo.config.js or package.json (@shadaj)

🏠 Internal

  • apollo-cli
    • #492 Make TypeScript options more consistent across packages (@shadaj)

Committers: 1

v1.4.0

🚀 Feature

  • apollo-cli
    • #484 Support file watching for codegen:generate (@shadaj)
    • #490 Assume the output is a directory when it has no extension (@shadaj)
    • #485 Support loading server-side schema from JS/TS files (@shadaj)
    • #483 Support generating based on .graphql schema files (@shadaj)

🐛 Bug Fix

  • apollo-cli, apollo-codegen-core
    • #488 Handle cases when storing server-defined models in local state (@shadaj)

🏠 Internal

  • apollo-cli

Committers: 1

v1.3.0

🚀 Feature

  • apollo-cli, apollo-codegen-core
    • #480 Initial support for client-side schemas (@shadaj)

🏠 Internal

  • apollo-cli, apollo-codegen-core, apollo-codegen-flow-legacy, apollo-codegen-flow, apollo-codegen-scala, apollo-codegen-swift, apollo-codegen-typescript-legacy, apollo-codegen-typescript
    • #479 Run build before publishing to prevent uploading stale code (@shadaj)

Committers: 1

v1.2.0

🚀 Feature

🐛 Bug Fix

  • apollo-cli, apollo-codegen-core
    • #465 Improve typing of options and add more codegen tests (@shadaj)
    • #464 Command-level unit tests for codegen (@shadaj)
  • apollo-cli
    • #470 Restore ability to put generated files in a directory relative to source (@mike-marcacci)
    • #457 Allow legacy targets to be used when manually specified (@shadaj)
  • apollo-codegen-flow
    • #461 Change generated flow files extension to .js instead of .ts (@TLadd)

📝 Documentation

  • apollo-cli

🏠 Internal

  • Other
    • #477 Add lerna-changelog to manage generating changelogs (@shadaj)
  • apollo-cli, apollo-codegen-core
    • #465 Improve typing of options and add more codegen tests (@shadaj)
    • #464 Command-level unit tests for codegen (@shadaj)

Committers: 5

Legacy Apollo Codegen Changelog

v0.20.2

  • The TypeScript and Flow targets now use block comments to better handle multiline comments in schemas
  • Fix crash when running on a version of Node that already supports Array.flatMap

v0.20.1

  • Fix issue with flow-legacy target being unusable

v0.20.0

  • BREAKING: The typescript and flow targets now refer to the modern implementations. The deprecated legacy targets are available under typescript-legacy and flow-legacy.
  • BREAKING: The --output parameter to the CLI is now required for all targets.
  • The TypeScript and Flow targets now support outputting types to either a single file or a directory, where types for each query will be separated